/* hero */

.hero {
  display: flex;
  gap: 24px;
  height: 650px;
  padding-top: 80px;
  padding-bottom: 40px;
}

.hero__content {
  background-color: var(--background);
  padding: 24px;
  border-radius: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  width: calc(100% / 12 * 8);
}

.hero__photo {
  height: 100%;
  width: calc(100% / 12 * 4);
  object-fit: cover;
  border-radius: 24px;
  overflow: hidden;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.hero__subtitle {
  padding-bottom: 8px; 
}

.hero__title {
  padding-bottom: 24px; 
}

.hero__description {
  width: 436px;
}

.hero__button {
  margin-top: auto;
  width: fit-content;
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    padding-top: 20px;
    flex-direction: column;
  }
  
  .hero__button {
    width: 100%;
  }

  .hero__description {
    width: 100%;
  }
  
  .hero__content {
    width: 100%;
    min-height: 450px;
    gap: 24px;
    padding: 16px;
    position: relative;
    background-image: var(--hero-mobile-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
  }

  .hero__content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }

  .hero__content > * {
    position: relative;
    z-index: 2;
  }

  .hero__subtitle {
    color: var(--white);
  }

  .hero__title {
    color: var(--white);
  }

  .hero__description {
    color: var(--white);
  }

  .hero__photo {
    display: none;
  }
}

/* About section */
.about {
  background-color: var(--white);
  padding: 80px 0;
}

.about__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}

.about__title {
  color: var(--black);
}


