@charset "utf-8";

/* ───────── 전역 가로 스크롤 방지 ───────── */


/* ───────── CSS 변수 ───────── */
:root {
  --orange:   #E87722;
  --orange-h: #d06818;
  --dark:     #1a1a1a;
  --gray:     #555;
  --light-g:  #888;
  --border:   #e0e0e0;
  --bg:       #f8f7f5;
  --white:    #ffffff;
  --sp:       100px 0;
}

/* ───────── SCROLL REVEAL ───────── */
.reveal-title {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-body {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease 0.18s, transform 0.6s ease 0.18s;
}
.reveal-card {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-card:nth-child(1) { transition-delay: 0.05s; }
.reveal-card:nth-child(2) { transition-delay: 0.15s; }
.reveal-card:nth-child(3) { transition-delay: 0.25s; }
.reveal-card:nth-child(4) { transition-delay: 0.35s; }
.reveal-title.visible,
.reveal-body.visible,
.reveal-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ───────── SUB TABS ───────── */
.sub-tabs {
  position: sticky; top: 68px; z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.sub-tabs-inner {
  max-width: 1440px; width: 90%; margin: 0 auto;
  display: flex; padding: 0 40px;
  overflow-x: auto;
}
.sub-tab {
  font-size: 14px; font-weight: 500;
  color: var(--light-g);
  padding: 18px 24px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.sub-tab:hover { color: var(--dark); }
.sub-tab.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
  font-weight: 700;
}

/*company 회사소개 시작*/

/* ── SECTION BASE (공통) ── */
.section { padding: var(--sp); }
.section-inner { max-width: 1440px; width: 90%; margin: 0 auto; padding: 0; box-sizing: border-box; }
.section-header { margin-bottom: 64px; }
.section-eyebrow {
  display: block;
  font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 18px; font-weight: 500;
}

.section-title {
  font-size: clamp(26px, 3vw, 45px);
  font-weight: 700; line-height: 1.35;
  color: var(--dark); word-break: keep-all;
}
.section-title em { font-style: normal; color: var(--orange); }
.section-desc {
  margin-top: 16px; font-size: 17px; line-height: 1.9;
  color: var(--light-g); max-width: 600px; word-break: keep-all;
}

/* ── FULL HERO ── */
.co-full-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  /* 스크롤 애니메이션으로 변형될 속성들 */
  border-radius: 0;
  margin: 0 auto;
  transition: border-radius 0.05s linear;
  /* 라운드로 변할 때 배경색이 드러나도록 */
  background: #111;
}

/* 배경 이미지 영역 (패럴랙스용) */
.co-hero-bg {
  position: absolute;
  inset: -20% 0;
  background-color: #1a2535;

  will-change: transform;
}
.co-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* 다크 그라디언트 오버레이 */
.co-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 50%, transparent 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, transparent 40%);
  z-index: 1;
}

/* 텍스트 콘텐츠 */
.co-hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 40px 60px;
  text-align: center;
}

.co-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.co-hero-eyebrow::before {
  display: none;
}
.co-hero-eyebrow.visible { opacity: 1; transform: none; }

.co-hero-title {
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 24px;
  word-break: keep-all;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.co-hero-title em { font-style: normal; color: var(--orange); }
.co-hero-title.visible { opacity: 1; transform: none; }

.co-hero-desc {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255,255,255,0.7);
  line-height: 1.85;
  word-break: keep-all;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.co-hero-desc.visible { opacity: 1; transform: none; }

/* 스크롤 유도 */
.co-hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.35);
  font-size: 10px;
  letter-spacing: 0.2em;
}
.co-hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: heroScrollLine 2s ease-in-out infinite;
}
@keyframes heroScrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.5); opacity: 0.3; }
}

/* ── INTRO ── */
.co-intro { background: var(--white); }
.co-intro-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.co-img-placeholder {
  width: 100%; aspect-ratio: 4/3;
  background: var(--bg);
  border-radius: 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; color: var(--light-g); font-size: 13px;
  border: 2px dashed var(--border);
}
.co-img-placeholder:has(img) {
  border: none;
  background: none;
}
.co-img-placeholder img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.co-img-placeholder svg { opacity: 0.4; }
.co-img-placeholder span { opacity: 0.55; font-weight: 500; }
.co-intro-title {
  font-size: clamp(24px, 3vw, 45px);
  font-weight: 800; line-height: 1.35;
  color: var(--dark); margin-bottom: 20px; word-break: keep-all;
}
.co-intro-title em { font-style: normal; color: var(--orange); }
.co-intro-body {
  font-size: 17px; color: var(--light-g); line-height: 1.9; word-break: keep-all;
}

