/* ============================================================
   COMPANY.CSS — Ubique Korea
   Company 서브 페이지 전용
   공통(common.css) 위에 로드 — header·footer·cta·btn-top 제외
   ============================================================ */

/* ============================================================
   00: 페이지 전용 변수
   ============================================================ */
:root {
  --co-container-px:    196px;
  --co-container-max:   1440px;
  --co-blue-01:         #2B4FF8;
  --co-blue-02:         #2912F5;
  --co-cyan:            #00ACF5;
  --co-dark:            #0F0626;
  --co-text:            #101010;
  --co-text-sub:        #3B3647;
  --co-text-mid:        #5C5C5C;
  --co-text-light:      #8C8C8C;
  --co-text-xlight:     #5E5E5E;
  --co-bg-light:        #F9F9F9;
  --co-border:          #F0F0F0;
  --co-primary-light:   #C9B5FF;
  --font-quantico:      var(--font-base); /* Quantico → Pretendard */
}

/* ============================================================
   01: 페이지 레이아웃
   ============================================================ */
body {
  padding-top: 90px;
  overflow-x: hidden;
}

/* 서브 페이지: 헤더 항상 배경 표시 */

/* 섹션 공통 inner 컨테이너 */
.co-container {
  max-width: var(--co-container-max);
  margin: 0 auto;
  padding: 0;
}

/* ============================================================
   02: SECTION 00 — SUBTOP HERO
   ============================================================ */
.sec--subtop {
  position: relative;
  height: 671px;
  overflow: hidden;
}

.subtop__bg-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.subtop__bg-img img {
  width: 100%;
  height: 106%;
  object-fit: cover;
  object-position: top left;
  margin-top: -4%;
}

.subtop__ellipse {
  position: absolute;
  width: 690px;
  height: 593px;
  pointer-events: none;
  opacity: 0.35;
}
.subtop__ellipse img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.subtop__ellipse--left  { left: -178px; top: -141px; }
.subtop__ellipse--right { left: 635px; top: 281px; }

.sec--subtop .co-container {
  position: relative;
  height: 100%;
}

.subtop__text {
  position: absolute;
  bottom: 80px;
  left: 0;
}

.subtop__text-sub {
  font-family: var(--font-suit);
  font-size: 62px;
  font-weight: 600;
  line-height: 84px;
  color: var(--co-text-sub);
}
.subtop__text-main {
  font-size: 62px;
  line-height: 84px;
}
.subtop__text-semi {
  font-family: var(--font-suit);
  font-weight: 600;
  color: var(--co-text-sub);
}
.subtop__text-main strong {
  font-family: var(--font-suit);
  font-weight: 600;
  color: var(--co-text);
}

/* ============================================================
   03: SECTION 01 — OVERVIEW
   ============================================================ */
.sec--overview {
  position: relative;
  min-height: 1445px;
  overflow: hidden;
}

