.product-flexible {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 110px 40px;
  background: #ffffff;
  font-family: "Montserrat", sans-serif;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.product-flexible *,
.product-flexible *::before,
.product-flexible *::after {
  box-sizing: border-box;
}

.product-flexible__inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}


/* =========================
   HEADER
========================= */

.product-flexible__header {
  max-width: 1000px;
  margin: 0 auto 65px;
  text-align: center;
}

.product-flexible__eyebrow {
  margin-bottom: 14px;
  color: #FCAE17;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-flexible__heading {
  margin: 0 auto;
  max-width: 900px;
  color: #00665c;
  font-family: "Montserrat", sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.product-flexible__introduction {
  max-width: 700px;
  margin: 24px auto 0;
  color: #4f5b59;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
}


/* =========================
   MAIN LAYOUT
========================= */

.product-flexible__workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 80px;
  align-items: center;
}


/* =========================
   MEDIA / IMAGE
========================= */

.product-flexible__media {
  position: relative;
  width: 100%;
  min-width: 0;
}

.product-flexible__media-panel {
  position: relative;
  display: none;
  width: 100%;
  height: 620px;
  overflow: hidden;
  border-radius: 18px;
  background: #f3f7f5;
}
.product-flexible__media-panel--video {
  height: auto;
  background: #fff;
  transform: translateY(-45px);
}

.product-flexible__media-panel.is-active {
  display: block;
}

.product-flexible__image {
   background: #ffffff
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-flexible__video {
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  background: #fff;
}

.product-flexible__media-label {
  position: absolute;
  top: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 15px;
  border-radius: 999px;
  background: #ffffff;
  color: #00665c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-flexible__video-link {
  position: absolute;
  bottom: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 18px 8px 9px;
  border-radius: 999px;
  background: #ffffff;
  color: #00665c;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.product-flexible__video-link:hover {
  color: #00665c;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-flexible__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  background: #00665c;
  color: #ffffff;
  font-size: 11px;
}


/* =========================
   RIGHT CONTENT
========================= */

.product-flexible__content {
  min-width: 0;
}

.product-flexible__tasks {
  width: 100%;
  border-top: 1px solid #d8e0de;
}

.product-flexible__task {
  width: 100%;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 30px;
  gap: 12px;
  align-items: center;
  padding: 23px 0;
  border: 0;
  border-bottom: 1px solid #d8e0de;
  background: transparent;
  color: #263432;
  font-family: "Montserrat", sans-serif;
  text-align: left;
  cursor: pointer;
}

.product-flexible__task-number {
  color: #7b8986;
  font-size: 13px;
  font-weight: 600;
}

.product-flexible__task-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.product-flexible__task-icon {
  color: #00665c;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  text-align: right;
}

.product-flexible__task.is-active .product-flexible__task-number,
.product-flexible__task.is-active .product-flexible__task-title {
  color: #00665c;
}


/* =========================
   SELECTED TASK CONTENT
========================= */

.product-flexible__detail {
  display: none;
  padding-top: 38px;
}

.product-flexible__detail.is-active {
  display: block;
}

.product-flexible__detail h3 {
  max-width: 520px;
  margin: 0 0 18px;
  color: #00665c;
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.product-flexible__description {
  max-width: 560px;
  margin: 0;
  color: #4f5b59;
  font-size: 16px;
  line-height: 1.7;
}

.product-flexible__note {
  max-width: 560px;
  margin: 18px 0 0;
  color: #7b8986;
  font-size: 13px;
  font-style: italic;
  line-height: 1.6;
}


/* =========================
   CTA
========================= */

.product-flexible__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 30px;
  padding: 12px 34px;
  border-radius: 999px;
  background: #00665c;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.product-flexible__cta:hover {
  background: #00786c;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
}


/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {
  .product-flexible {
    padding: 90px 32px;
  }

  .product-flexible__heading {
    font-size: 46px;
  }

  .product-flexible__workspace {
    gap: 50px;
  }

  .product-flexible__media-panel {
    height: 540px;
  }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {
  .product-flexible {
    padding: 75px 24px;
  }

  .product-flexible__header {
    margin-bottom: 60px;

  }

  .product-flexible__eyebrow {
    margin-bottom: 12px;
  }

  .product-flexible__heading {
    font-size: 36px;
    line-height: 1.12;
  }

  .product-flexible__introduction {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.65;
  }

  .product-flexible__workspace {
    grid-template-columns: 1fr;
    gap: 42px;
  }

.product-flexible__media-panel {
  height: auto;
  margin-top: 24px;
  border-radius: 16px;
}

  .product-flexible__media-label {
    top: 16px;
    left: 16px;
  }

  .product-flexible__video-link {
    bottom: 16px;
    left: 16px;
  }

  .product-flexible__task {
    grid-template-columns: 38px minmax(0, 1fr) 26px;
    padding: 20px 0;
  }

  .product-flexible__task-title {
    font-size: 18px;
  }

  .product-flexible__detail {
    padding-top: 30px;
  }

  .product-flexible__detail h3 {
    font-size: 27px;
  }

  .product-flexible__cta {
    margin-top: 26px;
  }
}


@media (max-width: 480px) {
  .product-flexible {
    padding: 65px 20px;
  }

  .product-flexible__heading {
    font-size: 32px;
  }

  .product-flexible__media-panel {
     height: auto;
  }

  .product-flexible__media-label {
    max-width: calc(100% - 32px);
    font-size: 11px;
  }

  .product-flexible__video-link {
    max-width: calc(100% - 32px);
    font-size: 13px;
  }
}