/* ── IDENTITY ── */
.co-identity { background: var(--bg); }
.co-id-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.co-id-card {
  background: var(--white); border-radius: 16px;
  padding: 36px 28px;
  border: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.co-id-card:hover {
  border-color: var(--orange);
  box-shadow: 0 12px 32px rgba(232,119,34,0.1);
  transform: translateY(-4px);
}
.co-id-badge {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(232,119,34,0.1);
  color: var(--orange); font-size: 17px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.co-id-title {
  font-size: 22px; font-weight: 700;
  color: var(--dark); margin-bottom: 10px;
}
.co-id-body {
  font-size: 16px; color: var(--light-g); line-height: 1.8; word-break: keep-all;
}

/* ── SERVICES (세방그룹 스타일) ── */
.co-services-wrap {
  background: linear-gradient(160deg, #2e2e2e 0%, #1a1a1a 45%, #0e0e0e 100%);
  padding: 80px 0 140px;
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
  max-width: 100%;
}

/* 서비스 섹션 내부 max-width 제한 래퍼 */
.co-services-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
}

/* 왼쪽 타이틀 영역 */
.co-svc-left {
  flex-shrink: 0;
  width: 520px;
  padding: 0 60px 0 0;
}
.co-svc-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}
.co-svc-heading {
  font-size: clamp(28px, 3vw, 45px);
  font-weight: 800; line-height: 1.2;
  color: var(--white);
  margin-bottom: 20px; word-break: keep-all;
}
.co-svc-left-desc {
  font-size: 16px; color: rgba(255,255,255,0.5);
  line-height: 1.9; word-break: keep-all;
}

/* 오른쪽 카드 스크롤 영역 */
.co-svc-cards-wrap {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  /* 카드 오른쪽 끝 딱 붙게 */
  margin-right: 0;
  padding-right: 0;
}
.co-svc-cards-wrap::-webkit-scrollbar { display: none; }
.co-svc-cards-wrap.is-dragging { cursor: grabbing; user-select: none; }

.co-svc-cards {
  display: flex;
  align-items: stretch;
  padding: 28px 0 28px 0;
  width: max-content;
  gap: 24px;
}

.co-svc-card {
  flex-shrink: 0;
  width: 300px;
  background: var(--white);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.co-svc-title {
  font-size: 22px; font-weight: 800;
  color: var(--dark); word-break: keep-all;
}
.co-svc-body {
  font-size: 16px; color: var(--light-g);
  line-height: 1.8; word-break: keep-all;
}
.co-img-placeholder {
  width: 100%; aspect-ratio: 4/3;
  background: var(--bg);
  border-radius: 12px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px; color: var(--light-g); font-size: 12px;
  border: 2px dashed var(--border);
  margin-top: auto;
}
.co-img-placeholder svg { opacity: 0.4; }
.co-img-placeholder span { opacity: 0.5; font-weight: 500; }

/* ── CTA STRIP ── */
.co-cta-strip {
  background: var(--orange);
  padding: 80px 24px; text-align: center;
}
.co-cta-title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800; color: var(--white);
  line-height: 1.35; margin-bottom: 14px; word-break: keep-all;
}
.co-cta-sub {
  font-size: 15px; color: rgba(255,255,255,0.85);
  margin-bottom: 36px; line-height: 1.8; word-break: keep-all;
}
.co-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--orange);
  font-size: 15px; font-weight: 700;
  padding: 14px 32px; border-radius: 50px;
  text-decoration: none;
  transition: background .25s, transform .25s, box-shadow .25s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.co-cta-btn:hover {
  background: var(--dark); color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.co-cta-btn svg { transition: transform .25s; }
.co-cta-btn:hover svg { transform: translateX(4px); }

/* ── RESPONSIVE ── */

/* 태블릿 가로 */
@media (max-width: 1024px) {
  .co-svc-left { width: 280px; padding: 0 32px 0 48px; }
}

/* 태블릿 세로 / 모바일 가로 */
@media (max-width: 900px) {
  .co-hero-content { padding: 0 32px 48px; }
  .co-intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .co-intro-text { order: -1; }
  .co-id-grid { grid-template-columns: 1fr 1fr; }

  /* 서비스: 타이틀 위 / 카드 아래 */
  .co-services-wrap { flex-direction: column; padding: 48px 0 120px; gap: 0; }
  .co-svc-left { width: 100%; padding: 0 32px 32px; }
  .co-svc-cards-wrap { width: 100%; }
  .co-svc-cards { padding: 0 24px; gap: 16px; }
  .co-svc-card { width: 240px; }
}

/* 모바일 세로 */
@media (max-width: 640px) {
  .section-inner { padding: 0 20px; }

  /* 히어로 */
  .co-full-hero { min-height: 100svh; }
  .co-hero-content { padding: 0 24px 40px; }
  .co-hero-title { font-size: clamp(24px, 7vw, 34px); }
  .co-hero-desc { font-size: 14px; }

  /* 인트로 */
  .co-intro-title { font-size: clamp(20px, 6vw, 28px); }
  .co-intro-body { font-size: 14px; }

  /* 아이덴티티 */
  .co-id-grid { grid-template-columns: 1fr; gap: 10px; }
  .co-id-card { padding: 24px 20px; }

  /* 서비스 */
  .co-services-wrap { padding: 40px 0 100px; }
  .co-svc-left { padding: 0 20px 24px; }
  .co-svc-heading { font-size: 28px; }
  .co-svc-cards { padding: 0 20px; gap: 14px; }
  .co-svc-card { width: 200px; padding: 22px 18px; }
  .co-svc-title { font-size: 16px; }
  .co-svc-body { font-size: 13px; }

  /* CTA */
  .co-cta-strip { padding: 56px 20px; }
  .co-cta-title { font-size: clamp(20px, 6vw, 28px); }
  .co-cta-btn { width: 100%; justify-content: center; }
}

/*company 회사소개 끝*/

/*greeting 인사말 시작*/

.gr-wrap {
  background: var(--white);
}

.gr-inner {
  max-width: 1440px;
  width: 90%;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 120px) clamp(24px, 5vw, 80px) clamp(80px, 10vw, 160px);
  overflow: visible; /* sticky 작동 위해 반드시 visible */
}

