.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 24, 39, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.popup-overlay.is-hidden {
  display: none;
}

.popup-wrapper {
  position: relative;
  width: 600px;
  max-width: calc(100% - 40px);
}

.popup {
  position: relative;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  width: 100%;
  overflow: hidden;
  display: flex;
}
.popup__close {
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: 10;
  background: #fff;
  border: 1.5px solid #ccc;
  font-size: 2.2rem;
  font-weight: 700;
  color: #000;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background 0.3s, color 0.3s;
}
.popup__close:hover {
  background: #f0f0f0;
  color: #202020;
}
.popup__body {
  position: relative;
  padding: 40px;
  flex: 1;
  text-align: center;
}
.popup__title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.4;
  color: #32418c;
  margin-bottom: 15px;
}
.popup__description {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.8;
  color: #202020;
  margin-bottom: 30px;
  text-align: left;
}
.popup__image {
  width: 100%;
  margin-bottom: 30px;
}
.popup__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
}
.popup__cta {
  display: inline-block;
  background: #e63c0a;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
  padding: 14px 50px;
  border: none;
  border-radius: 3px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow 0.3s;
}
.popup__cta:hover {
  box-shadow: none;
}

@media (max-width: 768px) {
  .popup-wrapper {
    max-width: calc(100% - 60px);
  }
  .popup__body {
    padding: 30px;
  }
  .popup__title {
    font-size: 2rem;
  }
  .popup__description {
    font-size: 1.4rem;
  }
}
@media (max-width: 480px) {
  .popup-wrapper {
    max-width: calc(100% - 40px);
  }
  .popup__close {
    top: -12px;
    right: -12px;
    font-size: 1.8rem;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .popup__body {
    padding: 17px 7px;
  }
  .popup__title {
    font-size: 1.4rem;
  }
  .popup__description {
    font-size: 1.1rem;
  }
  .popup__cta {
    font-size: 1.3rem;
    padding: 11px 40px;
  }
}