.main-page {
  background: #fff;
}

/* =========================
   Section Common
========================= */

.hero,
.cert,
.service,
.why,
.news {
  position: relative;
}

.cert,
.service,
.why,
.news {
  padding-top: 120px;
}


/* =========================
   Certification
========================= */

.cert .section-head {
  margin-bottom: 64px;
  text-align: center;
}

.cert-slider {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
}

.cert-viewport {
  width: calc(100% - 180px);
  margin: 0 auto;
  overflow: hidden;
}

.cert-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  transition: transform 0.3s ease;
  will-change: transform;
}

.cert-card {
  flex: 0 0 20%;
  max-width: 20%;
  min-width: 20%;
  padding: 0 16px;
  text-align: center;
  box-sizing: border-box;
}

.cert-card img {
  width: 150px;
  height: 150px;
  margin: 0 auto 28px;
  object-fit: contain;
}

.cert-card p {
  max-width: 220px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 600;
  color: #222;
}

.cert-arrow {
  position: absolute;
  top: 58px;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid #d9dee8;
  background: #fff;
  cursor: pointer;
  z-index: 10;
}

.cert-arrow.prev {
  left: 0;
}

.cert-arrow.next {
  right: 0;
}

.cert-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  border-top: 2px solid #666;
  border-right: 2px solid #666;
}

.cert-arrow.prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.cert-arrow.next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.cert-arrow:hover,
.cert-arrow:active,
.cert-arrow:focus-visible {
  background: #014ed9;
  border-color: #014ed9;
  outline: none;
}

.cert-arrow:hover::before,
.cert-arrow:active::before,
.cert-arrow:focus-visible::before {
  border-color: #fff;
}

/* =========================
   Service / AX
========================= */

.service .section-head {
  margin-bottom: 80px;
}

.service-top {
  display: grid;
  grid-template-columns: 280px 360px minmax(620px, 1fr);
  gap: 48px;
  align-items: center;
}

.intro-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-visual img {
  width: 300px;
  height: 300px;
  object-fit: contain;
}

.intro-copy {
  max-width: 360px;
}

.intro-copy h3 {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.04em;
  color: #014ed9;
}

.intro-copy p {
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.75;
  color: #333;
}

.intro-copy .button {
  margin-top: 26px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid #e6ebf3;
}

.feature {
  min-height: 230px;
  padding: 36px 26px;
  border-right: 1px solid #e6ebf3;
}

.feature:last-child {
  border-right: 0;
}

.feature::before {
  content: "";
  display: block;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.feature-business::before {
  background-image: url("/images/redesign/main/icon_business.png");
}

.feature-foundation::before {
  background-image: url("/images/redesign/main/icon_foundation.png");
}

.feature-experience::before {
  background-image: url("/images/redesign/main/icon_experience.png");
}

.feature strong {
  display: block;
  position: relative;
  padding-bottom: 14px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: #014ed9;
}

.feature strong::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 2px;
  background: #014ed9;
}

.feature p {
  max-width: 190px;
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: #555;
}

/* =========================
   Service Board
========================= */

.service-board {
  margin-top: 64px;
  background: transparent;
}

.board-tabs {
  display: none;
}

.board-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.board-card {
  position: relative;
  min-height: 610px;
  padding: 136px 42px 72px;
  border: 1px solid #e1e5ec;
  background: #fff;
}

.board-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: #004ae2;
}

.board-card::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 36px;
  width: 58px;
  height: 58px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.board-card:nth-child(1)::before,
.board-card:nth-child(2)::before,
.board-card:nth-child(3)::before {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding-left: 42px;
  font-size: 25px;
  font-weight: 700;
  color: #fff;
}

.board-card:nth-child(1)::before {
  content: "제조 AI";
}

.board-card:nth-child(2)::before {
  content: "클라우드";
}

.board-card:nth-child(3)::before {
  content: "사이버 보안";
}

.board-card:nth-child(1)::after {
  background-image: url("/images/redesign/main/icon_manufacturing_ai.png");
}

.board-card:nth-child(2)::after {
  background-image: url("/images/redesign/main/icon_cloud.png");
}

.board-card:nth-child(3)::after {
  background-image: url("/images/redesign/main/icon_cyber_security.png");
}

.board-card dl {
  display: block;
  margin: 0;
}

