/* Base */
* {
  box-sizing: border-box;
  overflow-x: hidden !important;
}

body {
  margin: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #000;
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Index (catalog) */
.section {
  padding: 40px 16px 60px;
  background: #000;
}

.section__header {
  max-width: 1200px;
  margin: 0 auto 18px;
}

.section__title {
  margin: 0 0 6px;
  font-size: clamp(1.8rem, 1vw + 1.5rem, 2.2rem);
}

.section__hint {
  color: #cfcfcf;
  font-weight: 600;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #111;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: block;
  min-height: 480px;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45);
}

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

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
      0deg,
      #1a1c21 0,
      rgba(25, 28, 33, 0.5) 50%,
      rgba(25, 28, 33, 0) 90%
    )
    50% no-repeat;
  z-index: 1;
}

.card__label {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}
.card__label img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 660px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .card {
    min-height: 0;
  }
  .card picture img {
    height: auto;
  }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand {
  font-family: 'Space Grotesk', 'Open Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 16px;
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
}

.nav-toggle__dots {
  display: inline-flex;
  gap: 5px;
}

.nav-toggle__dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.9;
}

.nav-toggle--open .nav-toggle__dots span {
  opacity: 1;
}

.nav__link {
  color: #f5f5f5;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.nav__link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav__link--cta {
  background: #df092c;
}

@media (max-width: 660px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
  }

  .nav-toggle:focus-visible {
    outline: 2px solid #df092c;
    outline-offset: 2px;
  }

  .header--open .nav-toggle {
    background: #df092c;
    border-color: #df092c;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    min-width: 180px;
    background: rgba(10, 10, 10, 0.95);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.45);
    z-index: 20;
  }

  .header--open .nav {
    display: flex;
  }

  .nav__link {
    width: 100%;
    text-align: left;
  }
}

/* Banner photo trilogy */
.banner-photo-trilogy,
.banner-ai {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  padding: 2rem 2rem 6rem;
  background-color: #000;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: linear-gradient(
    0deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.12) 55%,
    rgba(0, 0, 0, 0) 80%
  );
}

.banner-photo-trilogy__content,
.banner-ai__content {
  max-width: 780px;
  padding: 2rem;
  transform: translateY(10vh);
}

.banner-photo-trilogy__title,
.banner-ai__title {
  font-family: 'Space Grotesk', 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 3vw + 1rem, 3.4rem);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.banner-photo-trilogy__subtitle,
.banner-ai__subtitle {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.92);
}

.banner-photo-trilogy {
  min-height: 90vh;
  background-color: #000;
  background-image: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.4) 50%,
      rgba(0, 0, 0, 0) 75%
    ),
    url('img/trilogy/baner-trilogy.jpg');
  background-size: cover;
  background-position: center;
}

.banner-photo-trilogy__content {
  transform: translateY(12vh);
  padding: 0 1.5rem 3rem;
}

.banner-photo-trilogy__title {
  font-size: clamp(2.6rem, 4vw + 1rem, 3.8rem);
  letter-spacing: 0.04em;
}

.banner-photo-trilogy__subtitle {
  font-size: 1.05rem;
  color: #f5f5f5;
}

.grain-info {
  background: #000;
  padding: 60px 16px 80px;
  color: #f5f5f5;
}
.grain-info__inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 1.2fr) minmax(320px, 1fr);
  gap: 32px;
  align-items: center;
  padding: 75px;
  background: #171717;
  border-radius: 30px;
  box-sizing: border-box;
}
.grain-info__title {
  color: #e83ea2;
  font-size: clamp(1.8rem, 1vw + 1.4rem, 2.4rem);
  margin: 0 0 20px;
  font-weight: 700;
  background-image: linear-gradient(90deg, #ff6172, #ec2cd9 20%, #5606ef 100%);
  -moz-background-clip: text;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.grain-info__body {
  margin: 0;
  line-height: 1.6;
  color: #d6d6d6;
}
.grain-info__media {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 520px;
}
.grain-info__gif {
  width: 100%;
  max-width: 480px;
  display: block;
  border-radius: 18px;
  transition: opacity 0.2s ease;
}
.grain-info__placeholder {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: none;
}
.grain-info__pause {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  color: #f5f5f5;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.grain-info__pause:hover {
  background: rgba(0, 0, 0, 0.65);
}
.grain-info__media.paused .grain-info__gif {
  opacity: 1;
}
.grain-info__media.paused .grain-info__placeholder {
  display: none;
}

/* Info block */
.info-trilogy {
  background: #fff;
  color: #0c0c0c;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
  padding: 80px 24px 50px;
  margin-top: -1px;
}

.info-trilogy__inner {
  width: 90%;
  margin: 0 auto;
}

.info-trilogy__title {
  text-align: center;
  font-size: clamp(2rem, 1vw + 1.6rem, 2.4rem);
  font-weight: 600;
  margin-bottom: 60px;
}

.info-trilogy__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
}

.info-trilogy__item {
  text-align: center;
}

.info-trilogy__icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin: 0 auto 20px;
}

