.rehabilitation-block {
  background: #4596FF;
  padding: 30px 0;
  position: relative;
  overflow: hidden;
}
.rehab-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.rehab-content {
  flex: 1 1 420px;
  min-width: 320px;
  color: #fff;
}
.rehab-title {
  max-width: 1200px;
  font-size: 38px;
  font-weight: 800;
  font-style: italic;
  color: #fff;
  padding: 120px 0 30px 0;
  text-transform: uppercase;
}
.rehab-desc {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 32px;
  color: #fff;
  max-width: 500px;
}
.rehab-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
}
.rehab-benefit {
  background: #FFD600;
  color: #222;
  border-radius: 16px;
  padding: 12px 24px 12px 16px;
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 16px;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.rehab-check {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.rehab-image {
  position: relative;
  width: 300px;
  height: 300px;
  transform: skew(-9deg);
}
@media (max-width: 900px) {
  .rehab-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .rehab-image {
    max-width: 100%;
    width: 100%;
  }
}
@media (max-width: 600px) {
  .rehab-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
  }
  .rehab-image-wrap {
    order: 1;
    width: 100vw;
    max-width: 100vw;
    border-radius: 0;
    transform: none;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .rehab-image {
    width: 100vw;
    max-width: 100vw;
    height: auto;
    min-height: 180px;
    object-fit: cover;
    border-radius: 0;
    transform: none;
    display: block;
  }
  .rehab-content {
    order: 2;
    padding: 20px 20px 0 20px;
  }
  .rehab-title {
    font-size: 28px;
    padding: 120px 0 30px 10px;
  }
  .rehab-benefit {
    font-size: 14px;
    padding: 10px 16px 10px 10px;
  }
}

.phases-block {
  background: #232323;
  padding: 100px 0;
}
.phases-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (max-width: 1115px) {
  .phases-container {
    max-width: 900px;
  }
}
@media (max-width: 1023px) {

  .social-reviews-grid {
    display: flex;
    flex-direction: column;
  }
}
.phase-item {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 0;
}
.phase-item.reverse {
  flex-direction: row-reverse;
}
.phase-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin-top: 8px;
}
.phase-content {
  flex: 1 1 0;
  color: #fff;
}
.phase-title {
  font-size: 22px;
  font-weight: 800;
  font-style: italic;
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
}
.phase-desc {
  font-size: 15px;
  color: #fff;
  margin-bottom: 0;
}
.phase-image-wrap {
  position: relative;
  width: 320px;
  min-width: 220px;
  max-width: 340px;
  aspect-ratio: 16/10;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  transform: skew(-4deg, -2deg);
}
.phase-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.phase-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(255, 214, 0, 0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.phase-play svg {
  width: 28px;
  height: 28px;
  fill: #232323;
}


@media (max-width: 992px) {
  .phases-container {
    gap: 48px;
  }
  .phase-item, .phase-item.reverse {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  .phase-image-wrap {
    order: 1;
    width: 100%;
    max-width: 100%;
    min-width: initial;
    transform: none;
    border-radius: 12px;
    height: 350px;
  }
  .phase-content {
    order: 2;
    padding: 0 10px;
  }
  .phase-arrow {
    display: none;
  }
  .phase-title {
    font-style: normal;
    font-size: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .phase-title::before {
    content: ">";
    font-family: monospace;
    font-weight: bold;
    color: #ffd600;
    font-size: 40px;
  }
  .phase-desc {
    font-size: 20px;
    line-height: 1.5;
  }
}
@media (max-width: 600px) {
  .phases-block {
    padding: 28px 15px 28px 0;
  }
  .phase-title {
    font-size: 20px;
  }
  .phase-desc {
    font-size: 16px;
  }
  .phase-image-wrap {
    border-radius: 10px;
  }
  .phase-play {
    width: 38px;
    height: 38px;
  }
  .phase-play svg {
    width: 18px;
    height: 18px;
  }
}

.video-block {
  width: 100vw;
  min-height: 400px;
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-block__bg {
  width: 100vw;
  min-height: 730px;
  background: url('../image/back-video.png') center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0 60px 0;
}
.video-block__content {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.video-block__title {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 28px;
  font-weight: 800;
  font-style: italic;
  text-align: center;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.video-block__placeholder {
  width: 720px;
  height: 360px;
  background: #D8D8D8;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  cursor: pointer;
  position: relative;
  transition: box-shadow 0.2s;
}
.video-block__placeholder:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.video-block__play {
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  align-items: center;
  justify-content: center;
}
.video-modal.active {
  display: flex;
}
.video-modal__bg {
  position: absolute;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.7);
}
.video-modal__content {
  position: relative;
  background: none;
  border-radius: 8px;
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 2;
}
.video-modal__close {
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 8px;
  z-index: 3;
}
.video-modal__video {
  width: 70vw;
  max-width: 800px;
  height: 40vw;
  max-height: 450px;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  z-index: 2;
}
@media (max-width: 900px) {
  .video-block__placeholder {
    width: 90vw;
    height: 50vw;
    min-width: 180px;
    min-height: 100px;
    max-width: 420px;
    max-height: 220px;
  }
  .video-modal__video {
    width: 96vw;
    height: 54vw;
    max-width: 100vw;
    max-height: 60vw;
  }
  .video-block__title {
    font-size: 18px;
  }
  .video-block__bg {
    padding: 24px 0 16px 0;
  }
}
@media (max-width: 500px) {
  .video-block__title {
    font-size: 13px;
  }
  .video-block__placeholder {
    min-width: 120px;
    min-height: 70px;
  }
}

.requirements-block-timeline {
  background: #FFD600;
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.requirements-timeline-bg {
  width: 100vw;
  min-height: 420px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.requirements-timeline-centered-vertical {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.requirements-timeline-title {
  color: #232323;
  font-size: 32px;
  font-weight: 800;
  font-style: italic;
  text-align: center;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.timeline-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
}
.timeline-arrow {
  margin-bottom: 0;
  z-index: 2;
}
.timeline-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
  margin-top: 12px;
}
.timeline-list::before {
  content: '';
  position: absolute;
  top: -22px; /* высота стрелки */
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: calc(100% - 44px);
  background: #232323;
  border-radius: 4px;
  z-index: 0;
}
.timeline-item {
  display: grid;
  grid-template-columns: 420px 100px 420px;
  align-items: center;
  gap: 0;
  margin-bottom: 32px;
  width: auto;
  position: relative;
}
.timeline-label {
  font-size: 22px;
  font-weight: 800;
  color: #232323;
  text-transform: uppercase;
  min-width: 220px;
  text-align: right;
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.1;
  padding-right: 16px;
}
.timeline-step {
  justify-self: center;
  width: 44px;
  height: 44px;
  background: #232323;
  color: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  z-index: 1;
  position: relative;
}
.timeline-desc {
  font-size: 18px;
  color: #232323;
  max-width: 420px;
  text-align: left;
  min-width: 220px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.4;
  padding-left: 16px;
}
@media (max-width: 1100px) {
  .timeline-item {
    grid-template-columns: 300px 100px 300px;
  }
  .timeline-label, .timeline-desc {
    font-size: 16px;
    min-width: 80px;
    max-width: 220px;
    padding: 0 4px;
  }
  .timeline-step {
    width: 28px;
    height: 28px;
    font-size: 15px;
  }
}
@media (max-width: 700px) {
  .requirements-timeline-title {
    font-size: 18px;
    margin-bottom: 18px;
  }
  .timeline-item {
    grid-template-columns: 40px 20px 40px;
  }
  .timeline-label, .timeline-desc {
    font-size: 10px;
    min-width: 0;
    max-width: 40px;
    padding: 0 2px;
  }
  .timeline-step {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }
}

.timeline-steps-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}
.timeline-row-vertical {
  display: grid;
  grid-template-columns: 220px 44px 420px;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
  width: auto;
  position: relative;
}
.timeline-label {
  font-size: 22px;
  font-weight: 800;
  color: #232323;
  text-transform: uppercase;
  text-align: left;
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.1;
  padding-right: 16px;
}
.timeline-step {
  justify-self: center;
  width: 44px;
  height: 44px;
  background: #232323;
  color: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  z-index: 2;
  position: relative;
}
.timeline-desc {
  font-size: 18px;
  color: #232323;
  max-width: 420px;
  text-align: left;
  min-width: 220px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 400;
  line-height: 1.4;
  padding-left: 16px;
}
@media (max-width: 900px) {
  .timeline-row-vertical {
    grid-template-columns: 80px 28px 120px;
  }
  .timeline-item {
    grid-template-columns: 230px 100px 230px;
  }
  .timeline-label, .timeline-desc {
    min-width: 0;
    padding: 0 4px;
  }
  .timeline-step {
    font-size: 15px;
  }
}
@media (max-width: 600px) {
  .timeline-row-vertical {
    grid-template-columns: 40px 20px 40px;
  }
  .timeline-label, .timeline-desc {
    font-size: 14px;
    min-width: 0;
    padding: 0 2px;
  }
  .timeline-step {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
}

.prices-section {
  background: #232323;
  padding: 56px 0 56px 0;
  text-align: center;
}
.prices-section__title {
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  font-style: italic;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.prices-section__cards {
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 700px;
  margin: 0 auto 40px auto;
}
.price-card {
  background: #4ea3ff;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  min-height: 220px;
  transform: skew(-6deg);
  overflow: hidden;
  position: relative;
}
.price-card__img {
  flex: 0 0 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #222;
  min-height: 220px;
  max-width: 220px;
}
.price-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.price-card__content {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 32px 32px 32px 32px;
  background: none;
  transform: skew(6deg);
}
.price-card__row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 18px;
}
.price-card__title {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.price-card__price {
  color: #FFD600;
  font-size: 24px;
  font-weight: 800;
  text-align: right;
  margin-left: 24px;
}
.price-card__desc {
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  text-align: left;
  margin-bottom: 0;
}
.price-card__list {
  margin: 12px 0 0 0;
  padding-left: 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  text-align: left;
}
.price-card__list li {
  margin-bottom: 4px;
  list-style: disc;
}
.prices-section__btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.prices-section__btn {
  background: #2563eb;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border-radius: 8px;
  padding: 18px 48px;
  text-decoration: none;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.prices-section__btn:hover {
  background: #1d4ed8;
}
@media (max-width: 900px) {
  .prices-section__cards {
    max-width: 83vw;
  }
  .price-card {
    flex-direction: column;
    min-height: 0;
    transform: skew(-3deg);
  }
  .price-card__img {
    max-width: 100vw;
    min-height: 140px;
    height: 140px;
  }
  .price-card__content {
    padding: 18px 12px 18px 12px;
    transform: skew(3deg);
  }
}

.quiz-btn {
  background: #999999;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  border: none;
  border-radius: 4px;
  padding: 18px 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.quiz-btn.selected {
  background: #FFD600 !important;
  color: #232323 !important;
}

.quiz-btn.not-selected {
  background: #999999 !important;
  color: #fff !important;
}

.quiz-btn:disabled {
  cursor: default;
  opacity: 1;
}
@media (max-width: 600px) {
  .prices-section__title {
    font-size: 19px;
  }
  .price-card__title {
    font-size: 15px;
  }
  .price-card__price {
    font-size: 16px;
  }
  .price-card__desc, .price-card__list {
    font-size: 12px;
  }
  .prices-section__btn {
    font-size: 13px;
    padding: 10px 18px;
  }
}

.training-section {
  background: #FFD600;
  padding: 48px 0 48px 0;
  text-align: center;
}
.training-section__title {
  color: #232323;
  font-size: 28px;
  font-weight: 800;
  font-style: italic;
  margin-bottom: 36px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.training-cards {
  display: flex;
  flex-direction: row;
  gap: 48px;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
.training-card {
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  width: 340px;
  transition: transform 0.15s;
  position: relative;
}
.training-card:hover {
  transform: translateY(-6px) scale(1.03);
}
.training-card__img {
  width: 340px;
  height: 260px;
  border-radius: 8px;
  overflow: hidden;
  background: #232323;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.training-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.training-card__caption {
  color: #232323;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
  text-align: left;
  width: 100%;
  padding-left: 2px;
}
.training-card__arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.training-card__arrow svg {
  display: block;
}
@media (max-width: 900px) {
  .training-cards {
    flex-direction: column;
    gap: 28px;
    max-width: 98vw;
  }
  .training-card {
    width: 98vw;
    max-width: 400px;
    margin: 0 auto;
  }
  .training-card__img {
    width: 100%;
    height: 48vw;
    max-height: 220px;
  }
}
@media (max-width: 600px) {
  .training-section__title {
    font-size: 16px;
  }
  .training-card__caption {
    font-size: 12px;
  }
  .training-card__img {
    max-height: 120px;
  }
}

.blog-details__hero {
  position: relative;
  width: 100vw;
  min-height: 563px;
  max-height: 563px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.blog-details__hero-img {
  position: absolute;
  left: 0; top: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.blog-details__hero:after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 100vw;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.32) 100%);
  z-index: 2;
}
.blog-details__hero-content {
  margin: 0;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 48px 0;
  width: 100%;
  text-align: left;
}
.blog-details__date-bg {
  display: inline-block;
  background: #FFD600;
  color: #232323;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 3px;
  padding: 7px 18px 6px 18px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  transform: skew(-12deg);
}
.blog-details__date-bg {
  position: relative;
  left: 0;
  top: 0;
}
.blog-details__hero-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 36px;
  font-weight: 800;
  font-style: italic;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.13;
  letter-spacing: 0.01em;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.18);
  word-break: break-word;
}
@media (max-width: 900px) {

  .blog-details__hero-content {
    padding: 0 0 24px 16px;
    max-width: 98vw;
  }
  .blog-details__hero-title {
    font-size: 20px;
  }
}
@media (max-width: 600px) {

  .blog-details__hero-content {
    padding: 0 0 20px 20px;
  }
  .blog-details__date-bg {
    font-size: 14px;
    padding: 4px 10px 3px 10px;
    margin-bottom: 8px;
  }
  .blog-details__hero-title {
    font-size: 24px;
  }
}

.blog-details-section {
  background: #232323;
  padding: 30px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}
.blog-details-section__text {
  max-width: 1200px;
  color: #eaeaea;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 400;
  margin: 0 auto;
}
.blog-details-section__text p {
  margin: 0 0 18px 0;
}
.blog-details-section__subtitle {
  font-size: 24px;
  font-weight: 800;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
  font-style: normal;
  padding: 30px 0 0 0;
}
h1.blog-details-section__subtitle {
  font-size: 2em;
}
h2.blog-details-section__subtitle {
  font-size: 1.5em;
}

h3.blog-details-section__subtitle {
  font-size: 1.25em;
}

h4.blog-details-section__subtitle {
  font-size: 1.1em;
}

h5.blog-details-section__subtitle {
  font-size: 1em;
}

h6.blog-details-section__subtitle {
  font-size: 0.875em;
}

.blog-details-section__img {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.blog-details-section__img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
@media (max-width: 900px) {
  .blog-details-section__text, .blog-details-section__img {
    max-width: 98vw;
    padding-left: 8px;
    padding-right: 8px;
  }

}
@media (max-width: 600px) {

  .blog-details-section__text {
    font-size: 20px;
    padding: 0 2px;
  }

}

.double-photo-block {
  background: #232323;
  padding: 60px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.double-photo-wrapper {
  max-width: 100%;
  width: 100%;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}

.double-photo-img {
  width: 48%;
  max-width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  background: #232323;
  display: block;
}
@media (max-width: 900px) {
  .double-photo-wrapper {
    flex-direction: row;
    gap: 10px;
  }
  .double-photo-img {
    width: 48%;
    max-width: 48vw;
    height: 32vw;
  }
  .full-width-photos .double-photo-wrapper {
    flex-direction: column;
    gap: 2px;
  }
  .full-width-img {
    width: 98vw;
    max-width: 98vw;
    height: 40vw;
  }
  .photo-blog-details .blog-details-section__img {
    width: 100%;
    max-width: 98vw;
  }
}

.review-section {
  padding: 48px 0 32px 0;
  color: #eaeaea;
  font-family: 'Montserrat', Arial, sans-serif;
  max-width: 1200px;
  margin: 0 auto 0 auto;
}
.review-section__title {
  font-size: 24px;
  font-weight: 800;
  font-style: italic;
  color: #fff;
  margin-bottom: 24px;
  margin-top: 0;
  text-align: left;
}
.review-section__text {
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 18px;
  text-align: left;
}
.review-quote-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 36px 0 36px 0;
}
.review-quote-mark {
  color: #2d9cff;
  font-size: 64px;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  margin: 0 12px;
  user-select: none;
}
.review-quote-text {
  max-width: 340px;
  text-align: center;
  color: #fff;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.review-quote-text p {
  margin: 0 0 12px 0;
}
.review-quote-author {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-top: 8px;
}
.review-section__tags {
  color: #bdbdbd;
  font-size: 15px;
  font-style: italic;
  margin-top: 32px;
  border-top: 2px solid #444;
  text-align: left;
  display: block;
  width: 100%;
  padding-top: 30px;
}
@media (max-width: 900px) {
  .review-section {
    padding: 24px 0 18px 0;
    max-width: 98vw;
  }
  .review-quote-block {
    gap: 12px;
    margin: 24px 0 24px 0;
  }
  .review-quote-mark {
    font-size: 36px;
    margin: 0 4px;
  }
  .review-quote-text {
    font-size: 18px;
    max-width: 98vw;
  }
  .review-section__title {
    font-size: 16px;
  }
  .review-section__tags {
    font-size: 12px;
    padding-top: 6px;
  }
}

.blog-section-title {
  color: #fff;
  font-size: 36px;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  text-align: center;
  margin: 48px 0 32px 0;
  letter-spacing: 0.01em;
}
@media (max-width: 900px) {
  .blog-section-title {
    font-size: 22px;
    margin: 24px 0 18px 0;
  }
}

.features-block {
  background: #232323;
  padding: 32px 0 24px 0;
  width: 100%;
}
.features-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.features-description {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 32px;
  max-width: 900px;
}
.features-grid {
  display: flex;
  flex-direction: row;
  gap: 48px;
  justify-content: flex-start;
  align-items: flex-start;
}
.features-col {
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.features-label {
  color: #bdbdbd;
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.features-value {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
@media (max-width: 900px) {
  .features-grid {
    flex-direction: column;
    gap: 24px;
  }
  .features-col {
    min-width: 0;
    gap: 10px;
  }
  .features-description {
    font-size: 15px;
    margin-bottom: 18px;
  }
}

.benefits-block {
  background: #FFD600;
  padding: 36px 0 32px 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.benefits-video-row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 50px;
  box-sizing: border-box;
}
.benefits-arrow {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.benefits-video-placeholder {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16/9;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.benefits-play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.benefits-content {
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.benefits-title {
  color: #232323;
  font-size: 24px;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 18px;
}
.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}
.benefits-list li {
  color: #232323;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.benefits-check {
  display: inline-block;
  width: 35px;
  height: 35px;
  background: url('data:image/svg+xml;utf8,<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="22" height="22" rx="4" fill="%23232323"/><path d="M6 12.5L9.5 16L16 8.5" stroke="%23FFD600" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center center/cover no-repeat;
  margin-right: 8px;
  flex-shrink: 0;
  margin-top: 2px;
}
@media (max-width: 900px) {
  .benefits-video-row {
    gap: 10px;
  }
  .benefits-arrow {
    width: 36px;
    height: 36px;
  }
  .benefits-video-placeholder {
    width: 98vw;
    max-width: 320px;
    height: 28vw;
    min-height: 90px;
  }
  .benefits-title {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .benefits-list li {
    font-size: 13px;
    margin-bottom: 7px;
  }
}

.benefits-list li {
  font-size: 16px;
  margin-bottom: 25px;
  align-items: center;
}

.blog-title-center {
  width: 100%;
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  font-style: italic;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-top: 150px;
}

.shop-cart-section {
    padding: 60px 0;
}

.shop-cart-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    padding: 0 20px;
    position: relative;
}

.shop-cart-container:after {
    content: '';
    position: absolute;
    right: 360px;
    top: 0;
    height: 100%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.shop-cart-items {
    flex: 1;
    margin-right: 60px;
}

.shop-cart-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    margin-bottom: 2px;
    position: relative;
}

.shop-cart-remove {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    opacity: 0.7;
    transition: opacity 0.2s;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.shop-cart-remove:hover {
    opacity: 1;
}

.shop-cart-item-image {
    width: 50px;
    height: 50px;
    margin-left: 40px;
}

.shop-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-cart-item-title {
    flex-grow: 1;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin-left: 20px;
    text-transform: uppercase;
}

.shop-cart-item-price {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin-left: auto;
}

.shop-cart-item-old-price {
    color: rgba(255, 255, 255, 0.3);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-decoration: line-through;
    position: absolute;
    right: 20px;
    bottom: 10px;
}

.shop-cart-summary {
    width: 300px;
    flex-shrink: 0;
    padding-left: 60px;
}

.shop-summary-title {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.shop-summary-row {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    margin-bottom: 15px;
}

.shop-summary-row.shop-total {
    color: #fff;
    font-weight: 500;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.shop-pay-button {
    width: 100%;
    background: #FFD600;
    color: #000;
    border: none;
    padding: 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin: 30px 0 20px;
    text-transform: uppercase;
}

.shop-back-to-shopping {
    color: rgba(255, 255, 255, 0.3);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .shop-cart-container {
        flex-direction: column;
        gap: 40px;
    }

    .shop-cart-container:after {
        display: none;
    }

    .shop-cart-items {
        margin-right: 0;
    }

    .shop-cart-summary {
        width: 100%;
        padding-left: 0;
    }

    .shop-cart-item-image {
        width: 40px;
        height: 40px;
        margin-left: 30px;
    }

    .shop-cart-item-title {
        font-size: 12px;
    }

    .shop-cart-item-price {
        font-size: 14px;
    }
}

.rd-center {
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (max-width: 992px) {
  .blog-title-center {
    padding-top: 100px;
    font-size: 28px;
  }

  .terms-header {
    margin-top: 20px;
  }

  .terms-header-content {
    padding: 20px;
  }

  .terms-header-text {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
  }

  .terms-header-image .about-me-image {
    height: auto;
  }
}

@media (max-width: 768px) {
  .blog-title-center {
    font-size: 24px;
  }
  .terms-header-text {
    padding: 0 15px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 330px);
        padding: 0;
        gap: 25px;
        justify-content: center;
    }
}

.rd-padding {
  padding: 100px 0px;
}


.rehab-cards-section {
  background: #232323;
  padding: 60px 0;
  display: flex;
  justify-content: center;
}
.rehab-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 36px;
  max-width: 1200px;
  width: 100%;


}
.rehab-card {
  background: #4596FF;
  color: #fff;
  border-radius: 12px;
  padding: 32px 28px 28px 28px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  min-height: 180px;
  position: relative;
  font-family: 'Montserrat', Arial, sans-serif;
  transform: skew(-6deg);
}
.rehab-card-icon {
  width: 48px;
  height: 48px;
  background: #232323;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
}
.rehab-card-icon img {
  width: 28px;
  height: 28px;
}
.rehab-card-title {
  font-size: 18px;
  font-weight: 800;
  font-style: italic;
  color: #fff;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.rehab-card-desc {
  font-size: 15px;
  color: #fff;
  font-weight: 400;
}
@media (max-width: 900px) {
  .rehab-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 20px;
  }
  .rehab-card {
    padding: 20px 14px 18px 14px;
    min-height: 0;
  }
  .rehab-card-title {
    font-size: 15px;
  }
  .rehab-card-desc {
    font-size: 12px;
  }
}

.hero-button.course{
  margin: inherit;
  margin-top: 25px;
}

.for-whom-section {
  background: #FFD600;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: 50px 0 100px 0;
  position: relative;
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 90%);
}
.for-whom-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.for-whom-title {
  font-size: 28px;
  font-weight: 800;
  font-style: italic;
  color: #232323;
  text-align: center;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.for-whom-desc {
  color: #232323;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 18px;
  max-width: 700px;
}
.for-whom-arrow {
  margin: 0 auto 18px auto;
  display: flex;
  justify-content: center;
}
.for-whom-arrow img {
  width: 38px;
  height: 38px;
  display: block;
}
.for-whom-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}
.for-whom-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
}
.for-whom-icon {
  width: 38px;
  height: 38px;
  background: #232323;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.for-whom-icon img {
  width: 22px;
  height: 22px;
}
.for-whom-item-title {
  font-size: 16px;
  font-weight: 700;
  color: #232323;
  margin-bottom: 2px;
}
.for-whom-item-desc {
  font-size: 15px;
  color: #232323;
  font-weight: 400;
}
.for-whom-btn-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 18px;
}
.for-whom-btn {
  background: #4596FF;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border-radius: 8px;
  padding: 16px 38px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  transition: background 0.2s;
  border: none;
  display: inline-block;
}
.for-whom-btn:hover {
  background: #2563eb;
}
@media (max-width: 600px) {

  .for-whom-title {
    font-size: 18px;
  }
  .for-whom-desc {
    font-size: 12px;
  }
  .for-whom-arrow img {
    width: 24px;
    height: 24px;
  }
  .for-whom-list {
    gap: 10px;
    margin-bottom: 16px;
  }
  .for-whom-item-title {
    font-size: 12px;
  }
  .for-whom-item-desc {
    font-size: 10px;
  }
  .for-whom-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
  }
  .for-whom-icon img {
    width: 14px;
    height: 14px;
  }
  .for-whom-btn {
    font-size: 12px;
    padding: 8px 18px;
  }
}

@media (max-width: 1200px) {
  .rehab-cards-grid{
    padding: 0 30px;
  }
  .benefits-block{
    padding: 50px 50px;
  }
}


@media (max-width: 1024px) {
  .benefits-block {
    padding: 40px 10px;
    box-sizing: border-box;
  }
  .benefits-video-row {
    padding: 0;
    margin: 0 auto 30px auto;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: auto;
    justify-content: center;
  }
  .benefits-video-placeholder {
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    height: auto;
    aspect-ratio: 16/9;
    box-sizing: border-box;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 600px) {
  .benefits-block {
    padding: 24px 2vw;
  }
  .benefits-video-row {
    padding: 0;
    margin: 0 auto 18px auto;
    max-width: 100vw;
  }
  .benefits-video-placeholder {
    width: 100%;
    max-width: 98vw;
    min-width: 0;
    height: auto;
    aspect-ratio: 16/9;
    box-sizing: border-box;
  }
}

.course-information-section {
  background: #232323;
  padding: 60px 0;

  gap: 36px;
}


.course-information-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 36px auto;
}
.course-information-block-reverse {
  display: flex;
  flex-direction: revert;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 50px auto;
}
.course-information-text {
  flex: 1 1 0;
  color: #fff;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.course-information-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
}
.course-information-icon img {
  width: 32px;
  height: 32px;
  display: block;
}
.course-information-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.course-information-title {
  font-size: 22px;
  font-weight: 800;
  font-style: italic;
  color: #FFD600;
  text-transform: uppercase;
}
.course-information-desc {
  font-size: 15px;
  color: #fff;
  font-weight: 400;
}
.course-information-video {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.course-information-video-thumb {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  background: #232323;
  display: flex;
  align-items: center;
  justify-content: center;
}
.course-information-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.course-information-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  cursor: pointer;
}
@media (max-width: 900px) {

  .course-information-text, .course-information-video {
    max-width: 98vw;
  }
  .course-information-video-thumb {
    max-width: 98vw;
    border-radius: 8px;
  }
  .course-information-title {
    font-size: 18px;
  }
  .course-information-desc {
    font-size: 13px;
  }
}


@media (max-width: 1200px) {

  .course-information-section{
    padding: 50px 30px;
  }
}

@media (max-width: 768px) {
  .course-information-block, .course-information-block-reverse {
    flex-direction: column;
    gap: 18px;
    max-width: 98vw;
    margin-bottom: 24px;
  }
  .course-information-block-reverse {
    flex-direction: column-reverse !important;
  }
}

.hero-text-wrap {
  max-width: 800px;
  width: 100%;
  word-break: break-word;
}

.custom-offer-section {
  background: #232323;
  padding: 60px 0;
  gap: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.custom-offer-container {
  display: flex;
  align-items: stretch;
  max-width: 1100px;
  width: 100%;
  gap: 0;
  background: none;
  margin: 0 auto;
}

.custom-offer-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform: skew(-7deg);
  background: #232323;
}
.custom-offer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 350px;
  min-width: 320px;
  max-width: 420px;
}

.custom-offer-content {
  flex: 1 1 0;
  background: #4596FF;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  transform: skew(-7deg);
}

.custom-offer-title {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  font-style: italic;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  transform: skew(7deg);
}

.custom-offer-underline {
  width: 100%;
  height: 2px;
  background: #fff;
  opacity: 0.7;
  margin-bottom: 40px;
}

.custom-offer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  transform: skew(7deg);
}
.custom-offer-list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
}
.custom-offer-check {
  width: 32px;
  height: 32px;
  background: url('data:image/svg+xml;utf8,<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="32" height="32" rx="6" fill="%23FFD600"/><path d="M10 18.5L15 23L23 13" stroke="%234596FF" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') center center/cover no-repeat;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .custom-offer-container {
    flex-direction: column;
    align-items: stretch;
    max-width: 98vw;
  }
  .custom-offer-image {
    flex: none;
    min-height: 220px;
    max-height: 260px;
    width: 100%;
    transform: skew(-6deg);
    margin-bottom: 0;
  }
  .custom-offer-image img {
    min-height: 220px;
    min-width: 0;
    max-width: 100vw;
    width: 100%;
    height: 100%;
  }
  .custom-offer-content {
    padding: 22px 12px 22px 12px;
  }
  .custom-offer-title, .custom-offer-list, .custom-offer-list li {
    transform: skew(3deg);
  }
}

@media (max-width: 600px) {

  .custom-offer-content {
    padding: 12px 4vw 12px 4vw;
  }
  .custom-offer-title {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .custom-offer-check {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 1279px) {
  .custom-offer-container {
    max-width: 900px;
    margin: 0 auto;
  }
  .custom-offer-list li{
    font-size: 16px;
  }
  .custom-offer-title{
    font-size: 24px;
  }

}


@media (max-width: 1000px) {
  .custom-offer-container {
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
  }
  .custom-offer-image {
    flex: none;
    min-height: 220px;
    max-height: 260px;
    width: 100%;
    transform: skew(0deg);
    margin-bottom: 0;
  }
  .custom-offer-image img {
    min-height: 220px;
    min-width: 0;
    max-width: 100vw;
    width: 100%;
    height: 100%;
  }
  .custom-offer-content {
    padding: 22px 12px 22px 12px;
    transform: skew(0deg);
  }
  .custom-offer-title, .custom-offer-list, .custom-offer-list li {
    transform: skew(0deg);
  }
}

.dp-none {
  display: none;
}

.cart-popup {
  display: none;
}
.cart-popup.active {
  display: block;
}

.rehab-courses-container {

  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.courses-block {
  padding: 60px 0;
}

.courses-grid.con-rehabilitation {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}


@media (max-width: 1100px) {
  .courses-grid.con-rehabilitation {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .courses-grid.con-rehabilitation {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.course-buy {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 18px 16px 16px 16px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
} 


@media (max-width: 422px) {
  .title-with-lines h2 {
    font-size: 20px;
  }
}

.course-title-link,
.course-title-link h3 {
  text-decoration: none;
  color: inherit;
}

.start-button {
  display: block;
  margin: 16px auto 0 auto;
  text-align: center;
  text-decoration: none !important;
  /* ваши стили кнопки */
}

.course-image img {
  display: block;
  width: 100%;

}

/* Две фотографии на всю ширину контейнера */
.full-width-photos .double-photo-wrapper {
  flex-direction: column;
  gap: 2px;
}
.full-width-img {
  width: 100%;
  max-width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  background: #232323;
  display: block;
}
@media (max-width: 900px) {
  .full-width-img {
    width: 98vw;
    max-width: 98vw;
    height: 40vw;
  }
}

.photo-blog-details{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.blog-details-section__img{
  width: 100%;
}

.video-blog-details{
  background: #232323;
}
.video-blog-details .container {
  max-width: 1200px;
  width: 100%;
  padding: 60px 16px;
}
.double-video-wrapper {
  display: flex;
  width: 100%;
  gap: 2%;
  justify-content: space-between;
  align-items: center;
}
.double-video-iframe {
  width: 49%;
  max-width: 100%;
  height: 440px;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  background: #232323;
  border: none;
  display: block;
}
.blog-details-section__video {
  width: 100%;
  margin-top: 32px;
}
.full-width-video-iframe {
  width: 100%;
  max-width: 100%;
  height: 483px;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  background: #232323;
  border: none;
  display: block;
}
@media (max-width: 900px) {
  .double-video-wrapper {
    flex-direction: row;
    gap: 2%;
    width: 100%;
  }
  .double-video-iframe {
    width: 49%;
    max-width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    min-width: 0;
    min-height: 0;
  }
  .full-width-video-iframe {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    min-width: 0;
    min-height: 0;
    margin-top: 18px;
  }
  .video-blog-details {
    padding-bottom: 24px;
  }
}

.blog-text-block{
  flex-direction: column;
}

.text-left .review-section__title{
  align-items: flex-start;
}

.bg-color-block{
  background-color: #1C1C1C;
  padding-bottom: 60px;
}




.quiz-blue-bg {
  background: #4da3ff;
  padding: 40px 0;
  margin: 60px 0 100px 0;
}

.quiz-container {
  display: block;
  margin: 0 auto;
  text-align: center;
}

.quiz-title {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: 1px;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  justify-items: center;
}

.quiz-btn {
width: 100%;
background: #ffe000;
color: #222;
font-weight: 700;
font-size: 20px;
border: none;
border-radius: 4px;
padding: 18px 0;
cursor: pointer;
transition: background 0.2s;
}

.quiz-btn.selected {
background: #FFD600 !important;
color: #232323 !important;
}

.quiz-btn.not-selected {
background: #999999 !important;
color: #fff !important;
}

.quiz-btn:disabled {
cursor: default;
opacity: 1;
}

.course-categories {
display: flex;
flex-wrap: wrap;
gap: 12px;
justify-content: flex-start;
align-items: center;
width: 100%;
box-sizing: border-box;
}

.category-btn {
flex: 0 1 auto;
/* Можно добавить min-width или max-width при необходимости */
}

/* Адаптив для планшетов и телефонов */
@media (max-width: 900px) {

.category-btn {
  font-size: 14px;
  padding: 8px 14px;
}
}

@media (max-width: 768px) {
.course-categories {
  gap: 6px;

}
.category-btn {
  font-size: 12px;
  padding: 6px 10px;
}
}

@media (max-width: 768px) {
.course-categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 16px;
  width: 100%;
}

.category-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

}

.category-btn {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}

@media (max-width: 370px) {
.course-categories {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 10px;
  width: 100%;
}

}

@media (max-width: 1024px) {
.quiz-title {
  font-size: 24px;
}

.quiz-btn{
  font-size: 16px;
  font-weight: 600;
}
}


@media (max-width: 768px) {
.quiz-options{
  display: grid;
  grid-template-columns: 1fr;  
}
.quiz-title{
  font-size: 20px;
}

.quiz-btn{
  font-size: 14px;
  font-weight: 600;
}
}


@media (max-width: 700px) {

.timeline-item {
  grid-template-columns: 170px 90px 170px;
}
}

@media (max-width: 480px) {
.timeline-item {
  grid-template-columns: 130px 130px 130px;
}
}

@media (max-width: 440px) {
.timeline-item {
  grid-template-columns: 100px 100px 100px;
}
}



.coolicon-decor {
  position: absolute;
  top: -103px;
  left: 850px;
  right: 0;
  z-index: 3;
  width: 160px;
  height: auto;
  pointer-events: none;
}
@media (max-width: 1199px) {
.coolicon-decor {
  top: -153px;
  left: 750px;
  right: 0;
  width: 160px;
  height: auto;
}
}
.contact-form-wrapper {
  position: relative;
}

@media (max-width: 1120px) {
.coolicon-decor {
  display: none;
}
}