.board-card dl div + div {
  margin-top: 30px;
}

.board-card dt {
  position: relative;
  margin: 0;
  padding-bottom: 14px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
}

.board-card dt::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 82px;
  height: 1px;
  background: #cfe0ff;
}

.board-card dd {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

.board-card a {
  position: absolute;
  right: 42px;
  bottom: 38px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  color: #004ae2;
}


/* =========================
   Mobile Feature Fix
   AI-Driven 3 Cards
========================= */
@media (max-width: 767px) {
  .feature-list {
    gap: 16px;
    border-top: 0;
  }

  .feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    min-height: auto;
    padding: 34px 24px 36px;

    text-align: center;
    border: 1px solid #e6ebf3;
    background: #fff;
  }

  .feature::before {
    width: 42px;
    height: 42px;
    margin: 0 auto 18px;
  }

  .feature strong {
    width: 100%;
    padding-bottom: 14px;

    font-size: 22px;
    line-height: 1.35;
    text-align: center;
  }

  .feature strong::after {
    left: 50%;
    width: 72px;
    transform: translateX(-50%);
  }

  .feature p {
    max-width: 260px;
    margin: 18px auto 0;

    font-size: 15px;
    line-height: 1.7;
    text-align: center;
  }
}


/* =========================
   Why
========================= */

.why .section-head {
  margin-bottom: 64px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 170px;
  border: 1px solid #ebeff6;
  background: #fff;
}

.why-thumb {
  background-color: #f4f7fd;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.thumb-global {
  background-image: url("/images/redesign/main/strength_global.png");
}

.thumb-domain {
  background-image: url("/images/redesign/main/strength_domain.png");
}

.thumb-execution {
  background-image: url("/images/redesign/main/strength_execution.png");
}

.thumb-partner {
  background-image: url("/images/redesign/main/strength_partnership.png");
}

.why-copy {
  padding: 32px 38px;
}

.why-copy h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  color: #014ed9;
}

.why-copy p {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

/* =========================
   News
========================= */

.news .section-head {
  margin-bottom: 56px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 470px);
  justify-content: center;
  gap: 32px;
}

.news-card {
  position: relative;
}

.news-link {
  display: block;
  color: inherit;
  transition: transform var(--transition-fast, 0.25s ease);
}

.news-link:hover {
  transform: translateY(-4px);
}

.news-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  height: 48px;
  padding: 0 22px;
  background: #004ae2;
  color: #fff;
  font-family: "Pretendard", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.news-badge.is-orange {
  background: #ff8a22;
}

.news-thumb {
  width: 470px;
  height: 290px;
  border: 1px solid #e7ebf3;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: #fff;
}

.news-card:nth-child(2) .news-thumb {
  border-color: #111;
  background-size: contain;
}

.thumb-aws {
  background-image: url("/images/redesign/main/thumb_news_aws_award.png");
}

.thumb-iso {
  background-image: url("/images/redesign/main/thumb_news_iso9001.png");
}

.thumb-security {
  background-image: url("/images/redesign/main/thumb_insight_identity_attack.png");
  background-color: #000;
  background-size: contain;
  display: flex;
  justify-content: center;
  align-items: center;
}

.news-card h3 {
  margin: 22px 0 0;
  min-height: 68px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: #181818;
}

.news-card p {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.8;
  color: #666;
}

.news .section-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
}

/* =========================
   Responsive - Notebook
   1025px ~ 1199px
========================= */