.info-trilogy__item-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 14px;
}

.info-trilogy__text {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 260px;
  margin: 0 auto;
  color: #2f2f2f;
}

.info-trilogy--dark {
  background: #000;
  color: #f5f5f5;
}
.info-trilogy--dark .info-trilogy__inner {
  background: #111;
  color: #f5f5f5;
  padding: 60px 32px;
  border-radius: 24px;
}
.info-trilogy--dark .info-trilogy__text {
  color: #d6d6d6;
  max-width: 100%;
  margin: 0;
}

@media (max-width: 1100px) {
  .info-trilogy__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .info-trilogy {
    padding: 60px 18px 80px;
  }
  .info-trilogy__inner {
    width: 95%;
  }
  .info-trilogy__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .info-trilogy__item-title {
    font-size: 1.08rem;
  }
  .info-trilogy__text {
    font-size: 0.98rem;
  }
}

/* Trailer */
.trailer {
  background: #000;
  padding: 40px 16px 45px;
  border-top-left-radius: 60px;
  border-top-right-radius: 60px;
}

.trailer__container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.trailer__video {
  width: 100%;
  display: block;
  height: auto;
}

.trailer__video::-webkit-media-controls-overlay-play-button,
.trailer__video::-webkit-media-controls-play-button {
  display: none !important;
}

.trailer__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  z-index: 2;
}

.trailer__play svg {
  width: 42px;
  height: 42px;
  fill: #fff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.trailer__play::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.trailer__play:hover {
  transform: scale(1.05);
  background: rgba(0, 0, 0, 0.65);
}

@media (max-width: 768px) {
  .trailer {
    padding: 60px 12px 70px;
  }
  .trailer__play {
    width: 82px;
    height: 82px;
  }
}

/* Bundle */
.bundle {
  background: #fff;
  color: #0c0c0c;
  padding: 70px 16px 90px;
}

.bundle__inner {
  width: 100%;
  max-width: 490px;
  margin: 0 auto;
}

.bundle__title {
  text-align: center;
  font-size: clamp(2rem, 1vw + 1.8rem, 2.6rem);
  font-weight: 0;
  margin: 0 0 36px;
}

.bundle__list {
  display: grid;
  gap: 18px;
}

.bundle__item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #e8ebef;
  border-radius: 14px;
  padding: 18px 22px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.bundle__item:hover {
  background: #e0e4e9;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.bundle__thumb {
  width: 170px;
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.bundle__text {
  font-size: 1.4rem;
  font-weight: 600;
}

@media (max-width: 540px) {
  .bundle {
    padding: 60px 12px 80px;
  }
  .bundle__inner {
    max-width: 100%;
  }
  .bundle__item {
    gap: 16px;
    padding: 16px 18px;
  }
  .bundle__thumb {
    width: 150px;
    height: 92px;
  }
  .bundle__text {
    font-size: 1.25rem;
  }
}

/* Curriculum */
.curriculum {
  background: #000;
  padding: 40px 24px 80px;
  color: #f5f5f5;
}

.curriculum__inner {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
}

.curriculum__header {
  text-align: center;
  margin-bottom: 28px;
}

.common-title,
.curriculum__title,
.faq__title,
.reco__title {
  text-align: center;
  color: #f5f5f5;
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(1.9rem, 1vw + 1.6rem, 2.4rem);
  font-weight: 700;
  margin: 0 0 10px;
}

.curriculum__title {
  margin-bottom: 6px;
}

.curriculum__subtitle {
  color: #cfcfcf;
  font-size: 0.95rem;
  margin: 0;
}

.curriculum__section-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: #2c2c2c;
  margin: 18px 0 10px;
}