/* ── 2열 그리드: 왼쪽 sticky / 오른쪽 스크롤 ── */
.gr-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}
.gr-right {
  min-height: 100vh;
}

/* ── 왼쪽 sticky ── */
.gr-left {
  position: sticky;
  top: 100px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.gr-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--orange); font-weight: 600;
}
.gr-eyebrow::before {
  display: none;
}

/* 왼쪽 인용구 */
.gr-quote {
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 700; line-height: 1.5;
  color: var(--dark); word-break: keep-all;
  letter-spacing: -0.2px;
  font-size: 30px;
}
.gr-quote em { color: var(--orange); font-style: normal; font-weight: 700; }

/* ── 오른쪽 본문 ── */
.gr-right { padding-top: 2px; }

/* 상단 인사 강조 */
.gr-greeting {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300; line-height: 1.7;
  color: var(--dark); word-break: keep-all;
  margin-bottom: 48px; padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.gr-greeting strong { font-weight: 700; }

/* 본문 단락 */
.gr-para {
  font-size: clamp(15px, 1.3vw, 16px);
  color: #555; line-height: 2.2; font-weight: 300;
  margin-bottom: 36px;
  word-break: keep-all;
}
.gr-para:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.gr-para strong { font-weight: 600; color: var(--dark); }
.gr-para em { color: var(--orange); font-style: normal; font-weight: 600; }

/* 하단 서명 */
.gr-sign {
  display: flex; flex-direction: column; gap: 5px;
  margin-top: 56px; padding-top: 32px;
  border-top: 1px solid var(--border);
  align-items: flex-end; /* 오른쪽 정렬 */
  text-align: right;
}
.gr-sign-company { font-size: 11px; color: var(--light-g); letter-spacing: 0.5px; line-height: 1.6; }
.gr-sign-position { font-size: 13px; color: var(--gray); margin-top: 6px; }
.gr-sign-name {
  font-size: clamp(20px, 2vw, 26px); font-weight: 700;
  letter-spacing: 8px; color: var(--dark); margin-top: 4px;
}

/* ── reveal 애니메이션 ── */
.reveal-para {
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-sign {
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.7s ease 0.1s, transform 0.7s ease 0.1s;
}
.reveal-para.visible,
.reveal-sign.visible { opacity: 1; transform: none; }

/* ── 반응형 ── */

/* 태블릿 가로 */
@media (max-width: 1024px) {
  .gr-content { grid-template-columns: 240px 1fr; gap: 60px; }
  .gr-quote { font-size: clamp(15px, 1.4vw, 18px); }
}

/* 태블릿 세로 */
@media (max-width: 900px) {
  .gr-content { grid-template-columns: 1fr; gap: 0; }
  .gr-left {
    position: static;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 24px;
  }
  .gr-eyebrow { grid-column: 1 / -1; }
  .gr-quote { font-size: 2rem; }
  .gr-greeting { font-size: 20px; }
  .gr-sign { align-items: flex-start; text-align: left; margin-top: 40px; }
}

/* 모바일 */
@media (max-width: 640px) {
  .gr-inner { padding: 40px 20px 80px; }
  .gr-left {
    grid-template-columns: 1fr;
    margin-bottom: 36px;
    padding-bottom: 32px;
  }
  .gr-quote { font-size: 2rem; }
  .gr-greeting { font-size: 18px; margin-bottom: 28px; padding-bottom: 28px; }
  .gr-para { font-size: 15px; line-height: 2.0; margin-bottom: 28px; padding-bottom: 28px; }
  .gr-sign { margin-top: 32px; padding-top: 24px; }
  .gr-sign-name { font-size: 20px; letter-spacing: 5px; }
}

/*greeting 인사말 끝*/

.bo_wrap{padding:100px 0;}
/*mergers 인수합병 시작*/

/* ── 히어로 ── */
.mg-hero {
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.mg-hero-bg {
  position: absolute; inset: 0;
}
.mg-hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform-origin: center;
}
.mg-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.8) 0%, rgba(30,30,30,0.3) 10%);
}
.mg-hero-content {
  position: relative; z-index: 2;
  padding: 0 clamp(24px, 8vw, 160px);
  max-width: 800px;
}
.mg-hero-eyebrow {
  font-size: 11px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 20px; font-weight: 600;
  display: flex; align-items: center; gap: 12px;
}
.mg-hero-eyebrow::before {
  display: none;
}
.mg-hero-title {
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 400; color: #fff;
  line-height: 1.3; letter-spacing: -0.5px;
  margin-bottom: 20px; word-break: keep-all;
}
.mg-hero-title em {
  font-style: normal; font-weight: 700;
  color: var(--orange);
}
.mg-hero-desc {
  font-size: clamp(14px, 1.4vw, 17px);
  color: rgba(255,255,255,0.7);
  font-weight: 300; line-height: 1.8; word-break: keep-all;
}