@media (max-width: 1199px) {
  .cert,
  .service,
  .why,
  .news {
    padding-top: 104px;
  }

  .hero,
  .hero .container {
    min-height: 680px;
  }

  .hero-bg {
    background-size: 105% auto;
    background-position: right bottom;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .hero-copy p {
    font-size: 17px;
  }

  .cert-viewport {
    width: calc(100% - 120px);
  }

  .cert-card img {
    width: 130px;
    height: 130px;
  }

  .cert-card p {
    font-size: 15px;
  }

  .cert-arrow {
    top: 48px;
    width: 46px;
    height: 46px;
  }

  .service-top {
    grid-template-columns: 220px 300px minmax(360px, 1fr);
    gap: 28px;
  }

  .intro-visual img {
    width: 240px;
    height: 240px;
  }

  .intro-copy {
    max-width: 300px;
  }

  .intro-copy h3 {
    font-size: 28px;
  }

  .intro-copy p {
    font-size: 15px;
  }

  .feature {
    min-height: 220px;
    padding: 30px 22px;
  }

  .feature strong {
    font-size: 18px;
  }

  .feature p {
    font-size: 14px;
  }

  .board-cols {
    gap: 16px;
  }

  .board-card {
    min-height: 580px;
    padding: 124px 28px 70px;
  }

  .board-card::before {
    height: 84px;
  }

  .board-card::after {
    top: 18px;
    right: 24px;
    width: 48px;
    height: 48px;
  }

  .board-card:nth-child(1)::before,
  .board-card:nth-child(2)::before,
  .board-card:nth-child(3)::before {
    padding-left: 28px;
    font-size: 22px;
  }

  .board-card dt {
    font-size: 18px;
  }

  .board-card dd {
    font-size: 13px;
  }

  .board-card a {
    right: 28px;
    bottom: 34px;
  }

  .why-card {
    grid-template-columns: 180px 1fr;
  }

  .why-copy {
    padding: 28px;
  }

  .news-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .news-thumb {
    width: 100%;
    height: 240px;
  }

  .news-card h3 {
    font-size: 18px;
  }
}

/* =========================
   Responsive - Tablet
   768px ~ 1024px
========================= */

@media (max-width: 1024px) {
  .cert,
  .service,
  .why,
  .news {
    padding-top: 96px;
  }

  .hero,
  .hero .container {
    min-height: 660px;
  }

  .hero-bg {
    background-size: cover;
    background-position: center center;
  }

  .hero-copy {
    max-width: 600px;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-copy p {
    max-width: 560px;
    font-size: 16px;
  }

  .cert-card {
    flex-basis: 20%;
    max-width: 20%;
    min-width: 20%;
    padding: 0 10px;
  }

  .cert-card img {
    width: 112px;
    height: 112px;
    margin-bottom: 20px;
  }

  .cert-card p {
    max-width: 150px;
    font-size: 13px;
  }

  .service-top {
    grid-template-columns: 190px 260px minmax(260px, 1fr);
    gap: 22px;
  }

  .intro-visual img {
    width: 210px;
    height: 210px;
  }

  .intro-copy {
    max-width: 260px;
  }

  .intro-copy h3 {
    font-size: 25px;
  }

  .intro-copy p {
    font-size: 14px;
    line-height: 1.65;
  }

  .feature-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature {
    min-height: 210px;
    padding: 28px 18px;
  }

  .feature::before {
    width: 40px;
    height: 40px;
  }

  .feature strong {
    font-size: 17px;
  }

  .feature p {
    max-width: 100%;
    font-size: 13px;
  }

  .board-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .board-card {
    min-height: 540px;
    padding: 116px 22px 66px;
  }

  .board-card::before {
    height: 78px;
  }

  .board-card::after {
    top: 16px;
    right: 20px;
    width: 44px;
    height: 44px;
  }

  .board-card:nth-child(1)::before,
  .board-card:nth-child(2)::before,
  .board-card:nth-child(3)::before {
    padding-left: 22px;
    font-size: 20px;
  }

  .board-card dl div + div {
    margin-top: 24px;
  }

  .board-card dt {
    font-size: 17px;
  }

  .board-card dd {
    font-size: 12px;
    line-height: 1.7;
  }

  .board-card a {
    right: 22px;
    bottom: 30px;
    font-size: 13px;
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .why-card {
    grid-template-columns: 150px 1fr;
  }

  .why-copy {
    padding: 24px;
  }

  .why-copy h3 {
    font-size: 19px;
  }

  .why-copy p {
    font-size: 13px;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .news-thumb {
    height: 230px;
  }

  .news-card h3 {
    min-height: auto;
  }
}

/* =========================
   Responsive - Mobile
   767px 이하
========================= */

@media (max-width: 767px) {
  html,
  body {
    overflow-x: hidden;
  }

  .cert,
  .service,
  .why,
  .news {
    padding-top: 90px;
  }

  .hero {
    min-height: 760px;
    padding: 0;
  }

  .hero .container {
    min-height: 760px;
    align-items: flex-start;
    padding-top: 88px;
  }

  body[data-page="main"] .hero .container {
    padding-top: 138px;
  }

  .hero-bg {
    background-size: 132% auto;
    background-position: center bottom;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-copy h1 {
    font-size: 38px;
    line-height: 1.18;
  }

  .hero-copy p {
    margin-top: 28px;
    font-size: 16px;
    line-height: 1.75;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 36px;
  }

  .hero-actions .button {
    width: 100%;
    height: 62px;
    justify-content: center;
    font-size: 20px;
  }

  .cert .section-head {
    margin-bottom: 42px;
  }

  .cert-viewport {
    width: calc(100% - 72px);
  }

  .cert-card {
    flex-basis: 33.3333%;
    max-width: 33.3333%;
    min-width: 33.3333%;
    padding: 0 6px;
  }

  .cert-card img {
    width: 78px;
    height: 78px;
    margin-bottom: 14px;
  }

  .cert-card p {
    max-width: 96px;
    font-size: 11px;
    line-height: 1.45;
    word-break: keep-all;
  }

  .cert-arrow {
    display: block;
    top: 30px;
    width: 34px;
    height: 34px;
  }

  .cert-arrow.prev {
    left: 0;
  }

  .cert-arrow.next {
    right: 0;
  }

  .cert-arrow::before {
    width: 8px;
    height: 8px;
  }

  .service .section-head {
    margin-bottom: 48px;
  }

  .service-top {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .intro-visual img {
    width: 190px;
    height: 190px;
  }

  .intro-copy {
    max-width: 100%;
    text-align: center;
  }

  .intro-copy h3 {
    font-size: 28px;
  }

  .intro-copy p {
    font-size: 15px;
  }

  .intro-copy .button {
    width: 100%;
    max-width: 280px;
  }

  .feature-list {
    grid-template-columns: 1fr;
    border-left: 0;
    border-top: 1px solid #e6ebf3;
  }

  .feature {
    min-height: auto;
    padding: 30px 0;
    border-right: 0;
    border-bottom: 1px solid #e6ebf3;
  }

  .feature:last-child {
    border-bottom: 0;
  }

  .feature p {
    max-width: 100%;
  }

  .board-cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .board-card {
    min-height: auto;
    padding: 116px 28px 80px;
  }

  .board-card::before {
    height: 76px;
  }

  .board-card::after {
    top: 17px;
    right: 24px;
    width: 46px;
    height: 46px;
  }

  .board-card:nth-child(1)::before,
  .board-card:nth-child(2)::before,
  .board-card:nth-child(3)::before {
    padding-left: 28px;
    font-size: 22px;
  }

  .board-card dl div + div {
    margin-top: 30px;
  }

  .board-card dt {
    font-size: 20px;
  }

  .board-card dd {
    font-size: 14px;
  }

  .board-card a {
    right: 28px;
    bottom: 32px;
  }

  .why-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    grid-template-columns: 1fr;
  }

  .why-thumb {
    min-height: 180px;
  }

  .why-copy {
    padding: 28px 26px;
  }

  .news-thumb {
    height: 220px;
  }

  .news-badge {
    min-width: 72px;
    height: 36px;
    padding: 0 14px;
    font-size: 16px;
  }

  .news-card h3 {
    min-height: auto;
    margin-top: 18px;
    font-size: 18px;
  }

  .news-card p {
    margin-top: 12px;
    font-size: 14px;
  }

  .news .section-actions {
    flex-direction: column;
    gap: 12px;
  }

  .news .section-actions .button {
    width: 100%;
  }
}

/* =========================
   Responsive - Small Mobile
   480px 이하
========================= */

@media (max-width: 480px) {
  .hero {
    min-height: 720px;
  }

  .hero .container {
    min-height: 720px;
    padding-top: 84px;
  }

  body[data-page="main"] .hero .container {
    padding-top: 134px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-copy p {
    font-size: 14px;
  }

  .hero-bg {
    background-size: 142% auto;
  }

  .cert-viewport {
    width: calc(100% - 64px);
  }

  .cert-card img {
    width: 72px;
    height: 72px;
  }

  .cert-card p {
    max-width: 88px;
    font-size: 10px;
  }

  .board-card {
    padding: 108px 24px 76px;
  }

  .why-copy {
    padding: 26px 22px;
  }

  .news-thumb {
    height: 190px;
  }
}
