.service,
.service *{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

body {
    margin: 0;
}

/* 히어로 배너 */
.service-hero {
  position: relative;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(10, 10, 20, 0.55), rgba(10, 10, 20, 0.55)),
    url("/image/main_vs2.jpg") center / cover no-repeat;
  padding: 40px 20px;
  text-align: center;
  margin-top: 126px;
}

.service-title {
  color: #ffffff;
  font-size: 45px;
  font-weight: bold;
  margin: 0;
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.service{
  max-width: 1180px;
  margin: 0 auto;
  padding-bottom: 96px;
  color:#14141C;
}

.service .service-intro{
  padding:64px 24px 16px;
}

.service .service-intro .wrap{
  max-width:1180px;
  margin:0 auto;
}

.service .service-intro .eyebrow{
  display:inline-block;
  background:#E85A1B;
  color:#FFFFFF;
  font-size:13px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:6px 14px;
  border-radius:3px;
  margin-bottom:22px;
}

.service .service-intro h1{
  font-size:clamp(28px, 4vw, 42px);
  line-height:1.15;
  margin:0 0 14px;
  font-weight:800;
  color:#14141C;
}

.service .service-intro h1 .hl{
  color:#E85A1B;
}

.service .service-intro .lede{
  color:#6B7280;
  font-size:17px;
  max-width:1180px;
  line-height:1.6;
  margin:0 0 28px;
}

.service .service-intro .note{
  border-left:3px solid #E85A1B;
  background:linear-gradient(90deg, rgba(232,90,27,0.06), rgba(232,90,27,0));
  padding:14px 20px;
  font-size:14px;
  line-height:1.6;
  color:#3A3F4B;
  border-radius:0 6px 6px 0;
}

/* ===== 서비스 한눈에 보기 ===== */
.service .service-overview{
  padding:40px 24px 8px;
}

.service .service-overview .wrap{
  max-width:1180px;
  margin:0 auto;
}

.service .overview-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:14px;
}

.service .overview-item{
  display:block;
  border:1px solid #E7E7EC;
  border-radius:12px;
  padding:18px 20px;
  text-decoration:none;
  transition:border-color .2s ease, transform .2s ease;
}

.service .overview-item:hover{
  border-color:#E85A1B;
  transform:translateY(-3px);
}

.service .overview-item .num{
  display:block;
  font-size:13px;
  font-weight:800;
  color:#E85A1B;
  letter-spacing:.04em;
}

.service .overview-item .t{
  display:block;
  font-size:14px;
  font-weight:700;
  color:#14141C;
  margin-top:6px;
  line-height:1.4;
}

.service .band{
  position:relative;
  overflow:hidden;
  padding:72px 24px;
}

.service .band.alt{
  background:#FAFAFA;
}

.service .band-num{
  position:absolute;
  font-size:220px;
  top: -5px;
  font-weight:800;
  line-height:1;
  color:rgba(232,90,27,0.05);
  z-index:0;
  pointer-events:none;
  user-select:none;
}

.service .band.accent-teal .band-num{
  color:rgba(14,158,122,0.06);
}

.service .band-num.right{
  right:-10px;
}

.service .band-num.left{
  left:-10px;
}

.service .band-inner{
  position:relative;
  z-index:1;
  max-width:1120px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  align-items:center;
}

.service .band.reverse .band-inner{
  direction:rtl;
}

.service .band.reverse .band-inner > *{
  direction:ltr;
}

.service .band-media{
  position:relative;
}

.service .band-media::before{
  content:'';
  position:absolute;
  inset:18px -18px -18px 18px;
  background:rgba(232,90,27,0.10);
  border-radius:18px;
  z-index:0;
}

.service .band.reverse .band-media::before{
  inset:18px 18px -18px -18px;
}

.service .band.accent-teal .band-media::before{
  background:rgba(14,158,122,0.10);
}

.service .band-media img{
  position:relative;
  z-index:1;
  width:100%;
  display:block;
  border-radius:18px;
  border:1px solid #E7E7EC;
}

.service .band-tag{
  display:inline-flex;
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#E85A1B;
  background:rgba(232,90,27,0.10);
  padding:5px 12px;
  border-radius:20px;
  margin-bottom:18px;
}

.service .band.accent-teal .band-tag{
  color:#0E9E7A;
  background:rgba(14,158,122,0.10);
}