/* 배경 장식 타이틀 */
.overview__title-bg {
  position: absolute;
  top: 122px;
  left: 50%;
  transform: translateX(-50%);
  width: 918px;
  text-align: center;
  pointer-events: none;
  user-select: none;
  font-family: var(--font-quantico);
  font-weight: 700;
  letter-spacing: -6px;
  line-height: 1;
  z-index: 1;
}
.overview__title-bg-video {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 1920px;
  height: 700px;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
}
.overview__title-word      { display: block; position: relative; z-index: 1; }
.overview__title-word--the { font-size: 182px; color: #EFE8FF; line-height: 1.1; }
.overview__title-word--main { font-size: 182px; line-height: 1.1; }
.overview__title-word--alt1 { display: inline-block; color: #B088FF; }
.overview__title-word--alt2 { display: inline-block; color: #D2BCFF; }

/* 스크램블 애니메이션 글자 스팬 */
.overview__title-word--the  .ch-done { color: #EFE8FF; }
.overview__title-word--alt1 .ch-done { color: #B088FF; }
.overview__title-word--alt2 .ch-done { color: #D2BCFF; }
.overview__title-word--the  .ch-rand { color: rgba(239, 232, 255, 0.28); }
.overview__title-word--alt1 .ch-rand { color: rgba(176, 136, 255, 0.28); }
.overview__title-word--alt2 .ch-rand { color: rgba(210, 188, 255, 0.28); }
.ch-done, .ch-rand { display: inline; }

/* 3D 링 이미지 */
.overview__img-wrap {
  position: absolute;
  top: 589px;
  left: 50%;
  transform: translateX(-50%);
  width: 810px;
  height: 589px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.overview__3d-img {
  width: 810px;
  height: 589px;
  object-fit: cover;
  flex-shrink: 0;
}

/* 퍼플 밴드 */
.overview__purple-band {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 600px;
  background: var(--color-primary);
}

.overview__band-text {
  padding-top: 110px;
  margin-bottom: 140px;
}
.overview__band-title {
  font-family: var(--font-suit);
  font-size: 32px;
  font-weight: 700;
  line-height: 46px;
  color: rgba(255, 255, 255, 0.8);
}
.overview__band-subtitle {
  font-family: var(--font-quantico);
  font-size: 35px;
  font-weight: 700;
  line-height: 46px;
  letter-spacing: -1px;
  color: rgba(255, 255, 255, 0.9);
}

/* 통계 수치 — Swiper 슬라이더 */
.overview__stats-swiper {
  width: 100vw;
  overflow: visible;
  margin-top: 48px;
  /* 좌측은 container 경계(라인선)에서 클리핑, 우측은 뷰포트 끝까지 허용 */
  clip-path: inset(0 -200vw 0 0);
}
.overview__stats-swiper .swiper-wrapper {
  align-items: center;
}
.overview__stats-swiper .swiper-slide {
  width: auto;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.overview__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 0 60px;
  opacity: 0.4;
  text-align: center;
  transition: opacity 0.4s ease;
}
.swiper-slide-active .overview__stat { opacity: 1; }
.overview__stat-num {
  font-family: var(--font-quantico);
  font-size: 112px;
  font-weight: 400;
  line-height: 90px;
  letter-spacing: -8px;
  color: rgba(255, 255, 255, 0.6);
  display: block;
  transition: color 0.4s ease, font-weight 0.4s ease;
}
.swiper-slide-active .overview__stat-num {
  font-weight: 700;
  color: var(--color-white);
}
.overview__stat-desc {
  font-family: var(--font-suit);
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  transition: color 0.4s ease;
}
.swiper-slide-active .overview__stat-desc {
  color: rgba(236, 227, 255, 0.8);
}

/* 퍼플 밴드 prev/next 네비게이션 */
.overview__purple-band .co-container {
  position: relative;
}
.overview__band-nav {
  position: absolute;
  bottom: -84px;
  right: 0;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.overview__band-nav-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.overview__band-nav-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}
.overview__band-nav-btn.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* ============================================================
   04: SECTION 02 — SERVICE (STICKY SCROLL)
   ============================================================ */
.sec--service { position: relative; }

/* Track = 300vh (콘텐츠 3개 × 100vh 스크롤 공간) */
.service__track {
  height: 300vh;
  position: relative;
}

/* 고정 패널 */
.service__sticky-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* 배경 컬러 레이어 */
.service__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: rgba(43, 79, 248, 0.07);
  transition: background-color 0.6s ease;
}

/* 레이아웃 */
.service__layout {
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: var(--co-container-max);
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 40px;
}

/* 좌측 — 헤드라인 */
.service__headline-wrap {
  flex: 0 0 25%;
  width: 420px;
}
.service__headline-sub {
  font-family: var(--font-suit);
  font-size: 42px;
  font-weight: 500;
  line-height: 54px;
  color: var(--co-text-mid);
  text-transform: uppercase;
}
.service__headline-main {
  font-family: var(--font-suit);
  font-size: 42px;
  line-height: 54px;
  text-transform: uppercase;
}
.service__headline-main em {
  font-style: normal;
  font-weight: 600;
  color: var(--co-blue-01);
  transition: color 0.5s ease;
}
.service__headline-main span {
  font-weight: 500;
  color: var(--co-blue-01);
  transition: color 0.5s ease;
}
.service__headline-main2 {
  font-family: var(--font-suit);
  font-size: 42px;
  font-weight: 500;
  line-height: 54px;
  color: var(--co-blue-01);
  text-transform: uppercase;
  transition: color 0.5s ease;
}

/* 중앙 — 이미지 */
.service__img-center {
  flex: 0 0 auto;
  height: 520px;
}
.service__img-card {
  width: 349px;
  height: 520px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.service__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 0.4s ease;
}
.service__img.is-switching { opacity: 0; }

/* 우측 — 배지 + 설명 */
.service__desc-wrap {
  flex: 0 0 25%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px 6px 15px;
  border-radius: 999px;
  font-family: var(--font-suit);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: -0.5px;
  white-space: nowrap;
  color: var(--co-blue-01);
  background: rgba(43, 79, 248, 0.1);
  transition: color 0.5s ease, background-color 0.5s ease;
  align-self: flex-start;
}
.service__desc-text {
  font-family: var(--font-suit);
  font-size: 17px;
  font-weight: 600;
  line-height: 26px;
  color: var(--co-text);
  word-break: keep-all;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.service__desc-text.is-switching {
  opacity: 0;
  transform: translateY(8px);
}

/* 스크롤 진행 도트 */
.service__dots {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.service__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, transform 0.3s ease;
}
.service__dot--active {
  background: var(--co-blue-01);
  transform: scale(1.25);
}

.section-label {
  margin: 0 0 8px;
  font-family: var(--font-suit);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--co-text-light);
  white-space: nowrap;
}
.section-label--esg {
  color: rgba(255, 255, 255, 0.64);
}
/* ============================================================
   05: SECTION 03 — HISTORY
   ============================================================ */
.sec--history {
  position: relative;
  height: 100vh;
  min-height: 736px;
  background: var(--color-white);
  overflow: hidden;
}

/* 좌/우 레이아웃 — 섹션 레벨 */
.history__layout {
  display: flex;
  height: 100%;
}

.history__left {
  flex: 0 0 50%;
  display: flex;
  align-items: flex-start;
  padding-top: 96px;
  z-index: 1;
}

.history__left-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: var(--co-container-px);
}
.history__left-inner .section-label {
  margin-bottom: 0;
}
.history__tabs,
.history__list-wrap {
  margin-top: 16px;
}

.history__right {
  flex: 0 0 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.history__title {
  font-family: var(--font-suit);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--co-text);
}

/* 탭 */
.history__tabs {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px;
  background: var(--color-white);
  border: 1px solid var(--co-border);
  border-radius: 999px;
  width: fit-content;
}
.history__tab {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-suit);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: var(--co-text-xlight);
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease;
}
.history__tab--active { background: #333; color: var(--color-white); }
.history__tab:not(.history__tab--active):hover { background: var(--co-bg-light); }

/* 연혁 리스트 */
.history__list-wrap {
  padding-left: 12px;
}
.history__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.history__list-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.history__list-bullet {
  width: 2px;
  height: 2px;
  flex-shrink: 0;
  background: var(--color-primary);
  border-radius: 2px;
}
.history__list-text {
  font-family: var(--font-suit);
  font-size: 17px;
  font-weight: 600;
  line-height: 26px;
  color: var(--co-text);
  word-break: keep-all;
}

/* 연도 표시 */
.history__year-display {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 478px;
  z-index: 1;
}
.history__year-from,
.history__year-to {
  font-family: var(--font-quantico);
  font-size: 200px;
  font-weight: 400;
  line-height: 170px;
  letter-spacing: -8px;
  color: var(--color-primary);
  text-align: center;
  display: block;
  transition: opacity 0.5s ease;
}
.history__year-divider {
  height: 106px;
  display: flex;
  align-items: center;
}
.history__year-divider img {
  height: 100%;
  width: auto;
  max-width: 2px;
}

/* 배경 이미지 */
.history__bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.history__bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== SECTION 03-1: ESG (후원) — Figma 33698-1701 ===== */
.sec--esg{
  position:relative; overflow:hidden; isolation:isolate; background:#09041e;
  height:100vh; min-height:736px; display:flex;
}
.esg__bg-img{ position:absolute; inset:0; z-index:0; }
.esg__bg-img img{ width:100%; height:100%; object-fit:cover; opacity:1; transition:opacity 2.5s ease; }
.esg__bg-img img.is-fading{ opacity:0; }
.esg__overlay{ position:absolute; inset:0; z-index:1; background:rgba(0,0,0,0.36); }  /* dim: #000 36% */

.sec--esg .co-container{
  position:relative; z-index:2;
  display:flex; flex-direction:column; align-items:center; width:100%;
  max-width:calc(var(--co-container-max) + var(--co-container-px) * 2);
  padding:140px var(--co-container-px) 0; text-align:center;
}

/* ── 좌상단 헤더 (폰트 스펙/내용 고정) ── */
.esg__head{ display:flex; flex-direction:column; align-items:center; max-width:900px; margin:0 auto; }
.esg__label{      margin:0 0 8px; font-family:var(--font-suit); font-weight:600; font-size:16px; line-height:1.5; color:#fff; white-space:nowrap; }
.esg__headline{   font-family:var(--font-base); font-weight:600; font-size:40px; line-height:1.2;  color:#fff; margin-top:0; }
.esg__subheading{ font-family:var(--font-base); font-weight:700; font-size:18px; line-height:1.3;  color:#fff; margin-top:16px; }

/* ── E / S / G 가로 3분할 ── */
.esg__pillars{
  margin-top:auto;                 /* 하단 영역으로 밀기 */
  width:100%; display:grid; grid-template-columns:repeat(3,1fr); gap:0; align-items:end; justify-items:center;
}
.esg__pillar{ position:relative; width:min(100%, 320px); min-height:360px; --esg-bottom-gap:140px; --esg-chip-gap:38px; --esg-chip-stack-h:0px; }
.esg__pillar-btn{
  position:absolute; left:0; right:0; bottom:var(--esg-bottom-gap);
  display:flex; flex-direction:column; align-items:flex-start;
  width:100%; padding:0; background:none; border:0; cursor:default; color:#fff; text-align:left; transform:translateY(0); transition:transform .53s cubic-bezier(.22,1,.36,1);
}
.esg__pillar-letter{
  font-family:var(--font-base); font-weight:600; font-size:90px; line-height:1; color:#fff;
  opacity:1; transition:opacity .35s ease;
}
.esg__pillar-cat{
  font-family:var(--font-base); font-weight:700; font-size:24px; line-height:1.3; color:#fff;
  display:flex; flex-direction:column; align-items:flex-start;
  margin-top:12px; opacity:1; transition:opacity .35s ease;
}
.esg__pillar-cat::after{
  content:""; display:block; width:248px; height:1px;
  margin-top:16px; background:rgba(255,255,255,0.7);
}
.esg__pillar-sub{
  font-family:var(--font-base); font-weight:600; font-size:17px; line-height:1.4; color:#fff;
  margin-top:16px; opacity:1; transition:opacity .35s ease;
}
.esg__pillar.is-active .esg__pillar-btn{ transform:translateY(calc((var(--esg-chip-stack-h) + var(--esg-chip-gap)) * -1)); }
.esg__pillar.is-active .esg__pillar-letter,
.esg__pillar.is-active .esg__pillar-cat,
.esg__pillar.is-active .esg__pillar-sub{ opacity:1; }
.esg__pillar-btn:focus-visible{ outline:2px solid #fff; outline-offset:6px; }

/* ── 글래스모피즘 칩 (호버 시 노출) ── */
.esg__chips{
  position:absolute; left:0; right:0; bottom:var(--esg-bottom-gap);
  list-style:none; display:flex; flex-direction:column; align-items:flex-start; gap:16px;
  margin:0; min-height:0;
  opacity:0; transform:translate3d(0,22px,0); pointer-events:none;
  will-change:opacity, transform;
  transition:opacity .2s ease, transform .5s ease;
}
.esg__pillar.is-active .esg__chips{ opacity:1; transform:translate3d(0,0,0); pointer-events:auto; }
.esg__chips li{ list-style:none; }
.esg__chip{
  position:relative; overflow:hidden; isolation:isolate;
  display:inline-flex; flex-direction:row; align-items:center; justify-content:flex-start; gap:20px;
  min-height:44px; padding:2px 20px; border-radius:20px;
  background:rgba(255,255,255,0.24); background-clip:padding-box; border:0;
  backdrop-filter:blur(40px); -webkit-backdrop-filter:blur(40px);
  transform:translateZ(0); will-change:transform;
  color:#fff; text-decoration:none; white-space:nowrap;
  font-family:var(--font-base); font-weight:600; font-size:17px; line-height:1.6;
  width:max-content; max-width:none;
  transition:background .3s ease, transform .3s ease;
}
.esg__chip:hover, .esg__chip:focus-visible{
  background:rgba(255,255,255,0.9);
  color:#101010;
  transform:translateX(4px); outline:none;
}
.esg__chip:focus-visible{ box-shadow:0 0 0 2px #fff; }
.esg__chip svg{ width:22px; height:22px; flex:0 0 auto; }

/* ── 반응형 ── */
@media (max-width:1024px){
  .sec--esg{ height:auto; min-height:0; }
  .sec--esg .co-container{ padding-top:72px; padding-bottom:64px; }
  .esg__pillars{ grid-template-columns:1fr; gap:8px; margin-top:48px; }
  .esg__pillar{ min-height:auto; border-top:1px solid rgba(255,255,255,0.18); padding-top:20px; padding-bottom:0; display:block; }
  .esg__pillar-letter{ font-size:48px; }
  .esg__pillar-cat{ font-size:16px; }
  .esg__pillar-btn{ position:static; }
  .esg__pillar.is-active .esg__pillar-btn{ transform:none; }
  .esg__chips{ position:static; min-height:0; margin-top:16px; transform:none; }
  .esg__chips{ display:none; }
  .esg__pillar.is-active .esg__chips{ display:flex; opacity:1; transform:none; }
}
@media (max-width:768px){
  .esg__pillar-letter{ font-size:40px; }
  .esg__chip{ font-size:10.667px; padding:5px 16px; gap:14px; }
  .esg__chip svg{ width:18px; height:18px; }
}
@media (prefers-reduced-motion:reduce){
  .esg__pillar-letter, .esg__pillar-cat, .esg__pillar-sub,
  .esg__chips, .esg__chip{ transition:none; }
}

/* ============================================================
   07: SECTION 05 — LOCATION
   ============================================================ */
.sec--location {
  position: relative;
  height: 736px;
  background: var(--co-bg-light);
  overflow: hidden;
}

/* 슬라이드업 애니메이션 */
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
.slide-up {
  opacity: 0;
  transform: translateY(32px);
}
.slide-up.is-visible {
  animation: slideInUp 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* 3컬럼 지도 그리드 */
.location__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.location__col {
  display: flex;
  flex-direction: column;
}
.location__map {
  height: 420px;
  overflow: hidden;
  flex-shrink: 0;
}
.location__map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* 주소 블록 */
.location__addr {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 30px 24px;
  text-align: center;
}
.location__addr-label {
  font-family: var(--font-suit);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--co-text-light);
  white-space: nowrap;
}
.location__addr-text {
  font-family: var(--font-suit);
  font-size: 26px;
  font-weight: 600;
  line-height: 38px;
  color: #1D1D1D;
  font-style: normal;
}

/* 연락처 바 */
.location__contact-bar {
  position: relative;
  left: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-family: var(--font-suit);
  font-size: 16px;
  line-height: 22px;
  color: var(--color-primary);
  white-space: nowrap;
  padding: 24px 0;
}
.location__contact-item {
  display: flex;
  align-items: center;
  gap: 7px;
}
.location__contact-label { font-weight: 500; }
.location__contact-value {
  font-weight: 700;
  color: var(--color-primary);
  transition: opacity 0.3s ease;
}
.location__contact-value:hover { opacity: 0.75; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1280px) {
  :root { --co-container-px: 80px; }

  .overview__stat-num { font-size: 80px; }

  .service__headline-wrap { width: 360px; }
  .service__headline-sub,
  .service__headline-main,
  .service__headline-main2 { font-size: 36px; line-height: 48px; }

  .history__left-inner {
    padding-left: var(--co-container-px);
    padding-right: 24px;
  }
}

@media (max-width: 1024px) {
  :root { --co-container-px: 48px; }

  .sec--subtop {
    height: 560px;
  }

  .subtop__ellipse {
    width: 420px;
    height: 360px;
    opacity: 0.25;
  }
  .subtop__ellipse--left { left: -120px; top: -60px; }
  .subtop__ellipse--right { left: auto; right: -120px; top: 220px; }

  .subtop__text {
    left: 0;
    right: 0;
    bottom: 64px;
  }

  .subtop__text-sub,
  .subtop__text-main {
    font-size: 48px;
    line-height: 64px;
    word-break: keep-all;
  }

  .sec--overview {
    min-height: 1180px;
  }

  .overview__title-bg {
    top: 92px;
    width: 100%;
    padding: 0 48px;
  }

  .overview__title-word--the,
  .overview__title-word--main {
    font-size: 120px;
    letter-spacing: -3px;
  }

  .overview__img-wrap {
    top: 430px;
    width: 620px;
    height: 450px;
  }

  .overview__3d-img {
    width: 620px;
    height: 450px;
  }

  .overview__purple-band {
    height: 480px;
  }

  .overview__band-text {
    padding: 72px 48px 0;
    margin-bottom: 84px;
  }

  .overview__band-title {
    font-size: 28px;
    line-height: 40px;
    word-break: keep-all;
  }

  .overview__band-subtitle {
    font-size: 44px;
    line-height: 1.15;
  }

  .overview__stat-num { font-size: 64px; }
  .overview__stat { padding: 0 32px; }
  .overview__stat-desc {
    white-space: normal;
    line-height: 1.5;
    word-break: keep-all;
  }

  .service__layout { gap: 24px; }
  .service__headline-wrap { width: 300px; }
  .service__headline-sub,
  .service__headline-main,
  .service__headline-main2 { font-size: 30px; line-height: 42px; }
  .service__img-center { flex: 0 0 280px; height: 420px; }
  .service__img-card   { width: 280px; height: 420px; }
  .service__desc-wrap  { flex: 0 0 260px; }

  .sec--history {
    height: auto;
    min-height: auto;
    padding: 96px 0;
  }

  .history__layout {
    flex-direction: column;
    gap: 56px;
  }

  .history__left,
  .history__right {
    flex: none;
    width: 100%;
  }

  .history__left {
    padding-top: 0;
  }

  .history__right {
    min-height: 360px;
  }

  .history__year-from,
  .history__year-to { font-size: 140px; line-height: 120px; }

  .location__columns {
    grid-template-columns: 1fr;
  }

  .location__map {
    height: 320px;
  }

  .location__addr-text { font-size: 20px; line-height: 30px; }
}

@media (max-width: 768px) {
  :root { --co-container-px: 24px; }

  body { padding-top: 72px; }

  .sec--subtop {
    height: auto;
    min-height: 420px;
    padding: 72px 0 56px;
  }

  .subtop__bg-img img {
    height: 100%;
    margin-top: 0;
    object-position: center;
  }

  .subtop__ellipse {
    width: 260px;
    height: 220px;
    opacity: 0.2;
  }

  .subtop__ellipse--left { left: -80px; top: -30px; }
  .subtop__ellipse--right { right: -90px; top: 180px; }

  .subtop__text {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
  }

  .subtop__text-sub,
  .subtop__text-main {
    font-size: 36px;
    line-height: 50px;
    word-break: keep-all;
  }

  .sec--overview {
    min-height: auto;
    padding-bottom: 0;
  }

  .overview__title-bg {
    top: 64px;
    padding: 0 24px;
  }

  .overview__title-word--the,
  .overview__title-word--main {
    font-size: 72px;
    letter-spacing: -1px;
  }

  .overview__title-bg-video {
    position: relative;
    height: 320px;
  }

  .overview__img-wrap {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    height: auto;
    padding: 260px 24px 0;
  }

  .overview__3d-img {
    width: 100%;
    height: auto;
  }

  .overview__purple-band {
    position: relative;
    height: auto;
    margin-top: 24px;
    padding-bottom: 64px;
  }

  .overview__band-text {
    padding: 48px 24px 0;
    margin-bottom: 48px;
  }

  .overview__band-title {
    font-size: 24px;
    line-height: 34px;
    word-break: keep-all;
  }

  .overview__band-subtitle {
    font-size: 28px;
    line-height: 36px;
    letter-spacing: -0.02em;
  }

  .overview__stats-swiper {
    margin-top: 32px;
  }

  .overview__stat {
    gap: 14px;
    padding: 0 24px;
  }

  .overview__stat-num {
    font-size: 52px;
    line-height: 1;
    letter-spacing: -3px;
  }

  .overview__stat-desc {
    font-size: 13px;
    line-height: 18px;
  }

  .overview__band-nav {
    bottom: -56px;
    right: 24px;
  }

  .service__layout {
    flex-direction: column;
    justify-content: center;
    padding: 56px 24px 48px;
    gap: 16px;
    text-align: center;
  }

  .service__headline-wrap,
  .service__desc-wrap {
    width: 100%;
    max-width: 480px;
  }

  .service__headline-sub {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 4px;
  }

  .service__headline-main,
  .service__headline-main2 {
    font-size: 24px;
    line-height: 1.4;
    word-break: keep-all;
  }

  .service__img-center {
    flex: 0 0 auto;
    width: 100%;
    max-width: 240px;
    height: auto;
  }

  .service__img-card {
    width: 100%;
    height: auto;
    aspect-ratio: 349 / 520;
    border-radius: 14px;
  }

  .service__desc-wrap  { flex: 0 0 auto; gap: 10px; }
  .service__badge {
    align-self: center;
    font-size: 12px;
    line-height: 18px;
    padding: 6px 13px;
  }
  .service__desc-text {
    text-align: center;
    font-size: 14px;
    line-height: 1.7;
    word-break: keep-all;
  }

  .service__dots {
    bottom: 24px;
  }

  .sec--history {
    padding: 72px 0;
  }

  .history__layout {
    gap: 40px;
  }

  .history__left-inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .history__title {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
  }

  .history__year-display { flex-direction: row; width: auto; gap: 16px; }
  .history__year-from,
  .history__year-to { font-size: 80px; line-height: 80px; }
  .history__year-divider { height: 40px; }
  .history__tabs { flex-wrap: wrap; border-radius: 16px; }
  .history__list-text { font-size: 17px; line-height: 26px; }

  .sec--location { height: auto; }
  .location__columns { grid-template-columns: 1fr; height: auto; }
  .location__map { height: 220px; }
  .location__addr { padding: 24px 24px 40px; }
  .location__addr-text { font-size: 18px; line-height: 28px; }
  .location__contact-bar {
    position: static;
    display: flex;
    justify-content: center;
    padding: 24px 16px;
    flex-wrap: wrap;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .subtop__text-sub,
  .subtop__text-main {
    font-size: 28px;
    line-height: 40px;
  }

  .overview__title-word--the,
  .overview__title-word--main {
    font-size: 56px;
  }

  .overview__band-text {
    padding: 32px 16px 0;
    margin-bottom: 32px;
  }

  .overview__band-title {
    font-size: 18px;
    line-height: 30px;
    word-break: keep-all;
  }

  .overview__band-subtitle {
    font-size: 24px;
    line-height: 32px;
    letter-spacing: -0.01em;
  }

  .overview__stat {
    gap: 10px;
  }

  .overview__stat-desc {
    font-size: 12px;
    line-height: 17px;
  }

  .service__layout {
    padding: 48px 20px 40px;
    gap: 12px;
  }

  .service__headline-sub {
    font-size: 13px;
    line-height: 19px;
  }

  .service__headline-main,
  .service__headline-main2 {
    font-size: 22px;
    line-height: 1.38;
  }

  .service__img-center {
    width: 100%;
    max-width: 200px;
    height: auto;
  }

  .service__img-card {
    width: 100%;
    height: auto;
    aspect-ratio: 349 / 520;
    border-radius: 12px;
  }

  .service__desc-text {
    font-size: 13px;
    line-height: 1.65;
  }

  .service__dots {
    bottom: 18px;
  }

  .history__year-from,
  .history__year-to {
    font-size: 56px;
    line-height: 56px;
  }

  .location__contact-bar {
    align-items: flex-start;
  }

  .location__contact-item {
    width: 100%;
    justify-content: center;
  }
}

/* 반응형 보완 2026-09-18 — 서브탑 문구가 화면 왼쪽 끝에 붙던 문제 */
.sec--subtop .co-container{max-width:calc(var(--co-container-max) + var(--co-container-px) * 2);padding-left:var(--co-container-px);padding-right:var(--co-container-px)}
.subtop__text{left:var(--co-container-px)}
@media (max-width: 1024px){.subtop__text{left:var(--co-container-px);right:var(--co-container-px)}}
@media (max-width: 768px){.subtop__text{left:auto;right:auto}}

/* Quantico → Pretendard: 숫자 폭 고정(카운트업·연도) */
.overview__stat-num, .history__year-from, .history__year-to { font-variant-numeric: tabular-nums; }