/* ── 소개문 ── */
.mg-intro { background: var(--white); }
.mg-intro-grid {
  max-width: 760px;
}
.mg-intro-body {
  font-size: clamp(15px, 1.3vw, 16px);
  color: var(--gray); line-height: 2.0;
  font-weight: 300; word-break: keep-all;
  margin-top: 20px;
}

/* ── 프로세스 섹션 ── */
.mg-process-wrap {
  background: var(--white);
  padding: 100px 0 80px;
}
.mg-process-wrap .section-eyebrow { color: var(--orange); }
.mg-process-wrap .section-title { color: var(--dark); }
.mg-process-wrap .section-title em { color: var(--orange); }
.mg-process-wrap .section-desc { color: var(--gray); margin-top: 12px; }
.mg-process-wrap .section-header { margin-bottom: 36px; }

/* 이미지 배경 라운드 박스 */
.mg-process-bg {
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
}
.mg-process-image {
  width: 100%;
  height: 360px;
  background: var(--bg);
}
.mg-process-image img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

/* 카드 3개 - 이미지 절반에 걸쳐서 위로 */
.mg-process-steps {
  width:90%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin:0 auto;
  position: relative;
  z-index: 2;
  padding-bottom: 0;
}

/* ── 반응형 ── */
@media (max-width: 1024px) {
  .mg-process-steps { gap: 16px; }
}
@media (max-width: 900px) {
  .mg-process-image { height: 260px; }
  .mg-process-steps {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }
}
@media (max-width: 640px) {
  .mg-process-image { height: 200px; }
  .mg-process-wrap { padding: 60px 0 60px; }
}