.curriculum__list {
  display: grid;
  gap: 10px;
}

.curriculum__item {
  background: #191c21;
  border-radius: 10px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #f1f1f1;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.curriculum__item:nth-child(2n) {
  background: #1d2026;
}

.curriculum__item:hover {
  background: #272c33;
  transform: translateY(-1px);
}

.curriculum__item-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.curriculum__item-time {
  font-size: 0.95rem;
  color: #404040;
  white-space: nowrap;
  margin-left: 16px;
}

@media (max-width: 768px) {
  .curriculum {
    padding: 32px 16px 60px;
  }
  .curriculum__inner {
    width: 95%;
  }
  .curriculum__item {
    padding: 10px 12px;
  }
  .curriculum__item-title {
    font-size: 0.98rem;
  }
  .curriculum__item-time {
    font-size: 0.9rem;
  }
}

/* Learn */
.learn {
  background: #fff;
  padding: 70px 24px 110px;
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
  color: #0c0c0c;
}

.learn__inner {
  width: 90%;
  margin: 0 auto;
}

.learn__title {
  text-align: center;
  font-size: clamp(2rem, 1vw + 1.8rem, 2.6rem);
  font-weight: 700;
  margin-bottom: 50px;
  color: #0c0c0c;
}

.learn__highlight {
  color: #d20026;
}

.learn__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px 60px;
}

.learn__item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  color: #111;
}

.learn__badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #d20026;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(210, 0, 38, 0.28);
  margin-top: 4px;
}

.learn__text {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .learn {
    padding: 50px 20px 90px;
  }
  .learn__inner {
    width: 95%;
  }
  .learn__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 32px;
  }
}

@media (max-width: 640px) {
  .learn__grid {
    grid-template-columns: 1fr;
  }
  .learn__item {
    gap: 14px;
  }
  .learn__text {
    font-size: 1rem;
  }
}

/* Owner */
.owner {
  background: #000;
  padding: 0;
}

.owner__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  isolation: isolate;
}

.owner__glow {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 780px;
  width: 70%;
  aspect-ratio: 1 / 1;
  background: radial-gradient(
    circle,
    rgba(224, 24, 52, 0.4) 0%,
    rgba(224, 24, 52, 0.22) 30%,
    rgba(0, 0, 0, 0) 65%
  );
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
}

.owner__image {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
}

/* Offer / timer */
.offer {
  background: #000;
  padding: 70px 16px 90px;
}

.offer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  background: #191c21;
  border-radius: 18px;
  padding: 24px 28px;
}

.offer__timer {
  text-align: center;
  color: #fff;
  max-width: 520px;
  margin: 0 auto 50px;
}

.offer__title {
  margin-bottom: 20px;
  font-weight: 400;
  line-height: 1.15;
}

.timer-row {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: center;
  gap: 14px;
}

