/* letter-spacing px to em */

#main-content {
  padding-top: var(--header-height);
}

.main-visual .item {
  background: url("/img/mainVisual.jpg") no-repeat right center var(--brand-blue);
  border-radius: 0 0 16px 16px;
  overflow: hidden;
  height: 510px;
  display: flex;
  align-items: center;
}

.main-visual .desc {
  color: #fff;
}

.main-visual .desc h2 {
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
}
.main-visual .desc p {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.045em;
}

.main-visual .desc .component-btn {
  margin-top: 50px;
}

#main-content > section:not(.main-visual):not(.solutions) {
  padding: 100px 0;
}

.sec-title {
  text-align: center;
  margin-bottom: 20px;
}
.sec-title.type2 {
  margin-bottom: 60px;
}
.sec-title .label {
  color: var(--brand-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-family: "Space Grotesk", sans-serif;
  display: block;
}

.sec-title .desc {
  font-size: 16px;
  font-weight: 400;

  margin-top: 20px;
}

.sec-title h3 {
  color: #000;
  font-size: 34px;
  letter-spacing: -0.085em;
  word-break: keep-all;
}

.sec-title.white h3 {
  color: #fff;
}
.sec-title.white p.desc {
  color: #fff;
}

/* services */
.services .logo-info {
  font-size: 30px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  background: #f1f1f1;
  padding: 40px;
  max-width: 858px;
  margin: 28px auto;
  font-family: "Space Grotesk", sans-serif;
}
.services .logo-info h4 {
  color: #000;
  font-size: 60px;
  letter-spacing: -0.045em;
}
.services .logo-info .words {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  color: #666;
}
.services .logo-info .words span {
  color: var(--brand-blue);
}

.services .logo-info .summary {
  color: #999;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: -0.03em;
  font-weight: 400;
  font-family: SUIT;
}

.services .desc {
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.6;
}

/* solutions */
.solutions {
  background: #f1f6fd;
  padding: 80px 0;
}
.solutions .list {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.solutions .list .card {
  border-radius: 20px;
  background: #fff;
  box-shadow: 4px 8px 16px 0 rgba(0, 0, 0, 0.08);
  padding: 72px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  flex: 1;
  max-width: 400px;
  position: relative;
}

.solutions .list .eng {
  position: absolute;
  left: 0;
  top: 37px;
  width: 100%;
  text-transform: uppercase;
  text-align: center;
  font-size: 54px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  opacity: 0.05;
  font-family: "Space Grotesk";
}

.solutions .list .label {
  border-radius: 4px;
  border: 1px solid #e4e4e4;
  background: #fff;
  display: flex;
  padding: 6px 16px;
  justify-content: center;
  align-items: center;
  width: max-content;
  margin: 0 auto;
  line-height: 1;
  font-size: 15px;
  background: #fff;
  position: relative;
  z-index: 2;
}

.solutions .list .summary {
  font-weight: 700;
}
.solutions .list .starter .summary {
  color: var(--brand-teal);
}
.solutions .list .starter .eng {
  color: var(--brand-teal);
}
.solutions .list .professional .summary {
  color: var(--accent-magenta);
}
.solutions .list .professional .eng {
  color: var(--accent-magenta);
}
.solutions .list .enterprise .summary {
  color: var(--accent-sky);
}
.solutions .list .enterprise .eng {
  color: var(--accent-sky);
}

.solutions .list .detail {
  text-align: center;
}
.solutions .list .detail .title {
  color: #000;
  font-size: 28px;
  font-weight: 700;
}
.solutions .list .detail .desc {
  margin-top: 20px;
}

.solutions .targets {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.solutions .targets li {
  padding: 12px;
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

.solutions .list .starter .targets li {
  background: var(--brand-teal);
}
.solutions .list .professional .targets li {
  background: var(--accent-magenta);
}
.solutions .list .enterprise .targets li {
  background: var(--accent-sky);
}

/* philosophy */
.philosophy .list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.philosophy .list li {
  border-radius: 20px;
  border: 1px solid #e2e2e2;
  padding: 60px 24px;

  text-align: center;
}

.philosophy .list .label {
  color: #000;
  font-size: 20px;
  font-weight: 700;

  margin-bottom: 20px;
}

.philosophy .list .value {
  color: #2e2e2e;
  font-size: 16px;
  font-weight: 400;
}

/* performance */
.performance {
  background: #151518;
}

.performance .case-studies {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.performance .case-studies .item {
  display: flex;
  gap: 40px;
}

.performance .case-studies .summary {
  border-radius: 8px;
  background: #fff;
  padding: 20px 30px;
  color: #000;
  width: 100%;
  max-width: 310px;
}

.performance .case-studies .summary .title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.045em;
  border-top: 1px solid #000;
  padding-top: 20px;
}
.performance .case-studies .summary .metric {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.035em;
  margin-top: 16px;
}
.performance .case-studies .summary .metric span {
  color: var(--brand-blue);
}
.performance .case-studies .detail {
  padding-left: 40px;
  border-left: 1px solid #fff;
}

/* letter-spacing px to em */
.performance .case-studies .detail .title-quote {
  color: var(--brand-blue);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.055em;
}
.performance .case-studies .detail .desc {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 30px;
  padding-left: 74px;
  background-position: left center;
  background-size: 46px auto;
  background-repeat: no-repeat;
}

.performance .case-studies .detail .desc p.cancel {
  color: #999;
  text-decoration: line-through;
}

.performance .case-studies .item:nth-child(1) .desc {
  background-image: url("/img/icon-percent.png");
}
.performance .case-studies .item:nth-child(2) .desc {
  background-image: url("/img/icon-quote.png");
}

/* call-to-action */
.call-to-action {
  background: var(--brand-blue);
}

#contactForm {
  border-radius: 8px;
  background: #fff;
  padding: 40px 30px;
  max-width: 858px;
  margin: 0 auto;
}
#contactForm .grid-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

#contactForm .grid-form li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 100%;
}

#contactForm .grid-form li.problem,
#contactForm .grid-form li.company {
  grid-column: span 2;
}

#contactForm .grid-form label {
  color: #999;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

#contactForm input,
#contactForm textarea {
  border-radius: 4px;
  border: 1px solid #e2e2e2;
}