.about__content {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.about__photo {
  max-width: 461px;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__photo_mobile {
  display: none;
}

.about__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 32px;
}

.about__button {
  width: fit-content;
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about__card {
  background-color: var(--background);
  padding: 24px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about__question {
  color: var(--black);
}

.about__description {
  color: var(--black);
  white-space: pre-line;
}

.about__features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about__feature {
  padding: 12px 24px;
  border: 1px solid var(--accent-1);
  border-radius: 24px;
  color: var(--accent-1);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  white-space: nowrap;
}

/* Мобильные адаптации для about */
@media (max-width: 768px) {
  .about {
    padding: 16px 0 ;
  }
  
  .about__photo_desktop {
    display: none;
  }

  .about__photo_mobile {
    width: 100%;
    max-width: 100%;
    display: block;
  }
  
  .about__photo_mobile img {
    object-position: top;
  }
  
  .about__content {
    flex-direction: column;
    gap: 20px;
  }
  
  .about__info {
    padding-top: 0;
    gap: 20px;
  }
  
  .about__button {
    width: 100%;
  }
  
  .about__button .button {
    width: 100%;
    justify-content: center;
  }
  
  .about__card {
    padding: 16px;
    gap: 16px;
  }
  
  .about__features {
    gap: 8px;
  }
  
  .about__feature {
    padding: 8px 16px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .about {
    padding: 40px 0;
  }
  
  .about__content {
    gap: 24px;
  }
  
  .about__info {
    gap: 24px;
  }
  
  .about__card {
    padding: 16px;
    gap: 16px;
  }
  
  .about__feature {
    padding: 8px 16px;
    font-size: 14px;
  }
}

/* Services section */
.services {
  background-color: var(--white);
  padding: 80px 0;
}

.services__header {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 40px;
}

.services__title-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.services__title {
  color: var(--black);
}

.services__description {
  color: var(--black);
  flex: 1;
}

.services__cards {
  display: flex;
  gap: 24px;
}

.services__card {
  background-color: var(--background);
  padding: 24px;
  border-radius: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
  justify-content: space-between;
}

.services__card-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 192px;
  height: 192px;
  opacity: 0.1;
}

.services__card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.services__card-title {
  color: var(--black);
  line-height: 1.2;
}

.services__card-list {
  color: var(--black);
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.services__card-list li {
  position: relative;
  padding-left: 0;
}

/* Мобильные адаптации для services */
@media (max-width: 768px) {
  .services {
    padding: 40px 0;
  }
  
  .services__header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  
  .services__title-section {
    width: 100%;
  }
  
  .services__description {
    width: 100%;
  }
  
  .services__cards {
    flex-direction: column;
    gap: 16px;
  }
  
  .services__card {
    height: auto;
    padding: 16px;
    gap: 20px;
  }
  
  .services__card-icon {
    width: 120px;
    height: 120px;
  }
  
  .services__card-list {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .services {
    padding: 40px 0;
  }
  
  .services__cards {
    gap: 24px;
  }
  
  .services__card {
    padding: 16px;
    gap: 16px;
  }
  
  .services__card-icon {
    width: 80px;
    height: 80px;
  }
}

/* Product section */
.product {
  background-color: var(--accent-1);
  padding: 80px 0;
}

.product__header {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 40px;
}

.product__title-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product__title {
  color: var(--white);
}

.product__divider {
  background-color: var(--white);
}

.product__description {
  color: var(--white);
  flex: 1;
}

.product__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product__benefits {
  background-color: var(--white);
  padding: 24px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.product__benefits-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product__benefits-title {
  color: var(--black);
}

.product__toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  transition: background-color 0.3s ease;
}

.product__toggle img {
  width: 48px;
  height: 48px;
  transition: transform 0.3s ease;
}

.product__toggle_active {
  transform: rotate(180deg);
}


.product__benefits-text {
  color: var(--black);
}


.product__benefits-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 192px;
  height: 192px;
  opacity: 0.1;
}

.product__benefits-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product__bonuses {
  background-color: var(--white);
  padding: 24px;
  border-radius: 24px;
}

.product__bonuses-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product__bonuses-title {
  color: var(--black);
}

.product__pricing {
  display: flex;
  gap: 24px;
}

.product__pricing-card {
  background-color: var(--white);
  padding: 24px;
  border-radius: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product__pricing-title {
  color: var(--black);
}

.product__pricing-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.product__pricing-description {
  color: var(--black);
}

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

.product__pricing-price {
  display: flex;
  gap: 24px;
  align-items: center;
}

.product__pricing-button {
  width: fit-content;
}

.product__pricing-current {
  color: var(--black);
}

.product__pricing-old {
  color: var(--black);
  text-decoration: line-through;
}

/* Мобильные адаптации для product */
@media (max-width: 768px) {
  .product {
    padding: 40px 0;
  }

  .product__header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .product__title-section {
    width: 100%;
  }

  .product__description {
    width: 100%;
  }

  .product__content {
    gap: 16px;
  }
  
  .product__pricing-button {
    width: 100%;
  }

  .product__benefits,
  .product__bonuses,
  .product__pricing-card {
    padding: 16px;
  }

  .product__benefits-icon {
    width: 120px;
    height: 120px;
  }

  .product__pricing {
    flex-direction: column;
    gap: 16px;
  }

  .product__pricing-footer {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .product__pricing-price {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .product {
    padding: 40px 0;
  }
  
  .product__content {
    gap: 24px;
  }
  
  .product__benefits,
  .product__bonuses,
  .product__pricing-card {
    padding: 16px;
  }
  
  .product__benefits-icon {
    width: 80px;
    height: 80px;
  }
}

/* Reviews section */
.reviews {
  background-color: var(--white);
  padding: 80px 0;
}

.reviews__header {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 40px;
}

.reviews__title-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.reviews__title {
  color: var(--black);
}

.reviews__divider {
  background-color: var(--accent-1);
}

.reviews__description {
  color: var(--black);
  flex: 1;
}

.reviews__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.reviews__cards {
  display: flex;
  gap: 24px;
  width: 100%;
}

.reviews__button {
  width: fit-content;
}

/* Мобильные адаптации для reviews */
@media (max-width: 768px) {
  .reviews {
    padding: 40px 0;
  }
  
  .reviews__header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  
  .reviews__title-section {
    width: 100%;
  }
  
  .reviews__description {
    width: 100%;
  }
  
  .reviews__content {
    gap: 20px;
  }
  
  .reviews__cards {
    flex-direction: column;
    gap: 16px;
  }
  
  .reviews__button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .reviews {
    padding: 40px 0;
  }
  
  .reviews__content {
    gap: 24px;
  }
  
  .reviews__cards {
    gap: 24px;
  }
}