.timer-group {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.timer-digits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

.timer-box {
  width: 50px;
  height: 70px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  border-radius: 12px;
  background: linear-gradient(180deg, #b6122d 0%, #0c0c0c 100%);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4);
}

.timer-label {
  margin-top: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  opacity: 0.9;
  width: 100%;
}

.offer__card {
  background: #1c1c1e;
  border-radius: 14px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  align-items: center;
}

.offer__select {
  display: grid;
  gap: 10px;
}

.offer__label {
  font-size: 1.05rem;
  font-weight: 500;
  color: #d8d8d8;
}

.offer__select select {
  appearance: none;
  background: #131314;
  color: #fff;
  border: 2px solid #2f2f33;
  border-radius: 10px;
  padding: 14px 16px;
  width: 220px;
  font-size: 1.05rem;
  outline: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="22" viewBox="0 0 16 22" fill="white"><polygon points="8,4 3,9 13,9"/><rect x="3.5" y="10" width="9" height="1.4" fill="white" opacity="0.8"/><polygon points="8,18 3,13 13,13"/></svg>');
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 46px;
}

.offer__select select:focus {
  border-color: #df092c;
}

.offer__price {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
}

.offer__amount {
  background: #111;
  color: #fff;
  border-radius: 14px;
  padding: 16px 22px;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: 1.4rem;
  font-weight: 700;
}

.offer__btn {
  background: #df092c;
  color: #fff;
  border: none;
  padding: 16px 34px;
  border-radius: 14px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.offer__old {
  color: #8a8a8a;
  text-decoration: line-through;
  font-size: 1rem;
  display: inline-block;
  min-width: 60px;
  text-align: left;
}

@media (max-width: 900px) {
  .offer__inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .offer__price {
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .offer__card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .offer__select select {
    width: 100%;
  }

  .offer__price {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
  }

  .offer__amount,
  .offer__btn {
    flex: 1 1 140px;
  }

  .timer-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .timer-digits {
    width: 100%;
    gap: 3px;
  }

  .timer-box {
    width: 100%;
    height: clamp(44px, 12vw, 60px);
    font-size: clamp(1.1rem, 4vw, 1.6rem);
    border-radius: 10px;
  }

  .timer-label {
    margin-top: 6px;
    font-size: 0.85rem;
  }
}

/* FAQ */
.faq {
  background: #000;
  color: #f5f5f5;
  padding: 60px 16px 80px;
}

.faq__inner {
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq__title {
  text-align: center;
  font-size: clamp(1.8rem, 1vw + 1.5rem, 2.2rem);
  font-weight: 600;
  margin-bottom: 10px;
}

.faq__section-label {
  margin: 12px 0 2px;
  color: #cfcfcf;
  font-size: 0.95rem;
}

.faq__item {
  background: #1c1c1e;
  border-radius: 10px;
  padding: 14px 16px;
  transition: background 0.2s ease;
  color: #f1f1f1;
}

.faq__item:hover {
  background: #212124;
}

.faq__item-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: none;
  padding: 0;
  color: inherit;
  cursor: pointer;
}

.faq__item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.faq__question {
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0;
  color: #f5f5f5;
  text-align: left;
}

.faq__icon {
  width: 14px;
  height: 14px;
  position: relative;
  flex-shrink: 0;
  transform: rotate(0deg);
  transition: transform 0.2s ease;
}

.faq__icon:before,
.faq__icon:after {
  content: '';
  position: absolute;
  background: #c6c6c6;
  transition: transform 0.2s ease;
}

.faq__icon:before {
  width: 100%;
  height: 2px;
  top: 6px;
  left: 0;
}

.faq__icon:after {
  width: 2px;
  height: 100%;
  top: 0;
  left: 6px;
}

.faq__answer {
  margin-top: 8px;
  line-height: 1.6;
  font-size: 0.98rem;
  color: #dcdcdc;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq__item.is-open .faq__answer {
  max-height: 400px;
}

.faq__item--active {
  background: #2a2a2d;
}

.faq__item.is-open .faq__icon {
  transform: rotate(180deg);
}

@media (max-width: 640px) {
  .faq {
    padding: 50px 12px 60px;
  }
  .faq__inner {
    width: 95%;
  }
  .faq__question {
    font-size: 1rem;
  }
}

/* Reviews */
.reviews {
  background: #000;
  color: #fff;
  padding: 60px 16px 100px;
}

.reviews__inner {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.reviews__title {
  font-size: clamp(2.2rem, 1.4vw + 1.6rem, 2.8rem);
  font-weight: 700;
  margin: 0;
}

.reviews__list {
  display: grid;
  gap: 26px;
  padding-top: 14px;
  border-top: 1px solid #2d2d2d;
  width: 100%;
}

.review {
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-areas:
    'avatar name'
    'avatar text';
  gap: 8px 16px;
  align-items: start;
  width: 100%;
}

.review__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  background: #222;
  grid-area: avatar;
}

.review__name {
  margin: 0 0 6px;
  font-weight: 700;
  grid-area: name;
}

.review__text {
  margin: 0;
  line-height: 1.6;
  color: #e3e3e3;
  max-width: none;
  grid-area: text;
}

.review__gallery {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.review__gallery img {
  width: 100px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.slider {
  background: #000;
  padding: 60px 16px 70px;
}

.slider__inner {
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.slider__title {
  text-align: center;
  color: #f5f5f5;
  font-size: clamp(1.9rem, 1vw + 1.6rem, 2.4rem);
  font-weight: 600;
  margin: 0;
}

.slider__viewport {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #0e0e0e;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.slider__track {
  display: flex;
  transition: transform 0.35s ease;
}

.slider__slide {
  min-width: 100%;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.slider__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider__split {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

.slider__label {
  position: absolute;
  top: 12px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #f5f5f5;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.slider__label--before {
  left: 12px;
}

.slider__label--after {
  right: 12px;
}

.slider__footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 70%);
  color: #f5f5f5;
  font-weight: 600;
}

.slider__controls {
  display: flex;
  gap: 10px;
}

.slider__btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.55);
  color: #f5f5f5;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.slider__btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}

.slider__counter {
  font-weight: 600;
  font-size: 1rem;
}

.slider__caption {
  font-weight: 700;
  font-size: 1.05rem;
}

.curves-about {
  background: #000;
  padding: 60px 16px 40px;
}

.curves-about__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.curves-about__img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

.curves-about__text {
  color: #f5f5f5;
  font-size: 1.6rem;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .curves-about__inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .curves-about__text {
    font-size: 1.3rem;
  }
  .slider__slide {
    grid-template-columns: 1fr;
  }
  .slider__split {
    display: none;
  }
  .slider__label--before,
  .slider__label--after {
    top: 10px;
  }
}

@media (max-width: 600px) {
  .review {
    grid-template-columns: 56px 1fr;
    grid-template-areas:
      'avatar name'
      'avatar text';
  }
  .review__avatar {
    width: 56px;
    height: 56px;
  }
  .slider__inner {
    width: 95%;
  }
  .slider__caption {
    font-size: 0.95rem;
  }
}

/* Reco */
.reco {
  background: #000;
  padding: 60px 16px 80px;
}

.reco__inner {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.reco__title {
  text-align: center;
  color: #f5f5f5;
  font-size: clamp(1.9rem, 1vw + 1.6rem, 2.4rem);
  font-weight: 600;
  margin: 0 0 10px;
}

.reco__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.benefits {
  background: #000;
  padding: 60px 16px 70px;
}

.benefits__inner {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.benefits__title {
  text-align: center;
  color: #f5f5f5;
  font-size: clamp(1.9rem, 1vw + 1.6rem, 2.4rem);
  font-weight: 600;
  margin: 0 0 30px;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 26px;
}

.benefit-card {
  background: #111;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.benefit-card img {
  width: 100%;
  height: auto;
  display: block;
}
.benefit-card:nth-child(1),
.benefit-card:nth-child(2) {
  background-color: #151516;
  padding: 40px;
  color: #fff;
  border-radius: 30px;
}
.benefit-card:nth-child(3) {
  background: linear-gradient(to right bottom, #1f224b 0%, #2d5d85 100%);
  border-radius: 30px;
  padding: 40px;
  color: #fff;
}

.benefit-card__title,
.benefits__name {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.benefit-card__text,
.benefits__text {
  margin: 0;
  color: #dcdcdc;
  line-height: 1.5;
}

.benefits__footnote {
  margin: 18px 0 0;
  color: #9a9a9a;
  font-size: 0.9rem;
  font-style: italic;
}

.bundle {
  background: #000;
  padding: 40px 16px 60px;
}

.bundle__inner {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.bundle__title {
  text-align: center;
  color: #f5f5f5;
  font-size: clamp(1.2rem, 1vw + 0.9rem, 1.6rem);
  font-weight: 0;
  margin: 0;
}

.bundle__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bundle__item {
  background: #181b21;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 18px;
  padding: 12px 16px;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}

.bundle__img {
  width: 130px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.bundle__name {
  margin: 0;
  color: #f5f5f5;
  font-weight: 700;
  font-size: 1.05rem;
}

.reco-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  display: block;
  aspect-ratio: 9 / 16;
  background: #111;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reco-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.reco-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.reco-card__label {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 82%;
  max-width: 230px;
  z-index: 3;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .reco__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bundle__grid {
    grid-template-columns: 1fr;
  }
  .bundle__item {
    max-width: none;
  }
}

@media (max-width: 600px) {
  .reco {
    padding: 40px 12px 60px;
  }
  .reco__inner {
    width: 95%;
  }
  .reco__grid {
    grid-template-columns: 1fr;
  }
  .benefits__inner,
  .bundle__inner {
    width: 95%;
  }
  .bundle__item {
    grid-template-columns: 110px 1fr;
  }
}

/* Footer */
.footer {
  background: #0a0a0a;
  color: #f5f5f5;
  padding: 20px 16px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 660px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .links-icons {
    order: 2;
  }

  .copyright {
    order: 1;
  }
}

.links-icons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.links-terms a,
.links-privacy a {
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.links-terms a:hover,
.links-privacy a:hover {
  color: #df092c;
}

.social-icons {
  display: flex;
  gap: 14px;
  font-size: 24px;
}

.social-icons a {
  transition: color 0.2s ease;
}

.social-icons a:hover {
  color: #df092c;
}

/*Before and After*/

.slider-wrapper {
  width: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  background-color: #000;
}
.wrapper,
.gallery,
.img {
  max-width: 780px;
  height: auto;
  margin: 0;
  padding: 0;
}
.wrapper,
.gallery {
  width: 100%;
}
.wrapper {
  position: relative;
  border: 2px solid #000;
  margin: 0px auto 90px auto !important;
  padding-bottom: 70px;
}
.gallery {
  position: relative;
  display: block;
  z-index: 1;
}
.img {
  width: 100%;
  display: block;
  cursor: pointer;
}
.gallery__resize,
.gallery__resize:after {
  position: absolute;
  top: 0;
  cursor: pointer;
  height: 100%;
}
.gallery__resize {
  left: 0;
  width: 50%;
  overflow: hidden;
}
.gallery--fixed {
  --gallery-width: 100%;
}
.gallery--fixed .gallery__resize .img {
  width: var(--gallery-width, 100%);
  max-width: none;
  height: auto;
}
.tr {
  transition: 0.6s;
}
.gallery__resize:after {
  content: '';
  width: 4px;
  background-color: #fff;
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
  box-sizing: border-box;
  position: absolute;
  right: 0;
  z-index: 20;
}
#before,
#after {
  position: absolute;
  z-index: 100;
  font-size: 16px;
  padding: 10px 20px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #555;
  background-color: rgba(255, 255, 255, 0.6);
  font-family: 'Open Sans', sans-serif;
  border-radius: 2px;
}
#before {
  left: 0;
}
#after {
  right: 0;
}
.slider-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 0;
  color: #fff;
}

.slider-nav__arrows {
  display: flex;
  align-items: center;
  gap: 12px;
}

.slider-nav__arrows .slider-nav__btn i {
  color: #fff;
  font-size: 20px;
  pointer-events: none;
}

#photo-count,
#photo-name {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
}

#photo-count {
  font-size: 18px;
}

#photo-name {
  font-size: 20px;
  text-align: center;
  flex: 1;
}

.slider-nav__btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
  z-index: 30;
  border: none;
  color: #fff;
  pointer-events: auto;
}

@media (max-width: 860px) {
  #examples {
    margin-top: 150px;
  }
  .slider-wrapper {
    padding: 0 20px;
  }
}
@media (max-width: 768px) {
  #examples {
    margin-top: 240px;
  }
  .slider-wrapper {
    padding: 0 16px;
  }
}
@media (max-width: 650px) {
  #examples {
    margin-top: 140px;
  }
  .slider-wrapper {
    padding: 0 14px;
  }
}

@media (max-width: 599px) {
  #before,
  #after {
    font-size: 1rem;
    padding: 8px 16px;
  }
  .slider-nav__btn {
    width: 40px;
    height: 40px;
  }
  .slider-nav__btn,
  #photo-count,
  #photo-name {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  #before,
  #after {
    font-size: 1rem;
    padding: 6px 12px;
  }
  .slider-nav__btn,
  #photo-count,
  #photo-name {
    font-size: 1rem;
    bottom: -25px;
  }
  .slider-wrapper {
    padding: 0 12px;
  }
}