.service .band-content h2{
  font-size:29px;
  font-weight:800;
  color:#14141C;
  line-height:1.3;
  margin-bottom:28px;
}

.service .feature-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px 24px;
}

.service .feature-item{
  display:flex;
  align-items:flex-start;
  gap:10px;
}

.service .feature-item .check{
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
  width:20px;
  height:20px;
  border-radius:50%;
  background:rgba(232,90,27,0.12);
  color:#E85A1B;
  font-size:12px;
  font-weight:800;
  margin-top:2px;
}

.service .band.accent-teal .feature-item .check{
  background:rgba(14,158,122,0.12);
  color:#0E9E7A;
}

.service .feature-item .txt{
  font-size:15px;
  line-height:1.6;
  color:#3A3F4B;
}

/* ===== 공통 섹션 헤드 (퀴즈/방송/이벤트 섹션 공용, business.php와 동일 스타일) ===== */
.service .service-quiz,
.service .service-broadcast,
.service .service-event{
  padding:56px 32px;
}

.service .service-quiz .wrap,
.service .service-broadcast .wrap,
.service .service-event .wrap{
  max-width:1080px;
  margin:0 auto;
}

.service .service-broadcast {
  background: #FAFAFA;
}

.service .service-event{
  background:#ffffff;
}

.service .section-head{
  text-align:center;
  margin-bottom:36px;
}

.service .section-head .eyebrow{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:5px 12px;
  border-radius:20px;
  margin-bottom:14px;
}

.service .section-head .eyebrow.o{
  color:#E85A1B;
  background:rgba(232,90,27,0.10);
}

.service .section-head .eyebrow.t{
  color:#0E9E7A;
  background:rgba(14,158,122,0.10);
}

.service .section-head h2{
  font-size:23px;
  font-weight:800;
  color:#14141C;
  margin-bottom:8px;
}

.service .section-head p{
  font-size:14px;
  color:#6B7280;
  max-width:560px;
  margin:0 auto;
}

.service .empty-msg{
  text-align:center;
  color:#9CA0AC;
  font-size:14px;
  padding:24px 0;
}

/* ===== 퀴즈 형식 카드 ===== */
.service .quiz-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
}

.service .quiz-card{
  background:#FFFFFF;
  border:1px solid #E7E7EC;
  border-radius:14px;
  padding:24px;
  text-align:center;
  transition:transform .25s ease, box-shadow .25s ease;
}

.service .quiz-card:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 24px rgba(20,20,28,0.07);
}

.service .quiz-card .icon{
  width:44px;
  height:44px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 14px;
  font-size:21px;
}

.service .quiz-card.o .icon{
  background:rgba(232,90,27,0.12);
}

.service .quiz-card.t .icon{
  background:rgba(14,158,122,0.12);
}

.service .quiz-card h3{
  font-size:16px;
  font-weight:800;
  margin-bottom:8px;
}

.service .quiz-card.o h3{
  color:#E85A1B;
}

.service .quiz-card.t h3{
  color:#0E9E7A;
}

.service .quiz-card p{
  font-size:13px;
  line-height:1.65;
  color:#3A3F4B;
  margin-top:6px;
}

/* ===== 방송: 모니터 카드 ===== */
.service .monitor-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  grid-auto-rows:1fr;
  gap:24px;
  align-items:stretch;
}

.service .monitor{
  background:#FFFFFF;
  border:1px solid #E7E7EC;
  border-radius:14px;
  padding:14px 14px 18px;
  display:flex;
  flex-direction:column;
  transition:transform .25s ease, box-shadow .25s ease;
}

.service .monitor:hover{
  transform:translateY(-5px);
  box-shadow:0 14px 30px rgba(20,20,28,0.09);
}

.service .screen{
  position:relative;
  background:#14141C;
  border-radius:8px;
  height:150px;
  width:100%;
  overflow:hidden;
  flex-shrink:0;
}

.service .screen img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.service .live-tag{
  position:absolute;
  top:10px;
  left:10px;
  display:flex;
  align-items:center;
  gap:5px;
  background:rgba(0,0,0,0.55);
  padding:4px 8px;
  border-radius:20px;
  z-index:2;
}

.service .live-dot{
  width:6px;
  height:6px;
  border-radius:50%;
  background:#FF4D4D;
  animation:service-pulse 1.4s ease-in-out infinite;
}

