/* =========================================================
   레이아웃 틀 (이미지·브랜드·문구는 모두 자리표시자)
   - 색상/크기는 아래 :root 변수만 바꾸면 전체에 반영됩니다.
   ========================================================= */
:root {
  --accent: #f4766a;   /* 포인트: 햄버거, 활성 점, 활성 탭 */
  --quick: #00e3f0;    /* 우측 퀵 메뉴 버튼 */
  --chat: #2aa9e8;     /* 우측 하단 문의 버튼 */
  --ink: #111;
  --muted: #8a8a8a;
  --line: #dedede;
  --grey: #eee;        /* 회색 섹션 배경 */
  --header-h: 100px;
  --wrap: 1300px;      /* 본문 최대 너비 */
  --gap: 15px;         /* 카드 사이 간격 */
  --font: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
button, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

[data-section] { scroll-margin-top: var(--header-h); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 300;
  padding: 10px 14px; background: var(--ink); color: #fff;
}
.skip-link:focus { top: 8px; }

/* 본문 폭 컨테이너 */
.wrap { width: min(100% - 20px, var(--wrap)); margin-inline: auto; }
.wrap--bleed { width: min(100%, var(--wrap)); }

/* 아이콘 */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- 자리표시자(이미지 대신 들어가는 블록) ---------- */
.ph {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  text-align: center;
  font-weight: 800; letter-spacing: .12em;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(14px, 2vw, 26px);
}
.ph small {
  display: block; margin-top: 8px;
  font-size: 12px; font-weight: 500; letter-spacing: .04em; opacity: .75;
}
.ph--a { background: linear-gradient(135deg, #6f9fc9, #cfe0ef 60%, #8fb4d6); }
.ph--b { background: linear-gradient(135deg, #8a93a8, #d9dde6 60%, #a3abbd); }
.ph--c { background: linear-gradient(135deg, #7fb0a6, #d8ebe6 60%, #96c2b9); }
.ph--dark {
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.035) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #2c2f36, #15171b);
}
.ph--tile { font-size: 13px; letter-spacing: .05em; background: linear-gradient(160deg, #343842, #17191d); }

/* 이미지 자리(.slot): images/ 폴더에 정해진 파일명으로 넣으면 자리표시자 위에 자동 표시.
   파일이 없으면 자리표시자가 그대로 보입니다. */
.slot { position: relative; }
.slot > img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; max-width: none; object-fit: cover;
}

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}

.logo { display: flex; align-items: center; color: var(--ink); }
.logo__fallback { display: flex; align-items: center; gap: 14px; }
.logo__img { display: none; height: 76px; width: auto; max-width: 60vw; object-fit: contain; }
.logo.is-filled .logo__img { display: block; }
.logo.is-filled .logo__fallback { display: none; }
.logo__mark {
  flex: none;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: #f1f1f1; border: 2px dashed #bdbdbd;
  font-size: 11px; font-weight: 700; color: #999;
  object-fit: contain;
}
img.logo__mark { background: none; border: 0; border-radius: 0; }
.logo__name { display: block; font-size: 36px; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.logo__tagline { display: block; margin-top: 9px; font-size: 14px; font-weight: 700; letter-spacing: .5em; line-height: 1; }

.logo--small .logo__fallback { gap: 10px; }
.logo--small .logo__img { height: 52px; }
.logo--small .logo__mark { width: 48px; height: 48px; font-size: 9px; }
.logo--small .logo__name { font-size: 24px; }
.logo--small .logo__tagline { margin-top: 6px; font-size: 10px; }

.hamburger {
  position: absolute; right: 31px; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; padding: 4px;
  display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 7px;
  background: none; border: 0; cursor: pointer;
}
.hamburger span {
  display: block; width: 35px; height: 3px; border-radius: 1px;
  background: var(--accent);
  transition: width .2s ease;
}
.hamburger span:last-child { width: 20px; }
.hamburger:hover span:last-child,
.hamburger:focus-visible span:last-child { width: 35px; }

/* ---------- 전체 메뉴 패널 ---------- */
.menu-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 0, 0, .5);
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility 0s .3s;
}
.site-menu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 210;
  width: min(380px, 88vw);
  padding: 28px 32px 40px;
  background: #fff;
  overflow-y: auto;
  transform: translateX(100%); visibility: hidden;
  transition: transform .35s ease, visibility 0s .35s;
}
body.menu-open { overflow: hidden; }
body.menu-open .menu-backdrop { opacity: 1; visibility: visible; transition: opacity .3s ease; }
body.menu-open .site-menu { transform: none; visibility: visible; transition: transform .35s ease; }

.site-menu__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 18px; border-bottom: 2px solid var(--ink);
  font-size: 14px; letter-spacing: .3em;
}
.site-menu__close {
  width: 44px; height: 44px; margin-right: -11px;
  display: grid; place-items: center;
  background: none; border: 0; cursor: pointer; font-size: 22px;
}
.site-menu__list a {
  display: block; padding: 18px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 18px; font-weight: 700;
  transition: color .2s ease, padding-left .2s ease;
}
.site-menu__list a:hover { color: var(--accent); padding-left: 10px; }
.site-menu__cta {
  display: block; margin-top: 28px; padding: 15px;
  background: var(--ink); color: #fff;
  text-align: center; font-weight: 700;
}

/* ---------- 공용: 섹션 / 섹션 제목 ---------- */
.section { padding: 100px 0; }
.section--grey { background: var(--grey); }
.section--light { background: #fafafa; }

.sec-head { max-width: 1500px; margin: 0 auto; padding: 0 16px; text-align: center; }
.sec-head__title {
  font-size: clamp(26px, 3.55vw, 56px);
  font-weight: 700; line-height: 1.1; letter-spacing: -.02em;
  word-break: keep-all;
}
.sec-head__title span { font-weight: 300; color: #444; }
.sec-head__desc { margin-top: 24px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.sec-head + .wrap { margin-top: 50px; }

.btn-more {
  display: inline-grid; place-items: center;
  min-width: 88px; height: 38px; margin-top: 20px; padding: 0 20px;
  border: 2px solid var(--ink); border-radius: 20px;
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  transition: background .2s ease, color .2s ease;
}
.btn-more:hover { background: var(--ink); color: #fff; }

/* ---------- 공용: 캐러셀 (한 장씩 겹쳐 놓고 페이드 전환) ---------- */
.carousel__track { display: grid; }
.carousel__slide {
  grid-area: 1 / 1; min-width: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .5s ease, visibility 0s .5s;
}
.carousel__slide.is-active { opacity: 1; visibility: visible; transition: opacity .5s ease; }

/* 가로 점 표시 (활성 = 길쭉한 알약) */
.pill-dots { display: flex; align-items: center; gap: 5px; }
.pill-dots button {
  width: 8px; height: 8px; padding: 0;
  border: 0; border-radius: 8px;
  background: #d2d2d2; cursor: pointer;
  transition: width .25s ease, background .25s ease;
}
.pill-dots button.is-active { width: 24px; background: var(--accent); }

/* 테두리 박스 + 머리줄(제목 · 점 · 이전/정지/다음) */
.box { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.box__head { display: flex; align-items: center; gap: 18px; min-height: 32px; margin-bottom: 12px; }
.box__title { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.box__ctrl { display: flex; align-items: center; margin-left: auto; }
.box__ctrl button {
  width: 26px; height: 32px; padding: 0;
  display: grid; place-items: center;
  background: none; border: 0; cursor: pointer;
  font-size: 18px; color: #333;
}
.box__ctrl button:hover { color: var(--accent); }
.box__ctrl .icon--play { display: none; fill: currentColor; }
[data-carousel].is-paused .icon--pause { display: none; }
[data-carousel].is-paused .icon--play { display: block; }

/* ---------- 01. 메인 비주얼 슬라이더 ---------- */
.hero {
  position: relative;
  height: clamp(220px, 27vw, 520px);
  overflow: hidden;
  background: #cfd8e3;
  touch-action: pan-y;
}
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .8s ease, visibility 0s .8s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease; }

.hero__ui {
  position: absolute; left: 9%; top: 35px; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
}

.btn-contact {
  position: relative;
  width: 170px; height: 44px;
  display: grid; place-items: center;
  background: rgba(105, 105, 105, .68);
  color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: .06em;
  transition: background .2s ease;
}
/* 모서리 흰색 꺾쇠 장식 */
.btn-contact::before,
.btn-contact::after {
  content: ""; position: absolute; width: 55%; height: 60%;
  border: 1px solid #fff; pointer-events: none;
  transition: width .25s ease, height .25s ease;
}
.btn-contact::before { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.btn-contact::after { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.btn-contact:hover { background: rgba(60, 60, 60, .8); }
.btn-contact:hover::before,
.btn-contact:hover::after { width: 100%; height: 100%; }

.hero__arrows { display: flex; gap: 7px; }
.hero__arrow {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: rgba(70, 70, 70, .62); color: #d8d8d8;
  border: 0; cursor: pointer; font-size: 22px;
  transition: background .2s ease, color .2s ease;
}
.hero__arrow .icon { stroke-width: 1.5; }
.hero__arrow:hover { background: rgba(30, 30, 30, .8); color: #fff; }

/* ---------- 02. 소개 문구 + 4단 배너 카드 ---------- */
.intro {
  position: relative;
  margin-top: 50px;
  padding: 85px 0 80px;
  overflow: hidden;
  background-color: #f3f3f3;
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .55) 0 2px, transparent 2px 7px),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, .018) 0 2px, transparent 2px 7px);
}
/* 섹션 상단의 둥근 그림자 */
.intro::before {
  content: ""; position: absolute; top: -20px; left: 18%; right: 18%; height: 20px;
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(0, 0, 0, .5);
}
.intro .sec-head__desc { font-size: 14px; }

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.card {
  position: relative; display: block;
  aspect-ratio: 31 / 44;
  overflow: hidden; border-radius: 4px;
  background: #1c1e22; color: #fff;
}
.card > * { transition: transform .5s ease; }
.card:hover > *,
.card:focus-visible > * { transform: scale(1.04); }

/* ---------- 03. 배너 슬라이드 박스 + 게시판 탭 ---------- */
.duo { display: grid; grid-template-columns: minmax(0, 41%) minmax(0, 1fr); gap: 27px; align-items: start; }

.banner-media { aspect-ratio: 30 / 17; overflow: hidden; }
.banner-caption { padding: 12px 0 18px; text-align: center; font-size: 13px; }

.tabs { display: flex; border-bottom: 1px solid var(--accent); }
.tabs__tab {
  position: relative; margin-bottom: -1px;
  padding: 13px 20px;
  background: none; border: 1px solid transparent; border-bottom: 0;
  font-size: 16px; font-weight: 700; letter-spacing: -.02em;
  cursor: pointer; white-space: nowrap;
}
.tabs__tab:hover { color: var(--accent); }
.tabs__tab.is-active { color: var(--accent); background: #fff; border-color: var(--accent); }

.post { display: flex; align-items: flex-start; gap: 16px; padding: 28px 24px; border-bottom: 1px solid var(--line); }
.post__thumb {
  flex: none; width: 60px; height: 60px; margin-top: 4px; border-radius: 14px;
  background: #f1f1f1; border: 2px dashed #c9c9c9;
}
.post__thumb.is-filled { border-color: transparent; background: none; overflow: hidden; }
.post__body { min-width: 0; }
.post__title { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.post__title time { margin-left: 4px; font-size: 11px; font-weight: 400; color: var(--muted); }
.post__excerpt {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  margin-top: 8px; max-width: 500px;
  font-size: 13px; line-height: 1.45; color: var(--muted);
}
.post:hover .post__title { color: var(--accent); }

/* ---------- 04. 영상 ---------- */
.video-row { display: grid; grid-template-columns: minmax(0, 60%) minmax(0, 1fr); gap: 26px; align-items: start; }

.video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: #000; }
.video iframe { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; border: 0; }
.video__play {
  position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%);
  width: 68px; height: 48px; padding: 0; border: 0; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, .62); color: #fff; font-size: 24px; cursor: pointer;
  transition: background .2s ease;
}
.video__play:hover { background: var(--accent); }
.video .ph { align-items: start; padding-top: 9%; }
.video__play .icon { fill: currentColor; stroke: none; }

.thumb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 15px; }
.thumb { display: block; }
.thumb__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; }
.thumb__caption { display: block; padding: 12px 4px 4px; text-align: center; font-size: 14px; letter-spacing: -.02em; }
.thumb:hover .thumb__caption { color: var(--accent); }

/* ---------- 05. 아이콘 바로가기 + 링크 카드 ---------- */
.shortcut-row { display: grid; grid-template-columns: minmax(0, 49%) minmax(0, 1fr); gap: 26px; align-items: stretch; }

.icon-menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.icon-menu__item {
  height: 100%; min-height: 175px; padding: 20px 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #fff;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-align: center;
  transition: background .2s ease, color .2s ease;
}
.icon-menu__item .icon { font-size: 42px; stroke-width: 1.7; margin-bottom: 18px; }
.icon-menu__item strong { font-size: 15px; letter-spacing: -.02em; }
.icon-menu__item span { margin-top: 8px; font-size: 12px; color: var(--muted); transition: color .2s ease; }
/* 기본은 첫 칸 강조, 다른 칸에 마우스를 올리면 강조가 옮겨감 */
.icon-menu__item.is-active,
.icon-menu__item:hover,
.icon-menu__item:focus-visible { background: var(--accent); color: #fff; }
.icon-menu__item.is-active span,
.icon-menu__item:hover span,
.icon-menu__item:focus-visible span { color: #fff; }
.icon-menu:hover .icon-menu__item.is-active:not(:hover) { background: #fff; color: inherit; }
.icon-menu:hover .icon-menu__item.is-active:not(:hover) span { color: var(--muted); }

.link-panel {
  display: grid; gap: 10px; padding: 25px;
  border-radius: 6px;
  background: linear-gradient(115deg, #f6e1e0, #f2efef 50%, #e1f4f5);
}
.link-card {
  min-height: 94px; padding: 14px 38px 14px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: #fff; border-radius: 4px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.link-card:hover { box-shadow: 0 6px 16px rgba(0, 0, 0, .1); transform: translateY(-2px); }
.link-card__text strong { display: block; font-size: 18px; letter-spacing: -.02em; }
.link-card__text span { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 11px; color: var(--muted); }
.link-card__text .icon { font-size: 10px; stroke-width: 3; color: var(--accent); }
.link-card__icon { font-size: 38px; stroke-width: 1.7; color: var(--accent); }

/* ---------- 06. 작업물 (3줄 썸네일 · 가로 스크롤) ---------- */
.works { --tile: clamp(72px, 6.68vw, 120px); padding-bottom: 84px; }
.works__scroller {
  margin-top: 40px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none; cursor: grab;
}
.works__scroller::-webkit-scrollbar { display: none; }
.works__scroller.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.works__grid {
  display: grid; width: max-content;
  grid-template-rows: repeat(3, var(--tile));
  grid-auto-flow: column; grid-auto-columns: var(--tile);
  gap: 1px;
}
.works__item { display: block; overflow: hidden; border-radius: 4px; background: #1c1e22; }
.works__item > * { transition: transform .3s ease, opacity .3s ease; }
.works__item:hover > * { transform: scale(1.08); opacity: .85; }

.works__progress { position: relative; width: min(320px, 60%); height: 2px; margin: 38px auto 0; background: #d5d5d5; }
.works__progress span { position: absolute; top: -1px; left: 0; height: 4px; width: 30%; border-radius: 2px; background: var(--accent); }

/* ---------- 푸터 ---------- */
.footer-policy {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px;
  padding: 21px 16px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.footer-policy a:hover { color: var(--accent); }

.footer-info { padding: 50px 0 70px; background: var(--grey); font-size: 13px; color: #777; }
.footer-info__grid { display: grid; grid-template-columns: minmax(0, 27%) minmax(0, 1fr) 195px; gap: 30px; }
.footer-col__title { margin-bottom: 14px; font-size: 20px; font-weight: 700; color: #222; }
.footer-col p { line-height: 1.85; word-break: keep-all; }
.footer-col__gap { margin-top: 10px; }
.footer-tel { margin-bottom: 8px; font-size: 28px; font-weight: 300; line-height: 1.3 !important; color: #555; }

.sns { display: flex; flex-wrap: wrap; gap: 6px; }
.sns a {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: #777; color: #fff; font-size: 10px; font-weight: 700;
  overflow: hidden;
  transition: background .2s ease;
}
.sns a:hover { background: var(--accent); }

.family { display: block; margin-top: 18px; }
.family select {
  width: 100%; height: 40px; padding: 0 40px 0 20px;
  appearance: none; -webkit-appearance: none;
  border: 0; border-radius: 0;
  background: #595959 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
  color: #fff; font-size: 13px; font-weight: 700; cursor: pointer;
}
.family select option { color: #111; background: #fff; }

.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px;
  padding: 30px 16px;
  background: #ddd; color: #777; font-size: 14px;
}

/* ---------- 우측 고정: 퀵 버튼 ---------- */
.quick {
  position: fixed; right: 0; top: 170px; z-index: 90;
  width: 30px;
  display: flex; flex-direction: column;
  box-shadow: -1px 1px 5px rgba(0, 0, 0, .18);
}
.quick button {
  display: grid; place-items: center;
  width: 100%; padding: 0; border: 0; cursor: pointer; font-size: 14px;
}
.quick__menu { height: 74px; background: var(--quick); color: #fff; }
.quick__menu .icon { stroke-width: 2.6; }
.quick__btn { height: 36px; background: #fff; color: #333; border-top: 1px solid var(--line) !important; }
.quick__btn:hover { background: #f3f3f3; }

/* ---------- 우측 고정: 섹션 점 내비게이션 ---------- */
.dot-nav {
  position: fixed; right: 20px; top: max(50%, 420px); transform: translateY(-50%); z-index: 80;
  display: flex; flex-direction: column; align-items: center; gap: 19px;
}
.dot-nav button {
  position: relative;
  width: 10px; height: 10px; padding: 0;
  border: 0; border-radius: 10px;
  background: #d2d2d2; cursor: pointer;
  transition: height .25s ease, background .25s ease;
}
.dot-nav button::before { content: ""; position: absolute; inset: -9px -12px; } /* 터치 영역 확장 */
.dot-nav button:hover { background: #aaa; }
.dot-nav button.is-active { height: 28px; background: var(--accent); }
/* 마우스를 올리면 섹션 이름 표시 */
.dot-nav button::after {
  content: attr(data-label);
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  padding: 4px 9px; border-radius: 3px;
  background: rgba(17, 17, 17, .85); color: #fff;
  font-size: 12px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.dot-nav button:hover::after,
.dot-nav button:focus-visible::after { opacity: 1; }

/* ---------- 우측 하단 고정: 문의 버튼 ---------- */
.floating-chat {
  position: fixed; right: 12px; bottom: 12px; z-index: 95;
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--chat); color: #fff; font-size: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .28);
  transition: transform .2s ease;
}
.floating-chat:hover { transform: scale(1.08); }

/* ---------- 스크롤 등장 효과 (JS 동작 시에만 적용) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal:nth-child(2) { transition-delay: .08s; }
.js .reveal:nth-child(3) { transition-delay: .16s; }
.js .reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo, .video-row, .shortcut-row { grid-template-columns: minmax(0, 1fr); }
  .footer-info__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col--side { grid-column: 1 / -1; max-width: 260px; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; --gap: 8px; }

  .wrap { width: min(100% - 32px, var(--wrap)); }
  .wrap--bleed { width: min(100% - 16px, var(--wrap)); }

  .site-header .logo__fallback { gap: 9px; }
  .site-header .logo__img { height: 48px; }
  .site-header .logo__mark { width: 40px; height: 40px; font-size: 9px; }
  .site-header .logo__name { font-size: 22px; }
  .site-header .logo__tagline { margin-top: 6px; font-size: 10px; }
  .hamburger { right: 8px; }
  .hamburger span { width: 28px; }
  .hamburger span:last-child { width: 16px; }
  .hamburger:hover span:last-child { width: 28px; }

  .hero__ui { left: 16px; top: 16px; gap: 8px; }
  .btn-contact { width: 124px; height: 36px; font-size: 11px; }
  .hero__arrow { width: 36px; height: 36px; font-size: 18px; }
  .hero__arrows { gap: 5px; }

  .section { padding: 60px 0; }
  .sec-head__desc { margin-top: 16px; font-size: 13px; }
  .sec-head + .wrap { margin-top: 32px; }

  .video .ph { padding-top: 6%; }
  .video .ph small { display: none; }
  .video__play { width: 56px; height: 40px; font-size: 20px; }

  .intro { margin-top: 30px; padding: 50px 0; }

  .box { padding: 16px; }
  .box__head { gap: 12px; }
  .box__title { font-size: 17px; }
  .tabs__tab { flex: 1; padding: 12px 6px; font-size: 14px; }
  .post { padding: 20px 4px; gap: 12px; }
  .post__thumb { width: 48px; height: 48px; border-radius: 12px; }

  .icon-menu__item { min-height: 130px; }
  .icon-menu__item .icon { font-size: 32px; margin-bottom: 12px; }
  .link-panel { padding: 14px; }
  .link-card { min-height: 78px; padding: 12px 20px; }
  .link-card__text strong { font-size: 16px; }

  .works { padding-bottom: 60px; }
  .works__scroller { margin-top: 28px; }

  .footer-info { padding: 36px 0 90px; }
  .footer-info__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .footer-col--side { max-width: none; }

  .dot-nav { display: none; }
  .quick { top: auto; bottom: 74px; width: 40px; }
  .quick__menu { display: none !important; }
  .quick__btn { height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