/* ── 강점 카드 ── */
.mg-strengths { background: var(--white); }
.mg-str-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.mg-str-card {
  background: var(--bg);
  border-radius: 16px;
  padding: 36px 28px;
  border: 1px solid transparent;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.mg-str-card:hover {
  border-color: var(--orange);
  box-shadow: 0 12px 40px rgba(232,119,34,0.08);
  transform: translateY(-4px);
}
.mg-str-icon {
  width: 56px; height: 56px;
  background: rgba(232,119,34,0.08);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange); margin-bottom: 20px;
}
.mg-str-title {
  font-size: 22px; font-weight: 700;
  color: var(--dark); margin-bottom: 12px;
}
.mg-str-body {
  font-size: 16px; color: var(--gray);
  line-height: 1.9; font-weight: 300; word-break: keep-all;
}



/* ── CTA ── */
.mg-cta {
  background: linear-gradient(160deg, #2e2e2e 0%, #1a1a1a 50%, #0e0e0e 100%);
  padding: clamp(80px, 10vw, 140px) 24px clamp(100px, 12vw, 160px);
  text-align: center;
}
.mg-cta-eyebrow {
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--orange); font-weight: 600;
  margin-bottom: 16px; display: block;
}
.mg-cta-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700; color: #fff;
  line-height: 1.3; margin-bottom: 16px;
  word-break: keep-all;
}
.mg-cta-desc {
  font-size: clamp(14px, 1.3vw, 16px);
  color: rgba(255,255,255,0.5);
  line-height: 1.8; margin-bottom: 40px; word-break: keep-all;
}
.mg-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--orange); color: #fff;
  padding: 16px 36px; border-radius: 100px;
  font-size: 15px; font-weight: 600;
  text-decoration: none; letter-spacing: 0.3px;
  transition: background 0.25s, transform 0.25s;
}
.mg-cta-btn:hover {
  background: var(--orange-h); transform: translateY(-2px);
}
.mg-cta-btn svg { transition: transform 0.25s; }
.mg-cta-btn:hover svg { transform: translateX(4px); }

/* ── 반응형 ── */
@media (max-width: 1024px) {
  .mg-process-steps { gap: 0; }
  .mg-step { padding: 28px 20px; }
  .mg-step-arrow { width: 36px; }
}
@media (max-width: 900px) {
  .mg-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .mg-intro-left { flex-direction: row; flex-wrap: wrap; }
  .mg-process-steps {
    flex-direction: column;
    gap: 16px;
  }
  .mg-step-arrow {
    transform: rotate(90deg);
    padding-top: 0;
    width: 100%;
    height: 36px;
  }
  .mg-str-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .mg-hero { height: 420px; }
  .mg-hero-title { font-size: clamp(24px, 7vw, 34px); }
  .mg-str-grid { grid-template-columns: 1fr; }
  .mg-process-wrap { padding: 64px 0; }
}

/*mergers 인수합병 끝*/
/* ── 프로세스 카드 + 배경 ── */
.mg-process-bg {
  width: 100%;
  height: 360px;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 40px;
  margin-bottom: -160px;
}
.mg-process-bg img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.mg-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.mg-step:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 32px rgba(232,119,34,0.1);
}
.mg-step-num {
  font-size: 13px; letter-spacing: 3px;
  color: var(--orange); font-weight: 700;
  margin-bottom: 16px;
}
.mg-step-icon {
  width: 52px; height: 52px;
  background: rgba(232,119,34,0.10);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  margin-bottom: 20px;
}
.mg-step-title {
  font-size: 22px; font-weight: 700;
  color: var(--dark); line-height: 1.4;
  margin-bottom: 12px;
}
.mg-step-title span {
  display: block; font-size: 16px; font-weight: 400;
  color: var(--light-g); margin-top: 4px;
}
.mg-step-body {
  font-size: 17px; color: var(--gray);
  line-height: 1.8; font-weight: 300;
  margin-bottom: 20px; word-break: keep-all;
}
.mg-step-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.mg-step-list li {
  font-size: 17px; color: var(--light-g);
  padding-left: 14px; position: relative;
}
.mg-step-list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--orange);
}
@media (max-width: 900px) {
  .mg-process-bg { height: 240px; margin-bottom: 20px; }
}
@media (max-width: 640px) {
  .mg-process-bg { height: 180px; border-radius: 14px; }
  .mg-step { padding: 28px 20px; }
}
/* CTA 이미지 배경 */
.mg-cta { position: relative; overflow: hidden; }
.mg-cta-bg {
  position: absolute; inset: 0; z-index: 0;
}
.mg-cta-bg img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.mg-cta-overlay {
  position: absolute; inset: 0; z-index: 0;
  background: rgba(0,0,0,0.65);
}
.mg-cta-inner { position: relative; z-index: 2; }
/* ── 마케팅 페이지 ── */
.mk-intro { padding: 80px 0 40px; }
.mk-intro .section-eyebrow { color: var(--orange); }
.mk-intro .section-title { color: var(--dark); }
.mk-intro .section-title em { color: var(--orange); }