@keyframes service-pulse{
  0%,100%{ opacity:1; transform:scale(1); }
  50%{ opacity:.35; transform:scale(0.7); }
}

.service .live-tag span:last-child{
  font-size:10px;
  font-weight:800;
  color:#FFFFFF;
  letter-spacing:.05em;
}

.service .m-body{
  padding:16px 4px 0;
  display:flex;
  flex-direction:column;
  flex:1;
}

.service .m-title{
  font-size:15px;
  font-weight:800;
  color:#14141C;
  margin-bottom:8px;
}

.service .m-desc{
  font-size:13px;
  color:#6B7280;
  line-height:1.65;
  margin-bottom:12px;
  flex:1;
}

.service .m-link{
  font-size:13px;
  font-weight:700;
  color:#E85A1B;
  text-decoration:none;
}

/* ===== 이벤트: 스트라이프 카드 ===== */
.service .stripe-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:14px;
}

.service .s-card{
  background:#FFFFFF;
  border:1px solid #E7E7EC;
  border-left:5px solid #E85A1B;
  border-radius:0 12px 12px 0;
  padding:18px 20px;
  display:flex;
  gap:16px;
  align-items:flex-start;
  transition:transform .25s ease, box-shadow .25s ease, border-left-width .25s ease;
}

.service .s-card:nth-child(even){
  border-left-color:#0E9E7A;
}

.service .s-card:hover{
  transform:translateX(4px);
  box-shadow:0 10px 24px rgba(20,20,28,0.07);
  border-left-width:9px;
}

.service .s-card .badge-icon{
  flex-shrink:0;
  width:46px;
  height:46px;
  border-radius:50%;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}

.service .s-card .badge-icon img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.service .s-card:nth-child(odd) .badge-icon{
  background:rgba(232,90,27,0.12);
}

.service .s-card:nth-child(even) .badge-icon{
  background:rgba(14,158,122,0.12);
}

.service .s-card .title{
  font-size:15px;
  font-weight:800;
  margin-bottom:6px;
  color:#14141C;
}

.service .s-card .desc{
  font-size:13px;
  color:#6B7280;
  line-height:1.65;
  margin-bottom:10px;
}

.service .s-card .link{
  font-size:13px;
  font-weight:700;
  color:#E85A1B;
  text-decoration:none;
}

/* ===== 스크롤 리빌 애니메이션 ===== */
.service .reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .6s ease, transform .6s ease;
}

.service .reveal.visible{
  opacity:1;
  transform:translateY(0);
}

/* 방송/이벤트 카드는 ko/en 둘 다 DOM에 같이 렌더링해두고,
   현재 언어에 맞는 것만 보여주는 방식 (business.php와 동일한 방식) */
.service [data-lang-item]{ display:none; }
html[data-active-lang="ko"] .service [data-lang-item="ko"]{ display:flex; }
html[data-active-lang="en"] .service [data-lang-item="en"]{ display:flex; }

@media (max-width:960px){
  .service .band-inner{
    grid-template-columns:1fr;
    gap:32px;
    direction:ltr !important;
  }

  .service .band-inner > *{
    direction:ltr !important;
  }

  .service .band-media{
    order:-1;
  }

  .service .band-media::before,
  .service .band.reverse .band-media::before{
    inset:14px -14px -14px 14px;
  }

  .service .band-content h2{
    font-size:23px;
    margin-bottom:20px;
  }

  .service .feature-grid{
    grid-template-columns:1fr;
    gap:12px;
  }

  .service .band-num{
    display:none;
  }

  .service .service-hero h1{
    font-size:25px;
  }
}

@media (max-width:900px){
  .service .overview-grid{
    grid-template-columns:repeat(2, 1fr);
  }

  .service .monitor-grid{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width:860px){
  .service .quiz-grid{
    grid-template-columns:1fr;
  }

  .service .stripe-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:600px){
  .service .service-hero{
    padding:48px 20px 8px;
  }

  .service .band{
    padding:48px 20px;
  }

  .service .service-overview{
    padding:24px 20px 4px;
  }

  .service .overview-grid{
    grid-template-columns:1fr;
  }

  .service .service-quiz,
  .service .service-broadcast,
  .service .service-event{
    padding:40px 20px;
  }

  .service .monitor-grid{
    grid-template-columns:1fr;
  }
}