/* ================= PROCESS ================= */

.process {
  background: #FFF6F0;
  padding: 120px 0 80px;
}

.process__container {
  max-width: 1376px;
  margin: 0 auto;
  padding: 0 32px;

  display: flex;
  gap: 56px;
}

/* LEFT */

.process__left {
  width: 50%;
}

.process__title {
  font-size: 59px;
  line-height: 0.92;
  font-weight: 500;
  color: #034743;
  margin-bottom: 24px;
}

.process__desc {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #034743;
  margin-bottom: 32px;
}

/* CARD */

.process__card {
  width: 295px;
  background: #fff;
  border-radius: 22px;
  padding: 12px;
}

.process__card.open-video {
  cursor: pointer;
}

/* PREVIEW */

.process__video-preview {
  position: relative;
  width: 100%;

  aspect-ratio: 16 / 9; /* ВАЖНО */

  border-radius: 16px;
  overflow: hidden;

  cursor: pointer;
}

.process__video-preview img {
  width: 100% !important;
  height: 100%;
  object-fit: cover;

  display: block;
}


/* PLAY */

.process__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 56px;
  height: 56px;

  background: #fff;
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 20px;
}

/* VIDEO POPUP */

.popup__content--video {
  max-width: 900px;
  width: 90%;
  background: #000;
  padding: 0;
}

.popup__content--video video {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.process__card-text {
  text-align: center;
  font-size: 13px;
  margin-top: 10px;
}

/* RIGHT */

.process__steps {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* STEP */

.process-step {
  display: flex;
  gap: 24px;
  padding: 4px;
  height: auto;
  border-radius: 22px;
  background: #fff;
}

.process-step > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 0;
}

.process-step__num {
  width: 64px;
  min-height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(3, 71, 67, 0.1);
  border-radius: 18px;

  font-size: 24px;
  color: #034743;

  flex-shrink: 0;
}

.process-step__title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
}

.process-step__text {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 500;
  max-width: 520px;
}

/* ================= MORE ================= */
.more__container {
  max-width: 1376px;
  margin: 0 auto;
  padding: 0 32px;
}
.process__more {
  margin-top: 80px;
}

/* TITLE */

.process__more-title {
  font-size: 59px;
  font-weight: 500;
  color: #034743;
  margin-bottom: 32px;
}

/* GRID */

.process__more-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* CARD */

.process-card {
  flex: 1;
  min-width: 300px;

  background: #fff;
  border-radius: 22px;
  padding: 24px;

  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ICON */

.process-card__icon {
  flex-shrink: 0;
  line-height: 0;
  color: #034743;
}

.process-card__icon svg {
  display: block;
  width: auto;
  height: auto;
  max-height: 55px;
  max-width: 54px;
}

/* TITLE */

.process-card__title {
  font-size: 24px;
  font-weight: 500;
  color: #1E1D1B;
}

/* TEXT */

.process-card__text {
  font-size: 17px;
  line-height: 1.4;
  color: rgba(30, 29, 27, 0.6);
}

/* LINK */

.process-card__link {
  font-size: 17px;
  color: #005842;
  text-decoration: underline;
}

/* ===== VIDEO POPUP ONLY ===== */

.popup--video {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  box-sizing: border-box;
  padding: 16px;
}

.popup--video.active {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* затемнение */
.popup--video .popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
}

/* контейнер видео */
.popup--video .popup__content {
  position: relative;
  width: 90%;
  max-width: 900px;

  border-radius: 16px;
  overflow: hidden;

  background: #000;
  z-index: 2;
}

/* видео */
.popup--video video,
.popup--video iframe {
  width: 100%;
  height: auto;
  display: block;
}

/* кнопка закрытия */
.popup--video .popup__close {
  position: absolute;
  top: -40px;
  right: 0;

  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}