/* 리치온랩스 홈페이지 시안 — 공통(헤더·하위 페이지 상단·본문 부품·푸터)
   구조 참고: 핀텔(pintel.co.kr)의 메뉴·하위 페이지 방식 / 시각 요소: 메인 샘플의 검정+그라데이션.
   그누보드에서는 head.php / tail.php / 게시판 skin 에 해당한다. 코드는 직접 작성. */

:root {
  --header-h: 100px;          /* 핀텔·샘플 공통 실측 */
  --sub-visual-h: 100vh;      /* 핀텔 실측값. 낮추려면 이 값만 바꾼다 */
  --area-w: 1600px;
  --area-pad: 30px;
  --ease: all .4s ease-in-out;
  --panel: linear-gradient(135deg, #17c9b4 0%, #1778c9 100%);  /* 하위 메뉴 패널(그라데이션 한 종류에서 파생) */
}

.area-box { max-width: var(--area-w); margin: 0 auto; padding: 0 var(--area-pad); }

/* 계속 도는 지구본(canvas) */
.globe { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; }
#inc02 .bg .globe { z-index: 1; }
#inc02 .bg video { z-index: 2; }
.sub-visual .visual-bg .globe { z-index: 1; }

/* ───────── 시안 안내 배지 ───────── */
.mock-badge { position: fixed; left: 16px; bottom: 16px; z-index: 9000; padding: 8px 14px; border-radius: 100px; background: rgba(255, 245, 190, .95); color: #333; font-size: 12px; line-height: 1.3; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); pointer-events: none; }

/* ───────── 헤더 ───────── */
#header { position: fixed; top: 0; left: 0; z-index: 9999; width: 100%; height: var(--header-h); transition: height .3s, background-color .3s; }
#header.scrolled { --header-h: 76px; background: rgba(8, 10, 14, .95); }   /* 뒤 흐림은 뺐다: 계속 움직이는 첫 화면 위에서 매 장면 다시 계산돼 스크롤이 끊기는 원인. 바탕이 거의 불투명이라 보이는 차이는 거의 없다 */
.gnb-overlay { position: fixed; inset: 0; z-index: -1; visibility: hidden; opacity: 0; background: rgba(0, 0, 0, .5); transition: var(--ease); }
.gnb-overlay.open { visibility: visible; opacity: 1; }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 50px; transition: height .3s; }

.logo { position: relative; z-index: 100; display: flex; align-items: center; gap: 10px; font-family: var(--e-font); font-weight: 700; font-size: 22px; letter-spacing: .02em; color: #fff; }
.logo i { display: block; width: 26px; height: 26px; border-radius: 50%; background: var(--grad-accent); }

#gnb { position: absolute; left: 50%; top: 0; z-index: 99; transform: translateX(-50%); }
#gnb > ul { display: flex; }
#gnb > ul > li { position: relative; }
#gnb > ul > li > a { position: relative; z-index: 100; display: block; padding: 0 45px; line-height: var(--header-h); text-align: center; color: #fff; font-size: 17px; font-weight: 600; letter-spacing: -.02em; transition: var(--ease), line-height .3s; }
#gnb > ul > li.open > a, #gnb > ul > li.cur > a { color: #fff; }
#gnb > ul > li > a::after { content: ""; position: absolute; left: 45px; right: 45px; bottom: 28px; height: 2px; background: var(--grad-accent); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
#gnb > ul > li.cur > a::after, #gnb > ul > li.open > a::after { transform: scaleX(1); }

/* 메뉴마다 자기 아래로 열리는 하위 메뉴 패널 */
.gnb-2dep { position: absolute; top: calc(var(--header-h) - 20px); left: 50%; z-index: 99; width: max-content; min-width: 100%; transform: translateX(-50%); visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s; }
.gnb-2dep::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 0; border-radius: 16px; background: var(--panel); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); transition: height .25s cubic-bezier(.4, 0, 1, 1); }
.gnb-2dep ul { position: relative; padding: 15px 0; }
.gnb-2dep li { padding: 8px 18px; opacity: 0; transition: all 0s; }
.gnb-2dep li a { display: block; color: #fff; font-size: 15px; font-weight: 500; text-align: center; line-height: 1.4; white-space: nowrap; opacity: .9; }
.gnb-2dep li a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.gnb-2dep.open { visibility: visible; opacity: 1; }
.gnb-2dep.open::before { height: 100%; }
.gnb-2dep.open li { opacity: 1; transition: all .6s ease-in-out; }
.gnb-2dep.open li:nth-child(1) { transition-delay: .1s; }
.gnb-2dep.open li:nth-child(2) { transition-delay: .2s; }
.gnb-2dep.open li:nth-child(3) { transition-delay: .3s; }
.gnb-2dep.open li:nth-child(4) { transition-delay: .4s; }
.gnb-2dep.open li:nth-child(5) { transition-delay: .5s; }

.header-util { position: relative; z-index: 100; display: flex; align-items: center; gap: 22px; }
.lang { display: flex; gap: 14px; font-family: var(--e-font); font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .55); }
.lang a:hover, .lang .cur { color: #fff; }
.btn-link { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 11px 25px; border-radius: 5px; background: #fff; color: #111; font-size: 15px; font-weight: 600; transition: background-color .3s .1s, color .2s; }
.btn-link:hover { background-image: var(--grad-accent); color: #fff; }
.btn-link > span { position: relative; overflow: hidden; }
.btn-link .pr { position: relative; display: inline-block; transition: transform .3s; }
.btn-link .pa { position: absolute; top: 0; left: 0; width: 100%; transform: translateY(-100%); transition: transform .3s; }
.btn-link:hover .pr { transform: translateY(100%); }
.btn-link:hover .pa { transform: translateY(0); }
.sitemap-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); transition: var(--ease); }
.sitemap-btn span { position: absolute; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: #fff; }
.sitemap-btn span:nth-child(1) { left: 12px; } .sitemap-btn span:nth-child(2) { left: 19.5px; } .sitemap-btn span:nth-child(3) { left: 27px; }
.sitemap-btn:hover { background: var(--grad-accent); border-color: transparent; }

/* 사이트맵(전체 메뉴) — 모바일 메뉴도 겸함 */
#sitemap { position: fixed; inset: 0; z-index: 10000; display: flex; flex-direction: column; justify-content: center; padding: 100px 50px 60px; background: rgba(5, 8, 14, .985); visibility: hidden; opacity: 0; transition: opacity .35s, visibility .35s; overflow-y: auto; }
#sitemap.open { visibility: visible; opacity: 1; }
#sitemap .sm-close { position: absolute; top: 28px; right: 50px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); color: #fff; font-size: 24px; line-height: 1; }
#sitemap .sm-close:hover { background: var(--grad-accent); border-color: transparent; }
#sitemap .sm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 50px 40px; max-width: 1400px; width: 100%; margin: 0 auto; }
#sitemap .sm-tit { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .2); font-size: 28px; font-weight: 700; color: #fff; }
#sitemap .sm-tit small { display: block; padding-bottom: 6px; font-family: var(--e-font); font-size: 14px; font-weight: 600; color: var(--primary); letter-spacing: .08em; text-transform: uppercase; }
#sitemap li a { display: block; padding: 6px 0; font-size: 17px; color: rgba(255, 255, 255, .7); transition: color .2s, padding-left .2s; }
#sitemap li a:hover { color: #fff; padding-left: 8px; }

/* ───────── 하위 페이지 상단(비주얼) ───────── */
#container.is-sub { background: #000; }
.sub-visual { position: relative; width: 100%; height: var(--sub-visual-h); min-height: 560px; overflow: hidden; background: #000; color: #fff; }
.sub-visual .visual-bg { position: absolute; inset: 0; background:
  radial-gradient(60vw 40vw at 82% 30%, rgba(70, 82, 104, .30), transparent 62%),
  radial-gradient(50vw 40vw at 8% 95%, rgba(40, 50, 70, .35), transparent 60%),
  linear-gradient(180deg, #050608 0%, #0b0d11 100%); }
.sub-visual .visual-bg::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 46px); }
.sub-visual::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 280px; background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #000 92%); pointer-events: none; }
.sub-visual .visual-txt { position: relative; z-index: 2; display: flex; align-items: flex-end; height: 100%; }
.visual-txt-container { width: 100%; padding-bottom: 8.5rem; }
.visual-tit { font-family: var(--e-font); font-weight: 500; font-size: clamp(56px, 6.2vw, 100px); line-height: 1.05; letter-spacing: -.02em; }
.visual-sub-txt { padding-top: 14px; font-size: clamp(15px, 1.1vw, 18px); font-weight: 400; color: rgba(255, 255, 255, .85); }
.visual-con-bottom { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 50px; padding: 30px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.location { display: flex; align-items: center; font-size: 16px; line-height: 1.5; }
.location li { display: flex; align-items: center; }
.location li + li::before { content: ""; width: 7px; height: 7px; margin: 0 14px; border-top: 1.5px solid #fff; border-right: 1.5px solid #fff; transform: rotate(45deg); opacity: .8; }
.location svg { width: 18px; height: 18px; }
.top-menu { display: flex; gap: 10px; }
.menu-location { position: relative; width: 250px; }
.cur-location { position: relative; display: flex; align-items: center; width: 100%; height: 56px; padding: 0 56px 0 28px; border-radius: 30px; color: #fff; font-weight: 600; font-size: 16px; text-align: left; overflow: hidden; transition: var(--ease); }
.menu-location.l1 .cur-location { border: 2px solid #fff; }
.menu-location.l2 .cur-location { background: var(--grad-accent); }
.cur-location:hover { filter: brightness(1.12); }
.cur-location svg { position: absolute; top: 50%; right: 24px; width: 18px; height: 18px; margin-top: -9px; transition: transform .3s; }
.menu-location.open .cur-location svg { transform: rotate(180deg); }
.menu-location ul { position: absolute; left: 0; bottom: calc(100% + 8px); width: 100%; padding: 10px 0; border-radius: 16px; background: rgba(16, 20, 28, .96); box-shadow: 0 14px 34px rgba(0, 0, 0, .45); visibility: hidden; opacity: 0; transform: translateY(8px); transition: all .25s; }
.menu-location.open ul { visibility: visible; opacity: 1; transform: none; }
.menu-location li a { display: block; padding: 11px 28px; font-size: 15px; color: rgba(255, 255, 255, .8); }
.menu-location li a:hover, .menu-location li.cur a { color: #fff; background: rgba(255, 255, 255, .08); }

/* ───────── 하위 페이지 본문 ───────── */
#middleArea { background: #fff; color: var(--c-ink); }
.sec { padding: 140px 0; }
.sec.dark { background: #000; color: #fff; }
.sec.gray { background: #f5f7fa; }
.content-tit-box { padding-bottom: 70px; }
.content-tit-box.center { text-align: center; }
.content-tit-box:last-child { padding-bottom: 0; }   /* 제목만 있는 구간은 아래 여백을 줄인다 */
.cm-sub-tit { display: block; padding-bottom: 14px; font-family: var(--e-font); font-size: 18px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); }
.cm-tit { font-size: clamp(30px, 2.6vw, 48px); font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.cm-desc { max-width: 760px; padding-top: 24px; font-size: 18px; line-height: 1.7; color: #555; }
.center .cm-desc { margin: 0 auto; }
.dark .cm-desc { color: rgba(255, 255, 255, .7); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.card { padding: 44px 40px; border-radius: 12px; background: #f5f7fa; }
.dark .card { background: var(--c-glass); border: 1px solid rgba(255, 255, 255, .25); }
.card .num { display: block; padding-bottom: 36px; font-family: var(--e-font); font-size: 56px; font-weight: 700; line-height: 1; }
.card h3 { padding-bottom: 14px; font-size: 24px; font-weight: 700; line-height: 1.3; }
.card p { font-size: 16px; line-height: 1.7; color: #666; }
.dark .card p { color: rgba(255, 255, 255, .7); }

.info-list { max-width: 1000px; margin: 0 auto; border-top: 2px solid #111; }
.info-list div { display: flex; padding: 26px 20px; border-bottom: 1px solid var(--c-line); font-size: 17px; }
.info-list dt { flex: 0 0 200px; font-weight: 700; }
.info-list dd { color: #555; }

.timeline { position: relative; max-width: 900px; margin: 0 auto; padding-left: 40px; border-left: 2px solid #e3e8ef; }
.timeline li { position: relative; padding: 0 0 56px 30px; }
.timeline li::before { content: ""; position: absolute; left: -49px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--grad-accent); box-shadow: 0 0 0 6px #fff; }
.timeline .yr { display: block; padding-bottom: 8px; font-family: var(--e-font); font-size: 34px; font-weight: 700; }
.timeline p { font-size: 17px; line-height: 1.7; color: #555; }

.map-box { display: flex; align-items: center; justify-content: center; height: 480px; border-radius: 12px; background: repeating-linear-gradient(0deg, #e8edf4 0 1px, transparent 1px 48px), repeating-linear-gradient(90deg, #e8edf4 0 1px, transparent 1px 48px), #f5f7fa; color: #888; font-size: 17px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { position: relative; padding: 36px 28px; border-radius: 12px; border: 1px solid var(--c-line); counter-increment: s; }
.steps li::before { content: "0" counter(s); display: block; padding-bottom: 28px; font-family: var(--e-font); font-size: 40px; font-weight: 700; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { padding-bottom: 10px; font-size: 20px; }
.steps p { font-size: 15px; line-height: 1.6; color: #666; }

.cta-band { padding: 110px 0; text-align: center; background: #000; color: #fff; }
.cta-band h2 { padding-bottom: 36px; font-size: clamp(28px, 2.6vw, 48px); font-weight: 700; line-height: 1.3; }
.btn-pill { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; min-width: 165px; height: 56px; padding: 14px 20px; border: 1px solid #fff; border-radius: 100px; color: #fff; font-size: 16px; font-weight: 500; transition: background-color .3s, color .3s; }
.btn-pill:hover { background: #fff; color: #000; }
.btn-pill.dark-line { border-color: #111; color: #111; }
.btn-pill.dark-line:hover { background: #111; color: #fff; }
.btn-pill.fill { border: 0; background: var(--grad-accent); color: #fff; }
.btn-pill.fill:hover { filter: brightness(1.1); background: var(--grad-accent); color: #fff; }

.case-card a { display: block; }
.case-card .thumb { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; }
.case-card .thumb .art { height: 100%; transition: transform .4s; }
.case-card a:hover .thumb .art { transform: scale(1.06); }
.case-card .cate { display: block; padding: 22px 0 6px; font-size: 14px; font-weight: 700; color: var(--primary); }
.case-card h3 { font-size: 22px; font-weight: 700; padding-bottom: 8px; }
.case-card p { font-size: 15px; color: #666; line-height: 1.6; }
.video-card .vid { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; }
.video-card .vid .art { height: 100%; }
.video-card .vid::after { content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%23111'/%3E%3C/svg%3E") center/32px no-repeat; }
.video-card h3 { padding: 20px 0 6px; font-size: 20px; }
.video-card p { font-size: 15px; color: #666; }

/* 게시판(그누보드 skin 대응) */
.board-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; }
.board-top .total { font-size: 16px; color: #666; }
.board-top .total b { color: var(--primary); }
.board-search { display: flex; gap: 8px; }
.board-search input, .board-search select, .form-row input, .form-row select, .form-row textarea { height: 48px; padding: 0 16px; border: 1px solid #d8dde6; border-radius: 8px; font: inherit; font-size: 15px; background: #fff; color: #111; }
.board-search input { width: 240px; }
.board-search button { padding: 0 24px; border-radius: 8px; background: #111; color: #fff; font-weight: 600; }
.board-table { width: 100%; border-collapse: collapse; border-top: 2px solid #111; }
.board-table th, .board-table td { padding: 20px 12px; text-align: center; border-bottom: 1px solid var(--c-line); font-size: 16px; }
.board-table th { font-weight: 700; background: #fafbfc; }
.board-table td.subject { text-align: left; }
.board-table td.subject a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }
.board-table .badge { display: inline-block; margin-right: 8px; padding: 2px 10px; border-radius: 100px; background: var(--grad-accent); color: #fff; font-size: 12px; font-weight: 700; }
.board-table td { color: #555; }
.pagination { display: flex; justify-content: center; gap: 6px; padding-top: 50px; }
.pagination a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; font-size: 15px; color: #666; }
.pagination a.cur, .pagination a:hover { background: #111; color: #fff; }

.form-wrap { max-width: 860px; margin: 0 auto; }
.form-row { display: flex; gap: 20px; padding: 14px 0; }
.form-row label { flex: 0 0 160px; padding-top: 14px; font-weight: 700; }
.form-row input, .form-row select { flex: 1; }
.form-row textarea { flex: 1; height: 220px; padding: 14px 16px; resize: vertical; }
.form-agree { padding: 20px 0 10px 180px; font-size: 15px; color: #555; }
.form-btn { padding: 30px 0 0 180px; }
.form-note { padding: 18px 0 0 180px; font-size: 14px; color: #888; }

/* 스크롤 등장 */
[data-scroll] { opacity: 0; transform: translateY(40px); }

/* ───────── 푸터 ───────── */
#ft { background: #fff; color: #000; padding: 100px 50px 60px; }
#ft .inner { display: flex; justify-content: space-between; gap: 60px; max-width: 1820px; margin: 0 auto; }
#ft .left { display: flex; flex-direction: column; justify-content: space-between; gap: 60px; }
.ft-sns { display: flex; gap: 9px; }
.ft-sns a { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 100%; background: #ebebeb; color: #aaa; transition: background .3s, color .3s; }
.ft-sns a:hover { background: var(--primary); color: #fff; }
.ft-sns svg { width: 24px; height: 24px; }
.ft-info { font-size: 13px; line-height: 1.6; color: #777; }
.ft-info strong { display: block; padding-bottom: 8px; color: #000; font-weight: 500; }
#ft .right { display: flex; flex-direction: column; gap: 36px; min-width: 560px; }
.ft-menu dt { padding-bottom: 8px; font-size: 16px; font-weight: 700; }
.ft-menu dd { display: flex; flex-wrap: wrap; gap: 8px 30px; font-size: 15px; color: #777; }
.ft-menu dd a:hover { color: var(--primary); }
.copyright { font-size: 14px; color: #777; }

/* ───────── 반응형 ───────── */
@media (max-width: 1100px) {
  .header-inner { padding: 0 20px; }
  #gnb, .lang { display: none; }
  #sitemap { padding: 90px 24px 40px; }
  #sitemap .sm-close { right: 20px; top: 20px; }
  #sitemap .sm-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .grid3, .grid2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .sec { padding: 90px 0; }
  .visual-con-bottom { flex-direction: column; align-items: flex-start; gap: 18px; }
  .top-menu { width: 100%; }
  .menu-location { flex: 1; width: auto; min-width: 0; }
  .cur-location { padding: 0 44px 0 22px; }
  .info-list div { flex-direction: column; gap: 6px; }
  .form-row { flex-direction: column; gap: 6px; }
  .form-row label { flex: none; padding-top: 0; }
  .form-agree, .form-btn, .form-note { padding-left: 0; }
  .board-table .hide-m { display: none; }
  .board-top { flex-direction: column; align-items: flex-start; gap: 14px; }
  #ft { padding: 60px 20px 40px; }
  #ft .inner { flex-direction: column; }
  #ft .right { min-width: 0; }
}
@media (max-width: 640px) {
  .header-util .btn-link { display: none; }
  .steps { grid-template-columns: 1fr; }
  #sitemap .sm-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  [data-scroll] { opacity: 1; transform: none; }
}

/* ───────── 하위 페이지 상단: 큰 한글 제목 + 같은 메뉴의 탭 ───────── */
:root { --sub-visual-h: 62vh; }
.sub-visual { min-height: 480px; }
.visual-txt-container { padding-bottom: 6rem; }
.visual-en { display: block; padding-bottom: 14px; font-family: var(--e-font); font-size: 15px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--acc2, #1fa3eb); }
.visual-tit { font-family: var(--k-font); font-weight: 800; font-size: clamp(46px, 6vw, 96px); line-height: 1.1; letter-spacing: -.03em; }
.sub-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 42px; }
.sub-tab { padding: 11px 22px; border-radius: 8px; border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.75); font-size: 15px; font-weight: 600; transition: all .3s; }
.sub-tab:hover { color: #fff; border-color: #fff; }
.sub-tab.cur { color: #000; border-color: transparent; background: linear-gradient(90deg, var(--acc1, #1febd1), var(--acc2, #1fa3eb)); }

/* ───────── 모서리를 아주 약간 더 각지게 (카드·박스·탭·입력칸·메뉴 패널). 원형 버튼·알약 배지는 그대로 ───────── */
.card, .steps li, .case-card .thumb, .video-card .vid, .map-box, .link-item { border-radius: 6px; }
.sub-tab { border-radius: 4px; }
.btn-link { border-radius: 3px; }
.btn-pill { border-radius: 14px; }
.board-search input, .board-search select, .board-search button, .form-row input, .form-row select, .form-row textarea { border-radius: 4px; }
.gnb-2dep::before { border-radius: 8px; }

/* ───────── 푸터: 메뉴 없이 — 왼쪽(로고·소개·SNS) / 오른쪽(연락처 표) / 큰 글자 / 사업자 정보 ───────── */
#ft { --wm: clamp(44px, 9vw, 150px); position: relative; overflow: hidden; background: #0c0d10; color: #fff; padding: 0; border-top: 1px solid rgba(255,255,255,.08); }
.ft3 { width: calc(var(--wm) * 6.06 + 40px); max-width: calc(100% - 40px); margin: 0 auto; padding: 0; }   /* 화면 폭에 비례하는 푸터 폭(큰 글자를 없앤 뒤에도 같은 폭 유지) */

/* 푸터 문의 — 한 줄짜리 가로 버튼 두 개(위아래). 왼쪽에 작은 이름+제목, 오른쪽 끝에 이동 버튼. 평소엔 어두운 면, 마우스를 올린 버튼만 포인트 색 */
.cta-split { display: grid; grid-template-columns: 1fr; gap: 10px; align-self: stretch; justify-self: end; grid-template-rows: 1fr 1fr; width: fit-content; max-width: 100%; }   /* 오른쪽 끝은 고정, 가로는 내용만큼만(왼쪽을 당김) */
.cta-half { position: relative; z-index: 0; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "eb go" "ti go"; align-items: center; column-gap: 28px; overflow: hidden; padding: 0 14px 0 20px; align-content: center; border-radius: 8px; background: rgba(255,255,255,.07); color: #fff; opacity: 0; transform: translateY(12px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .35s cubic-bezier(.2,.7,.2,1), color .3s; }
.cta-half + .cta-half { transition-delay: .12s, 0s, 0s; }
.cta-half::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, var(--acc1, #1febd1), var(--acc2, #1fa3eb)); opacity: 0; transition: opacity .3s; }
.cta-split.in .cta-half { opacity: 1; transform: none; }
.cta-split.in .cta-half:hover { transform: translateY(-2px); color: #04110f; }
.cta-half:hover::before { opacity: 1; }
.cta-body { display: contents; }
.cta-eyebrow { grid-area: eb; padding-bottom: 5px; font-family: var(--e-font); font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--acc2, #1fa3eb); transition: color .3s; }
.cta-half:hover .cta-eyebrow { color: rgba(4,17,15,.62); }
.cta-title { grid-area: ti; font-size: clamp(16px, 1.3vw, 19px); font-weight: 800; line-height: 1.3; letter-spacing: -.02em; word-break: keep-all; color: inherit; }
.cta-go { grid-area: go; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: inherit; }
.cta-go .ar { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.16); font-style: normal; font-size: 14px; transition: transform .3s, background .3s; }
.cta-half:hover .cta-go .ar { transform: translateX(4px); background: rgba(4,17,15,.14); }
@media (prefers-reduced-motion: reduce) { .cta-half, .cta-half + .cta-half { opacity: 1; transform: none; } }

.ft3-main { display: grid; grid-template-columns: .78fr 1.22fr; gap: 36px; align-items: stretch; padding: 64px 0 40px; }
.ft2-logo { display: flex; align-items: center; gap: 10px; font-family: var(--e-font); font-size: 22px; font-weight: 700; color: #fff; }
.ft2-logo i { display: block; width: 26px; height: 26px; border-radius: 50%; background: var(--grad-accent); }
.ft3-tag { margin-top: 20px; font-size: clamp(20px, 1.7vw, 26px); font-weight: 700; line-height: 1.4; letter-spacing: -.02em; }
.ft2-sns { display: flex; gap: 10px; margin-top: 24px; }
.ft2-sns a { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); color: rgba(255,255,255,.8); transition: all .3s; }
.ft2-sns a:hover { color: #000; border-color: transparent; background: var(--grad-accent); }
.ft2-sns svg { width: 20px; height: 20px; }
.ft3-word { margin: 0; text-align: center; white-space: nowrap; user-select: none; pointer-events: none; font-family: var(--e-font); font-weight: 800; font-size: var(--wm); line-height: .82; letter-spacing: -.04em; background: linear-gradient(180deg, rgba(31,235,209,.34), rgba(31,163,235,0) 88%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ft3-bot { display: flex; justify-content: space-between; gap: 30px; padding: 22px 0 70px; font-size: 13px; line-height: 1.75; color: rgba(255,255,255,.55); }
@media (max-width: 900px) {
  .ft3-main { grid-template-columns: 1fr; gap: 36px; padding: 48px 0 32px; }
  .cta-split { grid-template-columns: 1fr; width: auto; justify-self: stretch; }
  .cta-half { padding: 18px 20px; }
  .ft3-bot { flex-direction: column; padding-bottom: 80px; }
  .ft3 { width: auto; max-width: none; margin: 0; padding: 0 20px; }
}

/* 11/11 공개 정리: 사업 분야 4칸·메일 문의 상자 */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid4 .card { padding: 36px 30px; }
.grid4 .card h3 { font-size: 21px; }
.card .pj-go { display: inline-block; margin-top: 18px; font-size: 15px; font-weight: 600; color: #111; }
.mail-box { max-width: 860px; margin: 0 auto; padding: 56px 40px; border-radius: 12px; background: #f5f7fa; text-align: center; }
.mail-box .mail-addr { display: block; padding: 10px 0 28px; font-family: var(--e-font); font-size: clamp(22px, 2.4vw, 34px); font-weight: 700; color: #111; word-break: break-all; }
.mail-box ul { max-width: 520px; margin: 34px auto 0; text-align: left; font-size: 16px; line-height: 1.9; color: #555; }
.mail-box li::before { content: "· "; }
.map-links { display: flex; gap: 12px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
@media (max-width: 1100px) { .grid4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid4 { grid-template-columns: 1fr; } .mail-box { padding: 40px 20px; } }

/* 11/11 대표 「영어와 굵은 한글 사이 여백이 너무 넓다」: 두 줄을 붙인다 */
.cta-eyebrow { align-self: end; padding-bottom: 3px; line-height: 1.2; }
.cta-title { align-self: start; line-height: 1.25; }