.mk-banner { padding: 0 0 60px; }
.mk-banner-img {
  width: 100%;
  height: 280px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg);
  position: relative;
}
.mk-banner-img img {
  width: 100%; height: 140%;
  object-fit: cover; display: block;
  position: absolute;
  top: -20%; left: 0;
  will-change: transform;
}

.mk-body { padding: 60px 0 80px; }
.mk-body-wrap {
  max-width: 760px;
  display: flex; flex-direction: column; gap: 24px;
}
.mk-body-wrap p {
  font-size: 16px; color: var(--gray);
  line-height: 1.9; font-weight: 400;
  word-break: keep-all;
}

/* 강점 4개 카드 */
.mk-strengths { background: var(--bg); padding: 80px 0 100px; }
.mk-str-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 0;
}
.mk-str-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s;
  text-align: center;
}
.mk-str-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 32px rgba(232,119,34,0.1);
}
.mk-str-icon {
  width: 60px; height: 60px;
  background: rgba(232,119,34,0.10);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  margin: 0 auto 20px;
}
.mk-str-title {
  font-size: 16px; font-weight: 700;
  color: var(--dark); line-height: 1.5;
  margin-bottom: 12px;
}
.mk-str-body {
  font-size: 13px; color: var(--gray);
  line-height: 1.8; font-weight: 300;
}

@media (max-width: 900px) {
  .mk-banner-img { height: 320px; }
  .mk-str-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .mk-intro { padding: 60px 0 30px; }
  .mk-banner-img { height: 220px; border-radius: 14px; }
  .mk-body-wrap p { font-size: 15px; }
  .mk-str-grid { grid-template-columns: 1fr; }
}
/* ── 마케팅 페이지 끝 ── */
/* ── 마케팅 페이지 ── */
.mk-intro { padding: 80px 0 40px; }
.mk-intro .section-eyebrow { color: var(--orange); }
.mk-intro .section-title { color: var(--dark); }
.mk-intro .section-title em { color: var(--orange); }

.mk-banner { padding: 0 0 60px; }
.mk-banner-img {
  width: 100%; height: 280px;
  border-radius: 20px; overflow: hidden;
  background: var(--bg); position: relative;
}
.mk-banner-img img {
  width: 100%; height: 140%;
  object-fit: cover; display: block;
  position: absolute; top: -20%; left: 0;
  will-change: transform;
}

.mk-body { padding: 60px 0 80px; }
.mk-body-wrap {
  max-width: 760px;
  display: flex; flex-direction: column; gap: 24px;
}
.mk-body-wrap p {
  font-size: 18px; color: var(--gray);
  line-height: 1.9; font-weight: 400; word-break: keep-all;
}

/* 프로세스 4단계 */
.mk-process { background: var(--bg); padding: 80px 0 100px; }
.mk-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.mk-process-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 24px;
  border: 1px solid var(--border);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  position: relative;
}
.mk-process-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 32px rgba(232,119,34,0.08);
  transform: translateY(-4px);
}
.mk-process-num {
  font-size: 11px; letter-spacing: 3px;
  color: var(--orange); font-weight: 700;
  margin-bottom: 20px;
}
.mk-process-icon {
  width: 52px; height: 52px;
  background: rgba(232,119,34,0.10);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  margin-bottom: 20px;
}
.mk-process-title {
  font-size: 16px; font-weight: 700;
  color: var(--dark); line-height: 1.5;
  margin-bottom: 12px;
}
.mk-process-body {
  font-size: 13px; color: var(--gray);
  line-height: 1.8; font-weight: 300;
}