#contactForm input {
  padding: 0 16px;
  height: 44px;
  color: #000;
}
#contactForm textarea {
  padding: 16px;
}
#contactForm .btn-submit {
  display: flex;
  max-width: 320px;
  width: 100%;
  height: 56px;
  padding: 0 16px;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  border-radius: 4px;
  background: #000;
  color: #fff;
}

#contactForm .desc {
  color: #666;
  font-size: 12px;

  text-align: center;
  margin-top: 20px;
}

/* 반응형 미디어 쿼리 */
@media (max-width: 1500px) {
  .inner1500 {
    padding: 0 24px;
  }
}
@media (max-width: 1200px) {
  .inner1200 {
    padding: 0 24px;
  }
  .call-to-action .inner1200 {
    padding: 0 40px;
  }
}
@media (max-width: 1024px) {
  .gnb {
    display: none;
  }
  header {
    padding: 0 24px;
    height: var(--header-height-mobile);
  }

  #main-content {
    padding-top: var(--header-height-mobile);
  }

  .main-visual .item {
    height: 390px;
  }

  .main-visual .desc {
    padding: 0 40px;
  }

  .main-visual .desc h2 {
    font-size: 36px;
  }

  .solutions .list {
    flex-direction: column;
    gap: 30px;
  }

  .solutions .list .eng {
    top: 15px;
  }

  .solutions .list .card {
    max-width: inherit;
    padding: 50px 20px 40px;
    gap: 16px;
  }

  .solutions .targets {
    margin-top: 14px;
  }

  .performance .case-studies .item {
    flex-direction: column;
    gap: 20px;
  }
}

/* 모바일 */
@media (max-width: 639px) {
  header {
    padding: 0 16px;
  }
  #main-content > section:not(.main-visual):not(.solutions) {
    padding: 80px 0;
  }

  .sec-title h3 {
    font-size: 24px;
  }

  .sec-title .desc {
    font-size: 14px;
  }

  .inner1500,
  .inner1200 {
    padding: 0 16px;
  }

  .component-btn a,
  .component-btn button {
    font-size: 14px;
    height: 49px;
    line-height: 49px;
  }

  .main-visual .item {
    height: calc((var(--vh) * 100) - var(--header-height-mobile));

    background: url("/img/mo-mainVisual.jpg") no-repeat center top var(--brand-blue);
    background-size: auto 336px;
    align-items: flex-end;
  }

  .main-visual .desc {
    padding: 0 4px 40px;
  }

  .main-visual .desc .component-btn {
    margin-top: 40px;
  }

  .main-visual .desc h2 {
    font-size: 28px;
  }

  .main-visual .desc p {
    font-size: 14px;
  }

  .services .logo-info {
    font-size: 20px;
    padding: 40px 8px;
  }

  .services .logo-info h4 {
    font-size: 30px;
  }

  .services .logo-info img {
    width: 10px;
    height: 10px;
  }

  .services .logo-info .summary {
    font-size: 10px;
    letter-spacing: -0.05em;
  }

  .services .desc {
    font-size: 14px;
  }

  .solutions .list .card {
    padding: 40px 16px;
  }

  .solutions .list .eng {
    top: 13px;
    font-size: 40px;
  }

  .solutions .list .starter .summary {
    font-size: 14px;
  }

  .solutions .list .detail .title {
    font-size: 22px;
  }

  .solutions .list .detail .desc {
    font-size: 14px;
  }

  .performance .case-studies .detail .title-quote {
    font-size: 18px;
  }

  .performance .case-studies .detail .desc {
    padding-left: 0;
    padding-top: 76px;
    background-position: left top;
  }

  #contactForm .grid-form {
    grid-template-columns: repeat(1, 1fr);
  }

  #contactForm .grid-form li.problem,
  #contactForm .grid-form li.company {
    grid-column: span 1;
  }

  .call-to-action .inner1200 {
    padding: 0 24px;
  }

  #contactForm .grid-form label {
    font-size: 12px;
  }
}
