@import "../assets/styles/reset.css";
@import "../assets/styles/variable.css";
@import "../assets/styles/button.css";

.promotion {
  padding: 0 0 120px;
}

.promotion section article {
  margin: 0 auto;
  max-width: var(--layout-content-max-width);
}

.promotion__hero {
  height: 920px;
  position: relative;
  text-align: center;
  background: url("./images/bg_hero@2x.png") 50% 50% / cover no-repeat;
  padding: 0 20px;
}

.promotion__hero:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: block;
  max-width: 1334px;
  width: 100%;
  aspect-ratio: 1334 / 641;
  background: url("./images/img_hero@2x.png") center / cover no-repeat;
  margin: 0 auto;
}

.promotion__hero article {
  z-index: 1;
  position: relative;
  padding: 96px 20px 0;
}

.promotion__hero-header img {
  display: block;
  max-width: 325px;
  width: 100%;
  margin: 0 auto;
}

.promotion__hero-header h2 {
  font-size: 56px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  font-weight: 700;
  word-break: keep-all;
  color: #fff;
  padding-top: 40px;
}

.promotion__hero-header p {
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: -0.5px;
  word-break: keep-all;
  font-weight: 400;
  color: #fff;
  padding-top: 24px;
}
.promotion__hero-header p strong {
  display: block;
  font-weight: 700;
  padding-top: 18px;
}
.promotion__hero-header .btn {
  z-index: 2;
  position: relative;
}

.promotion__guide {
  padding: 0 20px;
}

.promotion__guide article {
  text-align: center;
  padding-top: 100px;
}

.promotion__guide-header h3 {
  font-size: 36px;
  line-height: 1.4;
  letter-spacing: -0.5px;
  font-weight: 700;
  word-break: keep-all;
}
.promotion__guide-header h3 span {
  display: inline-block;
  vertical-align: middle;
}
.promotion__guide-header h3 span:first-of-type {
  position: relative;
}
.promotion__guide-header h3 img {
  position: absolute;
  top: 0;
  left: 52px;
  width: 111px;
  transform: translateY(-100%);
}

.promotion__guide-header p {
  font-size: 22px;
  color: rgba(0, 0, 0, 0.8);
  padding-top: 10px;
}
.promotion__guide-header p a {
  text-decoration: underline;
}

.promotion__guide-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  margin-top: 40px;
}

.guide-step {
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 334px;
  width: 100%;
  min-height: 292px;
  text-align: center;
  border: 2px solid #e5e8eb;
  border-radius: 16px;
  padding: 30px 0 0;
}

.guide-step__badge {
  display: block;
  width: fit-content;
  font-size: 16px;
  letter-spacing: -0.5px;
  line-height: 1;
  font-weight: 800;
  color: #fff;
  background-color: #000;
  border-radius: 40px;
  padding: 10px 14px;
  margin: 0 auto;
}

.guide-step__description {
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.5px;
  color: #1a1a1a;
  padding-top: 10px;
}

.guide-step__image {
  width: 100%;
  height: auto;
}

.guide-step__action {
  display: inline-flex;
  margin-top: 2px;
}

.guide-step__arrow {
  display: inline-flex;
  width: 16px;
  height: 34px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="34" viewBox="0 0 16 34" fill="none"><path d="M0.775879 32.6306L13.7759 16.6306L0.775878 0.630615" stroke="%23C5C5C5" stroke-width="2"/></svg>')
    no-repeat;
  margin: 0 21px;
}

.promotion__cta .btn {
  width: 280px;
  margin: 60px auto 0;
}

.promotion__terms {
  padding: 0 20px;
}

.promotion__terms article {
  background-color: #f2f4f6;
  border-radius: 16px;
  padding: 42px 36px;
  margin-top: 80px !important;
}

.terms-list {
  text-align: left;
}

.terms-list:not(:first-of-type) {
  margin-top: 24px;
}

.terms-list__title {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0;
  font-weight: 700;
  word-break: keep-all;
  padding-bottom: 10px;
}

.terms-list__item {
  position: relative;
  font-size: 14px;
  padding-left: 12px;
  word-break: keep-all;
}

.terms-list__item:before {
  position: absolute;
  left: 0;
  width: 0;
  height: 0;
  content: "-";
  top: 0;
}
.terms-list__item .indent {
  margin-left: 10px;
}

@media (max-width: 1023px) {
  .btn-smartel {
    margin-top: 20px;
  }

  .promotion {
    padding: 0 0 60px;
  }

  .promotion__hero {
    width: 100%;
    height: 540px;
    background-image: url("./images/bg_hero@3x.png");
  }

  .promotion__hero:after {
    max-width: 360px;
    aspect-ratio: 360 / 294;
    background-image: url("./images/img_hero@3x.png");
  }

  .promotion__hero article {
    padding: 40px 0 0;
  }

  .promotion__hero-header {
    padding: 0 16px;
  }
  .promotion__hero-header img {
    max-width: 144px;
  }

  .promotion__hero-header h2 {
    font-size: 32px;
    letter-spacing: -0.5px;
    padding-top: 16px;
  }

  .promotion__hero-header p {
    max-width: 60%;
    font-size: 14px;
    padding-top: 12px;
    margin: 0 auto;
  }
  .promotion__hero-header p strong {
    padding-top: 7px;
  }

  .promotion__guide article {
    padding-top: 60px;
  }

  .guide-step__badge {
    font-size: 14px;
    font-weight: 700;
    border-radius: 40px;
    padding: 8px 19px;
  }

  .promotion__guide-header h3 {
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: -0.5px;
    font-weight: 700;
    word-break: keep-all;
  }

  .promotion__guide-header h3 img {
    left: 27px;
  }

  .promotion__guide-header p {
    font-size: 15px;
    word-break: keep-all;
  }

  .promotion__guide-steps {
    flex-direction: column;
    gap: 10px 0;
    margin-top: 36px;
  }

  .guide-step__arrow {
    transform: rotate(90deg);
    margin: 0 23px;
  }

  .promotion__cta .btn {
    width: 240px;
    height: 52px;
    font-size: 15px;
    padding: 0 24px;
    margin: 36px auto 0;
  }

  .promotion__terms article {
    padding: 32px 20px;
    margin-top: 60px !important;
  }

  .terms-list:not(:first-of-type) {
    margin-top: 20px;
  }

  .terms-list__title {
    font-size: 18px;
  }

  .terms-list__item {
    font-size: 13px;
  }
}