@media (max-width: 900px) {
  .mk-banner-img { height: 320px; }
  .mk-process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .mk-intro { padding: 60px 0 30px; }
  .mk-banner-img { height: 220px; border-radius: 14px; }
  .mk-body-wrap p { font-size: 15px; }
  .mk-process-grid { grid-template-columns: 1fr; }
}
/* ── 마케팅 페이지 끝 ── */

/* ── 서브 탑배너 ── */
.sub-top-banner {
  background: var(--white);
  padding: 150px 0 120px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.sub-top-banner.has-bg { padding: 80px 0; }
.sub-top-bg {
  position: absolute; inset: 0; z-index: 0;
}
.sub-top-bg img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.sub-top-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(0,0,0,0.5);
}
.sub-top-inner {
  position: relative; z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  width: 90%;
  padding: 0 40px;
}
.sub-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--light-g);
  margin-bottom: 35px;
}
.sub-breadcrumb a {
  color: var(--light-g);
  text-decoration: none;
  transition: color 0.2s;
}
.sub-breadcrumb a:hover { color: var(--orange); }
.sub-bc-sep { color: var(--border); }
.sub-top-eyebrow {
  font-size: 11px; letter-spacing: 3px;
  font-weight: 700; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.sub-top-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}
.sub-top-banner.has-bg .sub-breadcrumb,
.sub-top-banner.has-bg .sub-breadcrumb a { color: rgba(255,255,255,0.7); }
.sub-top-banner.has-bg .sub-top-eyebrow { color: rgba(255,255,255,0.8); }
.sub-top-banner.has-bg .sub-top-title { color: var(--white); }

@media (max-width: 640px) {
  .sub-top-banner { padding: 100px 0 40px; }
  .sub-top-inner { padding: 0 20px; }
}
/* ── 서브 탑배너 끝 ── */
/* ── mk-intro-split (타이틀+이미지 2단) ── */
.mk-intro-split { background: var(--white); }
.mk-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.mk-split-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.mk-split-title {
    font-size: clamp(26px, 3vw, 42px);
    font-weight: 800;
    line-height: 1.3;
    color: var(--dark);
    word-break: keep-all;
}
.mk-split-title em { font-style: normal; color: var(--orange); }
.mk-split-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.mk-split-body p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.9;
    word-break: keep-all;
}
.mk-split-img {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg);
}
.mk-split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .mk-split-grid { grid-template-columns: 1fr; gap: 40px; }
    .mk-split-img { aspect-ratio: 16/9; }
}
@media (max-width: 640px) {
    .mk-split-title { font-size: clamp(22px, 6vw, 30px); }
    .mk-split-body p { font-size: 15px; }
    .mk-split-img { border-radius: 14px; }
}

/* ── mg-intro-split (mergers 전용) ── */
.mer-intro-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 100px;
    align-items: flex-start;
}
.mer-intro-img {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg);
}
.mer-intro-img img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.mer-intro-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-self: flex-start;
}
.mer-intro-title {
    font-size: clamp(26px, 3vw, 45px);
    font-weight: 800;
    line-height: 1.3;
    color: var(--dark);
    word-break: keep-all;
}
.mer-intro-title em { font-style: normal; color: var(--orange); }
.mer-intro-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.mer-intro-body p {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.9;
    word-break: keep-all;
}

@media (max-width: 900px) {
    .mer-intro-grid { grid-template-columns: 1fr; gap: 40px; }
    .mer-intro-img { aspect-ratio: 16/9; }
}
@media (max-width: 640px) {
    .mer-intro-title { font-size: clamp(22px, 6vw, 30px); }
    .mer-intro-body p { font-size: 15px; }
    .mer-intro-img { border-radius: 14px; }
}

@media (max-width: 900px) {
    .mg-split-grid { grid-template-columns: 1fr; gap: 40px; }
    .mg-split-img { aspect-ratio: 16/9; }
}
@media (max-width: 640px) {
        .mg-split-img { border-radius: 14px; }
}
/* ══════════════════════════════
   PORTFOLIO PAGE
══════════════════════════════ */

.pf-wrap { background: var(--white); }

/* ── 페이지 헤더 ── */
.pf-header {
    padding: 160px 0 80px;
    text-align: center;
    background: var(--bg);
}
.pf-header-inner {
    max-width: 1440px;
    width: 90%;
    margin: 0 auto;
    padding: 0 40px;
}
.pf-header-title {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 800;
    line-height: 1.25;
    color: var(--dark);
    margin: 16px 0 20px;
    word-break: keep-all;
}
.pf-header-title em { font-style: normal; color: var(--orange); }
.pf-header-desc {
    font-size: 17px;
    color: var(--light-g);
    line-height: 1.8;
}

/* ── 케이스 섹션 ── */
.pf-cases { padding: 100px 0; }
.pf-case {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.pf-case:last-child { border-bottom: none; }

/* 왼쪽에서 슬라이드 */
.pf-case--right { transform: translateX(-40px); }
/* 오른쪽에서 슬라이드 */
.pf-case--left  { transform: translateX(40px); }

.pf-case.visible {
    opacity: 1;
    transform: translateX(0);
}

.pf-case-label {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 24px;
}
.pf-case-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}
.pf-stat { display: flex; flex-direction: column; gap: 6px; }
.pf-stat-label {
    font-size: 16px;
    color: var(--light-g);
    font-weight: 400;
}
.pf-stat-num {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 700;
    color: var(--dark);
    font-family: 'SCoreDream', 'Pretendard';
    line-height: 1.1;
}
.pf-case-desc {
    font-size: 20px;
    color: var(--gray);
    line-height: 1.8;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.pf-case-img {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.pf-case-img img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.5s ease;
}
.pf-case:hover .pf-case-img img { transform: scale(1.03); }

/* ── 콘텐츠 그리드 ── */
.pf-gallery {
    padding: 80px 0 200px;
    background: var(--bg);
}
.pf-gallery-header { margin-bottom: 48px; }
.pf-gallery-title {
    font-size: clamp(26px, 3vw, 45px);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    margin-top: 12px;
}
.pf-gallery-title em { font-style: normal; color: var(--orange); }

.pf-grid {
    columns: 4;
    column-gap: 16px;
}
.pf-grid-item {
    break-inside: avoid;
    border-radius: 12px;
    overflow: hidden;
    background: var(--border);
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.pf-grid-item.visible {
    opacity: 1;
    transform: translateY(0);
}
.pf-grid-item:nth-child(1) { transition-delay: 0.05s; }
.pf-grid-item:nth-child(2) { transition-delay: 0.10s; }
.pf-grid-item:nth-child(3) { transition-delay: 0.15s; }
.pf-grid-item:nth-child(4) { transition-delay: 0.20s; }
.pf-grid-item:nth-child(5) { transition-delay: 0.25s; }
.pf-grid-item:nth-child(6) { transition-delay: 0.30s; }
.pf-grid-item:nth-child(7) { transition-delay: 0.35s; }
.pf-grid-item:nth-child(8) { transition-delay: 0.40s; }
.pf-grid-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}
.pf-grid-item:hover img { transform: scale(1.04); }

/* ── CTA ── */
.pf-cta {
    padding: 120px 24px;
    text-align: center;
    background: linear-gradient(160deg, #2e2e2e 0%, #1a1a1a 50%, #0e0e0e 100%);
}
.pf-cta-inner { max-width: 600px; margin: 0 auto; }
.pf-cta-title {
    font-size: clamp(26px, 3.5vw, 44px);
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 40px;
    word-break: keep-all;
}
.pf-cta-title em { font-style: normal; color: var(--orange); }
.pf-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 40px;
    background: var(--orange);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.25s, transform 0.25s;
}
.pf-cta-btn:hover {
    background: var(--orange-h);
    transform: translateY(-2px);
}

/* ── 반응형 ── */
@media (max-width: 900px) {
    .pf-case { grid-template-columns: 1fr; gap: 40px; }
    /* 텍스트 항상 위로, 이미지 아래로 */
    .pf-case--right .pf-case-text { order: 1; }
    .pf-case--right .pf-case-img  { order: 2; }
    .pf-case--left  .pf-case-text { order: 1; }
    .pf-case--left  .pf-case-img  { order: 2; }
    .pf-grid { columns: 3; }
}
@media (max-width: 640px) {
    .pf-header { padding: 120px 0 60px; }
    .pf-cases { padding: 60px 0; }
    .pf-case { padding: 60px 0; gap: 30px; }
    .pf-stat-num { font-size: clamp(24px, 7vw, 36px); }
    .pf-grid { columns: 2; column-gap: 10px; }
    .pf-cta { padding: 80px 24px; }
}