/* =================================================================
   WeAppear — 절연보강 e-클리닝 / Design System
   밝고 깔끔한 전문가 톤 + 자연스러운 인터랙션
   ================================================================= */

/* ---- Web Font (Pretendard) ---- */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

/* ---- Tokens ---- */
:root {
  --navy: #0b2a4a;
  --navy-2: #0e3a63;
  --blue: #1565d8;
  --blue-dark: #1052b3;
  --cyan: #14b6e6;
  --eco: #1fae7a;
  --ink: #18222e;
  --muted: #5b6b7b;
  --muted-2: #8595a4;
  --line: #e5ecf3;
  --line-2: #eef3f9;
  --bg: #ffffff;
  --soft: #f4f8fc;
  --soft-2: #eaf2fb;

  --grad: linear-gradient(125deg, #0b2a4a 0%, #1457bf 52%, #15a7e0 100%);
  --grad-soft: linear-gradient(125deg, #eef5fe 0%, #e7f1fb 100%);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 16px;

  --sh-1: 0 4px 16px rgba(16, 42, 74, .08);
  --sh-2: 0 14px 40px rgba(16, 42, 74, .09);
  --sh-3: 0 30px 70px rgba(16, 42, 74, .14);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 76px;
  --wrap: 1200px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo",
    "Malgun Gothic", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 3px solid rgba(20, 182, 230, .55); outline-offset: 2px; border-radius: 4px; }

/* ---- Layout ---- */
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.section { padding: clamp(46px, 5.5vw, 84px) 0; }
.section.soft { background: var(--soft); }
.section.tight { padding: clamp(32px, 4vw, 56px) 0; }

/* ---- Section heading ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .14em;
  color: var(--blue); text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--cyan); border-radius: 2px; }
.s-head { max-width: 760px; margin-bottom: clamp(22px, 3.2vw, 40px); }
.s-head.center { margin-inline: auto; text-align: center; }
.s-head.center .eyebrow { justify-content: center; }
.s-title {
  font-size: clamp(1.7rem, 3.4vw, 2.75rem);
  font-weight: 800; line-height: 1.22; letter-spacing: -.03em;
  margin: 14px 0 0; color: var(--navy);
}
.s-title .hl { color: var(--blue); }
.s-desc { margin-top: 16px; font-size: clamp(1rem, 1.4vw, 1.12rem); color: var(--muted); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: 100px;
  font-weight: 700; font-size: .98rem; line-height: 1;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s;
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 26px rgba(20, 101, 216, .32); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(20, 101, 216, .42); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .4); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .22); transform: translateY(-3px); }
.btn-line { background: #fff; color: var(--navy); border: 1.5px solid var(--line); box-shadow: var(--sh-1); }
.btn-line:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-3px); box-shadow: var(--sh-2); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }

/* =================================================================
   HEADER
   ================================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-header.solid { background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line), var(--sh-1); }

.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: -.02em; }
.logo-img { height: 42px; width: auto; display: block; }
@media (max-width: 600px) { .logo-img { height: 32px; } }
.logo .mark {
  font-size: 1.42rem; color: var(--navy);
}
.logo .mark b { color: var(--blue); }
.logo .ko { font-size: .82rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.site-header:not(.solid) .logo .mark { color: #fff; }
.site-header:not(.solid) .logo .mark b { color: #aee9ff; }
.site-header:not(.solid) .logo .ko { color: rgba(255, 255, 255, .8); }
/* 헤더 로고 — 은은한 샤인 스윕 + 호버 살짝 확대 */
.site-header .logo { position: relative; overflow: hidden; }
.site-header .logo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 38%, rgba(255, 255, 255, .92) 50%, transparent 62%); background-size: 250% 100%; background-repeat: no-repeat; -webkit-mask: url(../images/logo-weappear.png) center / contain no-repeat; mask: url(../images/logo-weappear.png) center / contain no-repeat; animation: logoShine 13s ease-in-out 2.5s infinite; }
@keyframes logoShine { 0% { background-position: 200% 0; } 28%, 100% { background-position: -100% 0; } }
.site-header .logo .logo-img { transition: transform .4s var(--ease); }
.site-header .logo:hover .logo-img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .site-header .logo::after { animation: none; } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 16px; border-radius: 10px;
  font-weight: 600; font-size: .98rem; color: var(--ink);
  transition: color .25s, background .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px;
  background: var(--cyan); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--blue); }
.site-header:not(.solid) .nav a { color: rgba(255, 255, 255, .9); }
.site-header:not(.solid) .nav a.active { color: #fff; }

.header-cta { display: inline-flex; align-items: center; gap: 14px; }
.header-tel { font-weight: 800; font-size: 1.02rem; color: var(--navy); display: flex; align-items: center; gap: 7px; }
.header-tel svg { width: 16px; height: 16px; color: var(--blue); }
.site-header:not(.solid) .header-tel { color: #fff; }
.site-header:not(.solid) .header-tel svg { color: #aee9ff; }
.header-cta .btn { padding: 11px 20px; font-size: .92rem; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2.3px; background: var(--ink); border-radius: 2px; transition: .35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.site-header:not(.solid) .nav-toggle span { background: #fff; }
body.menu-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
body.menu-open .nav-toggle span { background: var(--ink) !important; }

/* mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; pointer-events: none;
}
.mobile-nav .backdrop { position: absolute; inset: 0; background: rgba(11, 42, 74, .45); opacity: 0; transition: opacity .4s; }
.mobile-nav .panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(82%, 340px);
  background: #fff; box-shadow: var(--sh-3); padding: calc(var(--header-h) + 20px) 28px 40px;
  transform: translateX(100%); transition: transform .45s var(--ease);
  display: flex; flex-direction: column;
}
.mobile-nav .panel a { padding: 16px 6px; font-size: 1.12rem; font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--line-2); }
.mobile-nav .panel a.active { color: var(--blue); }
.mobile-nav .m-contact { margin-top: auto; padding-top: 24px; color: var(--muted); font-size: .95rem; line-height: 1.9; }
.mobile-nav .m-contact b { color: var(--navy); }
body.menu-open .mobile-nav { pointer-events: auto; }
body.menu-open .mobile-nav .backdrop { opacity: 1; }
body.menu-open .mobile-nav .panel { transform: translateX(0); }

/* =================================================================
   HERO
   ================================================================= */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: calc(var(--header-h) + 40px) 0 90px; color: #fff; overflow: hidden;
  background: var(--grad);
}
/* 풀스크린 배경 사진 (hero-bg.jpg 넣으면 레퍼런스식 포토 히어로) */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg .hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1); will-change: opacity, transform;
  transition: opacity 2.2s ease-in-out, transform 9s ease-out;
}
.hero-bg .hero-slide.active { opacity: 1; transform: scale(1.07); }
@media (prefers-reduced-motion: reduce) {
  .hero-bg .hero-slide { transition: opacity 1s ease-in-out; transform: none; }
  .hero-bg .hero-slide.active { transform: none; }
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 24, 48, .24) 0%, rgba(9, 30, 60, .2) 45%, rgba(8, 24, 48, .42) 100%),
    radial-gradient(900px 480px at 78% -10%, rgba(86, 214, 255, .14), transparent 60%);
}
.hero .grid-bg {
  position: absolute; inset: 0; z-index: 1; opacity: .5; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 70% 30%, #000 30%, transparent 78%);
}
.hero-canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.hero .wrap { position: relative; z-index: 3; }
.hero-inner { max-width: 960px; margin-inline: auto; }

/* moving gradient mesh (배경 생동감) */
.hero-mesh { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.hero-mesh span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; mix-blend-mode: screen; }
.hero-mesh .m1 { width: 540px; height: 540px; background: #19c2f0; top: -140px; right: -60px; animation: blobA 15s var(--ease) infinite alternate; }
.hero-mesh .m2 { width: 480px; height: 480px; background: #2f6fe6; bottom: -180px; left: -80px; animation: blobB 18s var(--ease) infinite alternate; }
.hero-mesh .m3 { width: 320px; height: 320px; background: #7af0ff; top: 38%; right: 34%; opacity: .3; animation: blobA 13s var(--ease) infinite alternate; }
@keyframes blobA { to { transform: translate(-46px, 44px) scale(1.18); } }
@keyframes blobB { to { transform: translate(54px, -34px) scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .hero-mesh span { animation: none; } }

/* 우측 비주얼 스택 */
.hero-visual { position: relative; }
.hv-main {
  position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 4.5;
  box-shadow: 0 44px 90px rgba(0, 18, 48, .5);
  transform: perspective(1100px) rotateY(-9deg) rotateX(3deg);
  transition: transform .7s var(--ease);
}
.hero-visual:hover .hv-main { transform: perspective(1100px) rotateY(-4deg) rotateX(1deg) translateY(-6px); }
.hv-main::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(11, 42, 74, .05) 30%, rgba(11, 42, 74, .55));
}
.hv-main::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: 26px; border: 1px solid rgba(255, 255, 255, .25); box-shadow: inset 0 0 60px rgba(126, 220, 255, .25); }
.hv-main img { width: 100%; height: 100%; object-fit: cover; }
.hv-main .hv-badge {
  position: absolute; z-index: 4; top: 18px; left: 18px;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 100px;
  background: rgba(11, 42, 74, .55); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(8px);
  font-size: .82rem; font-weight: 700; letter-spacing: .04em;
}
.hv-main .hv-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #5fe6a0; box-shadow: 0 0 0 0 rgba(95, 230, 160, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(95, 230, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 230, 160, 0); } }

.float-chip {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .32);
  backdrop-filter: blur(14px); border-radius: 16px; padding: 13px 17px; color: #fff; font-weight: 700;
  box-shadow: 0 18px 44px rgba(0, 16, 44, .35); white-space: nowrap;
}
.float-chip .fi { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: rgba(126, 220, 255, .22); color: #aee9ff; }
.float-chip .fi svg { width: 16px; height: 16px; }
.float-chip.chip-a { top: 7%; left: -7%; animation: floaty 5.5s var(--ease) infinite; }
.float-chip.chip-b { bottom: 21%; left: -11%; animation: floaty 6.5s var(--ease) infinite .4s; }
.float-chip.chip-c { bottom: 5%; right: -6%; flex-direction: column; align-items: flex-start; gap: 2px; animation: floaty 5.8s var(--ease) infinite .8s; }
.float-chip.chip-c .big { font-size: 1.5rem; color: #aee9ff; line-height: 1; }
.float-chip.chip-c .sm { font-size: .76rem; font-weight: 600; color: rgba(255, 255, 255, .82); }
@keyframes floaty { 50% { transform: translateY(-13px); } }
@media (prefers-reduced-motion: reduce) { .float-chip { animation: none !important; } }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-inner { max-width: 720px; }
  .hv-main { transform: none; aspect-ratio: 16 / 10; max-width: 560px; margin-inline: auto; }
  .hero-visual:hover .hv-main { transform: translateY(-4px); }
  .float-chip.chip-a { left: 2%; }
  .float-chip.chip-b { left: 0; }
  .float-chip.chip-c { right: 2%; }
}
@media (max-width: 560px) {
  .float-chip { padding: 9px 12px; font-size: .82rem; }
  .float-chip.chip-a { top: 4%; left: 1%; } .float-chip.chip-b { display: none; }
}
.hero .badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 18px;
  border-radius: 100px; background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(8px);
  font-size: .88rem; font-weight: 600; letter-spacing: .01em;
}
.hero .badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #5fe6a0; box-shadow: 0 0 0 4px rgba(95, 230, 160, .25); }
.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 4.05rem); font-weight: 800; line-height: 1.15;
  letter-spacing: -.035em; margin: 22px 0 0; word-break: keep-all;
  text-shadow: 0 2px 30px rgba(0, 14, 36, .25);
}
.hero h1 .grad-text {
  background: linear-gradient(90deg, #aee9ff, #ffffff 45%, #7fdcff 70%, #ffffff);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 220% center; } }
@media (prefers-reduced-motion: reduce) { .hero h1 .grad-text { animation: none; } }
.hero p.lead { margin-top: 22px; font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: rgba(255, 255, 255, .92); max-width: 660px; margin-inline: auto; text-shadow: 0 1px 16px rgba(0, 14, 36, .25); }
.hero .cta-row { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero .hero-stats {
  margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 720px;
}
.hero .hero-stats .st { padding: 18px 18px; border-radius: var(--r); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.hero .hero-stats .num { font-size: clamp(1.5rem, 2.6vw, 2.05rem); font-weight: 800; letter-spacing: -.02em; }
.hero .hero-stats .num .suf { font-size: .62em; margin-left: 2px; color: #aee9ff; }
.hero .hero-stats .lab { font-size: .82rem; color: rgba(255, 255, 255, .78); margin-top: 4px; }
.hero .scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2;
  font-size: .74rem; letter-spacing: .2em; color: rgba(255, 255, 255, .7); text-align: center;
}
.hero .scroll-cue .line { width: 1px; height: 40px; background: rgba(255, 255, 255, .5); margin: 8px auto 0; position: relative; overflow: hidden; }
.hero .scroll-cue .line::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: #aee9ff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

/* =================================================================
   HERO — SPLIT (좌 이미지 / 우 텍스트, 에디토리얼)
   ================================================================= */
.hero-split { position: relative; min-height: 100vh; display: grid; grid-template-columns: 1.06fr 0.94fr; background: #fff; }
.hs-media { position: relative; overflow: hidden; background: var(--soft-2); }
.hs-media img { width: 100%; height: 100%; object-fit: cover; }
.hs-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 70%, rgba(255,255,255,.18)); }
.hs-media .hs-chip {
  position: absolute; left: 26px; bottom: 26px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 100px;
  background: rgba(11,42,74,.55); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px);
  color: #fff; font-size: .82rem; font-weight: 700;
}
.hs-media .hs-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #5fe6a0; box-shadow: 0 0 0 0 rgba(95,230,160,.6); animation: pulse 1.8s infinite; }
.hs-text { display: flex; align-items: center; justify-content: center; padding: clamp(48px,6vw,80px) clamp(28px,4vw,64px); }
.hs-inner { max-width: 480px; text-align: center; }
.hs-eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .22em; color: var(--blue); }
.hs-text h1 { margin-top: 22px; font-size: clamp(1.7rem, 2.7vw, 2.6rem); font-weight: 800; line-height: 1.45; letter-spacing: -.02em; color: var(--navy); word-break: keep-all; }
.hs-text h1 .hl { color: var(--blue); }
.hs-sub { margin-top: 22px; font-size: 1.02rem; line-height: 1.85; color: var(--muted); word-break: keep-all; }
.hs-eng { margin-top: 26px; font-size: .76rem; letter-spacing: .2em; color: var(--muted-2); font-weight: 600; }
.hs-divider { width: 44px; height: 2px; background: var(--cyan); border-radius: 2px; margin: 22px auto; }
.hs-brand { font-weight: 800; letter-spacing: .04em; color: var(--navy); }
.hs-text .cta-row { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hs-text .btn-ghost { background: var(--navy); border-color: var(--navy); color: #fff; }
.hs-text .btn-ghost:hover { background: var(--navy-2); }
@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hs-media { height: 46vh; min-height: 280px; }
  .hs-text { padding: clamp(40px,9vw,60px) 28px clamp(48px,10vw,64px); }
  .hs-inner { max-width: 560px; }
}

/* =================================================================
   REVEAL ANIMATION
   ================================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; } .reveal.d6 { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero .scroll-cue .line::after { animation: none; } }

/* =================================================================
   GENERIC CARDS / GRIDS
   ================================================================= */
.grid { display: grid; gap: 18px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px; box-shadow: var(--sh-1); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: transparent; }

/* feature card */
/* 핵심가치 카드 — 가운데 정렬 + 장식 */
.grid.g-3 { counter-reset: feat; }
.feature { text-align: center; padding: 36px 28px 32px; border-radius: var(--r); position: relative; overflow: hidden; counter-increment: feat; box-shadow: var(--sh-1); }
.feature::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.feature:hover::after { transform: scaleX(1); }
.feature::before { content: "0" counter(feat); position: absolute; top: 10px; right: 20px; font-size: 2.5rem; font-weight: 800; color: #eaf1fb; letter-spacing: -.03em; pointer-events: none; transition: color .4s; }
.feature:hover::before { color: #d4e6fb; }
.feature > * { position: relative; }
.feature .ic {
  width: 74px; height: 74px; border-radius: 20px; display: grid; place-items: center;
  background: var(--grad-soft); margin: 4px auto 22px;
  box-shadow: inset 0 0 0 1px rgba(20, 101, 216, .08);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.feature .ic { perspective: 600px; --spd: 7s; --hspd: 1s; }
.feature .ic svg { width: 44px; height: 44px; overflow: visible; transform-origin: center; transform-style: preserve-3d; animation: icoBreathe var(--spd, 7s) ease-in-out var(--d, 0s) infinite; }
.feature .ic svg .fx { stroke-dasharray: 1; stroke-dashoffset: 0; animation: fxLoop var(--spd, 7s) ease-in-out var(--d, 0s) infinite; }
/* idle = --spd (기준 7s), hover = --hspd (기준 1s). 아이콘별 개별 조정 */
.feature .ic[data-icon="prevent"]     { --spd: 3.5s;  --hspd: 2s; }
.feature .ic[data-icon="safety"]      { --spd: 2.33s; }
.feature .ic[data-icon="economy"]     { --spd: 4.67s; --hspd: 4s; }
.feature .ic[data-icon="tech"]        { --spd: 1.66s; }
.feature .ic[data-icon="eco"]         { --spd: 2.8s; }
.feature .ic[data-icon="convenience"] { --spd: 2.8s;  --hspd: 1.43s; }
.feature .ic[data-icon="convenience"] svg { width: 50px; height: 50px; }
.feature:hover .ic { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(20, 101, 216, .2); }
/* 호버 모션 — hPop 공통, 속도만 아이콘별 --hspd. 미사용 키프레임(hPinch/hBounce/hFlash/hSway/hAngle)은 추후 모션 재배정용 보존 */
.feature:hover .ic svg { animation: hPop var(--hspd, 1s) var(--ease); }
.feature:hover .ic svg .fx { animation: fxDraw var(--hspd, 1s) var(--ease); }
@keyframes icoBreathe { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-4px) scale(1.12) rotate(1.5deg); } }
@keyframes fxLoop { 0% { stroke-dashoffset: 1; } 30%, 100% { stroke-dashoffset: 0; } }
@keyframes fxDraw { 0% { stroke-dashoffset: 1; } 100% { stroke-dashoffset: 0; } }
@keyframes hPinch  { 0%,100% { transform: scale(1); } 30% { transform: scale(1.2); } 55% { transform: scale(.9); } 78% { transform: scale(1.06); } }
@keyframes hPop    { 0%,100% { transform: scale(1); } 40% { transform: scale(1.18) translateY(-2px); } }
@keyframes hBounce { 0% { transform: translateY(0); } 30% { transform: translateY(-7px); } 55% { transform: translateY(0); } 72% { transform: translateY(-3px); } 100% { transform: translateY(0); } }
@keyframes hFlash  { 0%,100% { transform: scale(1); opacity: 1; } 25% { transform: scale(1.14); } 45% { opacity: .5; } 65% { opacity: 1; } }
@keyframes hSway   { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-13deg); } 70% { transform: rotate(11deg); } }
@keyframes hAngle  { 0%,100% { transform: rotateY(0); } 40% { transform: rotateY(28deg) scale(1.08); } 72% { transform: rotateY(-15deg); } }
@media (prefers-reduced-motion: reduce) { .feature .ic svg, .feature .ic svg .fx { animation: none !important; } }
.feature h3 { font-size: 1.18rem; font-weight: 800; color: var(--navy); }
.feature p { margin-top: 10px; color: var(--muted); font-size: .98rem; }

/* split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.split.rev .media { order: 2; }
.media-frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2);
  background: var(--soft-2); aspect-ratio: 4 / 3;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.media-frame:hover img { transform: scale(1.05); }

/* WHY — 레이어드 이미지 스택 (메인 + 겹침 인셋 + 떠 있는 통계칩) */
.why-stack { position: relative; padding-bottom: 42px; }
.why-stack::before { content: ""; position: absolute; left: -18px; top: -18px; width: 64%; height: 64%; background: var(--grad-soft); border-radius: var(--r-lg); z-index: 0; }
.why-stack .wm-main { position: relative; z-index: 1; width: 82%; aspect-ratio: 4 / 4.7; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-3); background: var(--navy); }
.why-stack .wm-main img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); animation: whyDrift 20s ease-in-out infinite alternate; }
@keyframes whyDrift { from { transform: scale(1.05) translate(0, 0); } to { transform: scale(1.13) translate(-1.5%, -2%); } }
.why-stack .wm-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11, 42, 74, .55), rgba(11, 42, 74, .04) 52%); }
.why-stack .wm-tag { position: absolute; left: 18px; bottom: 16px; z-index: 2; color: #fff; font-weight: 700; font-size: .92rem; text-shadow: 0 2px 12px rgba(0, 0, 0, .45); display: inline-flex; align-items: center; gap: 9px; }
.why-stack .wm-tag::before { content: ""; flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(20, 182, 230, .55); animation: pulse 1.8s infinite; }
.why-stack .wm-inset { position: absolute; right: 0; bottom: 0; z-index: 3; width: 47%; aspect-ratio: 3 / 3.5; border-radius: var(--r); overflow: hidden; border: 5px solid #fff; box-shadow: var(--sh-2); transition: transform .5s var(--ease); }
.why-stack .wm-inset img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.why-stack:hover .wm-inset { transform: translateY(-8px); }
.why-stack:hover .wm-inset img { transform: scale(1.06); }
.why-stack .wm-stat { position: absolute; right: 2%; top: 22px; z-index: 4; background: rgba(255, 255, 255, .93); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-2); padding: 13px 17px; text-align: left; animation: floatY 5s ease-in-out infinite; }
.why-stack .wm-stat b { display: block; font-size: 1.5rem; font-weight: 800; color: var(--blue); line-height: 1; letter-spacing: -.02em; }
.why-stack .wm-stat span { font-size: .75rem; color: var(--muted); font-weight: 600; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) { .why-stack .wm-main img, .why-stack .wm-stat, .why-stack .wm-tag::before { animation: none; } }
@media (max-width: 560px) { .why-stack .wm-main { width: 88%; } .why-stack .wm-inset { width: 52%; } .why-stack .wm-stat { top: 10px; right: 0; padding: 10px 13px; } .why-stack .wm-stat b { font-size: 1.2rem; } }

/* image placeholder (나노바나나 이미지 입력 전) */
.imgslot {
  width: 100%; height: 100%; min-height: 220px; display: grid; place-items: center; text-align: center;
  background: repeating-linear-gradient(45deg, #eef4fb, #eef4fb 14px, #e7eff9 14px, #e7eff9 28px);
  color: var(--muted-2); font-size: .82rem; font-weight: 600; letter-spacing: .02em; padding: 20px;
}
.imgslot span { display: block; }
.imgslot .pin { font-size: 1.6rem; margin-bottom: 6px; opacity: .6; }

/* check list */
.checks { display: grid; gap: 14px; margin-top: 8px; }
.checks li { display: flex; gap: 13px; align-items: flex-start; }
.checks .ck { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; background: var(--grad-soft); color: var(--blue); display: grid; place-items: center; margin-top: 2px; }
.checks .ck svg { width: 14px; height: 14px; }
.checks b { color: var(--navy); }
.checks p { color: var(--muted); font-size: .96rem; }

/* =================================================================
   CLIENT MARQUEE (주요 거래처)
   ================================================================= */
.clients { padding: clamp(36px, 4.5vw, 58px) 0; background: var(--soft); overflow: hidden; }
.clients-head { text-align: center; font-size: clamp(1.12rem, 2vw, 1.5rem); font-weight: 700; color: var(--navy); line-height: 1.5; }
.clients-head b { color: var(--blue); font-weight: 800; }
.clients-underline { width: 56px; height: 3px; background: var(--cyan); border-radius: 3px; margin: 18px auto clamp(30px, 4vw, 44px); }
.marquee { display: flex; gap: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.marquee .track { display: flex; gap: 18px; align-items: center; padding-right: 18px; animation: marq 46s linear infinite; }
.clogo-card {
  flex: 0 0 auto; height: 84px; min-width: 176px; padding: 0 30px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  display: grid; place-items: center; box-shadow: var(--sh-1);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.clogo-card:hover { transform: translateY(-5px); border-color: var(--cyan); box-shadow: var(--sh-2); }
.clogo-card img { max-height: 52px; max-width: 150px; object-fit: contain; }
.clogo-card .txt { font-weight: 800; font-size: 1.06rem; color: var(--navy); opacity: .5; letter-spacing: -.01em; white-space: nowrap; transition: color .3s, opacity .3s; }
.clogo-card:hover .txt { opacity: 1; color: var(--blue); }
@keyframes marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; } }

/* =================================================================
   STAT COUNTERS (band)
   ================================================================= */
.stat-band { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.stat-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 85% 120%, rgba(20, 167, 224, .35), transparent 60%); }
.stat-band .wrap { position: relative; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-grid .st { text-align: center; padding: 10px; }
.stat-grid .num { font-size: clamp(2.2rem, 4.5vw, 3.3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.stat-grid .num .suf { font-size: .5em; color: #7fdcff; margin-left: 3px; }
.stat-grid .lab { margin-top: 12px; font-weight: 600; color: rgba(255, 255, 255, .88); }
.stat-grid .note { font-size: .8rem; color: rgba(255, 255, 255, .55); margin-top: 4px; }

/* =================================================================
   COMPARE TABLE (기존 vs e-클리닝)
   ================================================================= */
.compare { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); }
.compare .crow { display: grid; grid-template-columns: 1fr 1.1fr 1.1fr; }
.compare .crow + .crow { border-top: 1px solid var(--line-2); }
.compare .cell { padding: 20px 22px; font-size: .96rem; font-weight: 500; }
.compare .head { background: var(--soft); }
.compare .crow.head .cell { font-weight: 800; color: var(--navy); }
.compare .crow.head .ours { background: var(--grad); color: #fff; border-radius: 0; font-weight: 800; }
.compare .crow .key { font-weight: 700; color: var(--navy); background: var(--soft); }
.compare .crow .old { color: var(--muted); }
.compare .crow .ours { color: var(--navy); background: rgba(20,101,216,.05); }
.compare .crow .ours::before { content: "✓ "; color: var(--eco); font-weight: 800; }
.compare .crow.head .ours::before { content: "✓ "; color: transparent; }
@media (max-width: 760px) {
  .compare .crow { grid-template-columns: 1fr; }
  .compare .crow .key { font-size: .82rem; letter-spacing: .04em; }
  .compare .crow + .crow { border-top: 4px solid var(--soft); }
}

/* benefit cards (작업 전/후) */
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-1); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.benefit:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.benefit .top { padding: 24px 26px; background: var(--soft); border-bottom: 1px solid var(--line-2); }
.benefit .top .tag { background: #fdecea; color: #c0392b; }
.benefit .top h4 { margin-top: 12px; font-weight: 800; color: var(--navy); font-size: 1.08rem; }
.benefit .top p { color: var(--muted); font-size: .92rem; margin-top: 6px; }
.benefit .bot { padding: 24px 26px; }
.benefit .bot .tag { background: #e8f7ef; color: #157a4d; }
.benefit .bot ul { margin-top: 12px; display: grid; gap: 9px; }
.benefit .bot li { display: flex; gap: 10px; font-size: .94rem; color: var(--ink); }
.benefit .bot li::before { content: ""; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); margin-top: 9px; }

/* =================================================================
   PROCESS TIMELINE
   ================================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px 26px; box-shadow: var(--sh-1); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.step .n { counter-increment: step; font-size: 2.4rem; font-weight: 800; color: var(--soft-2); line-height: 1; }
.step:hover .n { color: var(--blue); transition: color .4s; }
.step h4 { margin-top: 8px; font-size: 1.12rem; font-weight: 800; color: var(--navy); }
.step p { margin-top: 8px; color: var(--muted); font-size: .94rem; }
.step::after {
  content: ""; position: absolute; top: 50%; right: -16px; width: 18px; height: 18px;
  border-top: 2px solid var(--line); border-right: 2px solid var(--line); transform: translateY(-50%) rotate(45deg);
}
.steps .step:last-child::after { display: none; }

/* =================================================================
   PRODUCT CARDS
   ================================================================= */
.prod { display: grid; grid-template-columns: 200px 1fr; gap: 26px; align-items: center; }
.prod .ph { border-radius: var(--r); overflow: hidden; aspect-ratio: 3/4; background: var(--soft-2); box-shadow: var(--sh-1); }
.prod h3 { font-size: 1.3rem; font-weight: 800; color: var(--navy); }
.prod .model { display: inline-block; margin: 6px 0 12px; font-size: .8rem; font-weight: 700; color: var(--blue); background: var(--grad-soft); padding: 5px 12px; border-radius: 100px; }
.prod .spec { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 18px; margin-top: 12px; }
.prod .spec .k { font-size: .78rem; color: var(--muted-2); }
.prod .spec .v { font-weight: 700; color: var(--navy); font-size: .96rem; }

/* =================================================================
   CERT BADGES
   ================================================================= */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cert {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px;
  display: flex; gap: 16px; align-items: flex-start; box-shadow: var(--sh-1); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.cert:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: var(--cyan); }
.cert .seal { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.cert .seal svg { width: 24px; height: 24px; }
.cert .name { font-weight: 800; color: var(--navy); font-size: 1.02rem; line-height: 1.3; }
.cert .org { font-size: .84rem; color: var(--muted); margin-top: 3px; }
.cert .note { font-size: .76rem; color: var(--blue); font-weight: 700; margin-top: 6px; }

/* =================================================================
   PROJECTS (실적)
   ================================================================= */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 26px; }
.chip {
  padding: 9px 18px; border-radius: 100px; border: 1.5px solid var(--line); background: #fff;
  font-weight: 600; font-size: .9rem; color: var(--muted); transition: all .25s var(--ease);
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip .cnt { font-size: .78em; opacity: .65; margin-left: 5px; }
.proj-search { margin-left: auto; position: relative; }
.proj-search input {
  width: 260px; max-width: 60vw; padding: 11px 16px 11px 40px; border: 1.5px solid var(--line);
  border-radius: 100px; font: inherit; font-size: .92rem; text-overflow: ellipsis; transition: border-color .25s, box-shadow .25s;
}
.proj-search input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(20, 101, 216, .12); }
.proj-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted-2); }

.proj-list { display: grid; gap: 12px; }
.proj-row {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 20px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.proj-row:hover { transform: translateX(6px); box-shadow: var(--sh-2); border-color: transparent; }
.proj-row .yr { font-weight: 800; color: var(--blue); font-size: 1.05rem; }
.proj-row .body .cl { font-weight: 800; color: var(--navy); font-size: 1.06rem; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.proj-row .body .star { color: #f5a623; }
.proj-row .body .wk { color: var(--muted); font-size: .94rem; margin-top: 3px; }
.proj-row .meta { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.tag { font-size: .74rem; font-weight: 700; padding: 4px 11px; border-radius: 100px; background: var(--soft); color: var(--muted); white-space: nowrap; }
.tag.cat { background: var(--grad-soft); color: var(--blue); }
.tag.kv { background: #fff3e0; color: #c8780f; }
.proj-empty { text-align: center; color: var(--muted-2); padding: 50px 0; font-weight: 600; }
.load-more-wrap { text-align: center; margin-top: 34px; }

/* =================================================================
   GALLERY (사례 사진)
   ================================================================= */
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gal-item {
  position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3;
  background: var(--soft-2); cursor: pointer; box-shadow: var(--sh-1);
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gal-item:hover img { transform: scale(1.08); }
.gal-item .ov {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px; color: #fff;
  background: linear-gradient(to top, rgba(11, 42, 74, .88) 0%, rgba(11, 42, 74, .25) 55%, transparent 100%);
  opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.gal-item:hover .ov { opacity: 1; transform: none; }
.gal-item .ov .lb { font-size: .74rem; font-weight: 700; color: #aee9ff; letter-spacing: .04em; }
.gal-item .ov .cap { font-weight: 700; font-size: .98rem; margin-top: 4px; line-height: 1.4; }
.gal-item .zoom { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .9); display: grid; place-items: center; opacity: 0; transform: scale(.7); transition: .4s var(--ease); }
.gal-item:hover .zoom { opacity: 1; transform: scale(1); }
.gal-item .zoom svg { width: 18px; height: 18px; color: var(--navy); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; background: rgba(8, 20, 36, .9); backdrop-filter: blur(6px); padding: 30px; }
.lightbox.open { display: grid; animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.lightbox figure { max-width: 1040px; width: 100%; }
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: var(--r); }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 16px; font-weight: 600; }
.lightbox figcaption .lb { color: #aee9ff; font-size: .82rem; display: block; margin-bottom: 3px; }
.lb-close, .lb-nav { position: absolute; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); color: #fff; border-radius: 50%; display: grid; place-items: center; transition: background .25s; }
.lb-close { top: 22px; right: 22px; width: 50px; height: 50px; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 1.6rem; }
.lb-nav.prev { left: 22px; } .lb-nav.next { right: 22px; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .25); }

/* =================================================================
   VIDEO CARDS + MODAL
   ================================================================= */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vcard { border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-1); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.vcard:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.vcard .thumb { position: relative; aspect-ratio: 16/9; background: var(--navy); cursor: pointer; overflow: hidden; }
.vcard .thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .8s var(--ease); }
.vcard:hover .thumb img { transform: scale(1.06); }
.vcard .play { position: absolute; inset: 0; display: grid; place-items: center; }
.vcard .play span { width: 66px; height: 66px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .35s var(--ease); }
.vcard .play span::before { content: ""; border-left: 18px solid var(--blue); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.vcard:hover .play span { transform: scale(1.12); }
.vcard .vbody { padding: 18px 20px; }
.vcard .vbody h4 { font-weight: 800; color: var(--navy); font-size: 1.04rem; }
.vcard .vbody p { color: var(--muted); font-size: .9rem; margin-top: 5px; }
.vcard .nyt { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.7); font-size: .85rem; text-align: center; padding: 20px; }

.vmodal { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; background: rgba(8, 20, 36, .92); backdrop-filter: blur(6px); padding: 24px; }
.vmodal.open { display: grid; animation: fade .3s; }
.vmodal .frame { width: min(960px, 100%); aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-3); background: #000; }
.vmodal iframe, .vmodal video { width: 100%; height: 100%; border: 0; }
.vmodal .close { position: absolute; top: 22px; right: 22px; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); color: #fff; }
.vmodal .close:hover { background: rgba(255, 255, 255, .25); }

/* =================================================================
   UNIT CARD (텍스트 + 미디어를 한 덩어리 카드로 — 레퍼런스식)
   ================================================================= */
.unit {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-2); padding: clamp(26px, 3.6vw, 52px);
}
.unit-grid { display: grid; grid-template-columns: 1fr 1.06fr; gap: clamp(26px, 3.5vw, 50px); align-items: center; }
.unit-grid.rev .unit-media { order: -1; }
.unit-text .s-title { margin-top: 12px; }
.unit-text .s-desc { margin-top: 16px; }
.unit-text .btn { margin-top: 26px; }
.unit-media .feature-video { max-width: none; box-shadow: var(--sh-2); }
@media (max-width: 860px) { .unit-grid { grid-template-columns: 1fr; } .unit-grid.rev .unit-media { order: 0; } }

/* =================================================================
   FEATURE VIDEO (대표 영상 — facade → iframe)
   ================================================================= */
.feature-video {
  position: relative; max-width: 720px; margin-inline: auto; aspect-ratio: 16/9;
  border-radius: var(--r); overflow: hidden; cursor: pointer;
  box-shadow: var(--sh-3); background: var(--navy);
}
.feature-video img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .4s; }
.feature-video:hover img { transform: scale(1.05); }
.feature-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,42,74,.55), rgba(11,42,74,.05) 55%); transition: opacity .4s; }
.feature-video .fv-play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; }
.feature-video .fv-play span { width: 86px; height: 86px; border-radius: 50%; background: rgba(255,255,255,.95); display: grid; place-items: center; box-shadow: 0 16px 44px rgba(0,0,0,.35); transition: transform .35s var(--ease); }
.feature-video .fv-play span::before { content: ""; border-left: 24px solid var(--blue); border-top: 15px solid transparent; border-bottom: 15px solid transparent; margin-left: 7px; }
.feature-video:hover .fv-play span { transform: scale(1.12); }
.feature-video .fv-tag { position: absolute; z-index: 2; left: 22px; bottom: 20px; color: #fff; font-weight: 700; font-size: 1.02rem; text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.feature-video.playing { cursor: default; }
.feature-video.playing img, .feature-video.playing .fv-play, .feature-video.playing::after, .feature-video.playing .fv-tag { display: none; opacity: 0; }
.feature-video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* =================================================================
   THERMAL (열화상)
   ================================================================= */
.thermal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.thermal { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--sh-1); }
.thermal .site { font-weight: 800; color: var(--navy); }
.thermal .bars { margin-top: 18px; display: grid; gap: 14px; }
.thermal .bar-row .bl { display: flex; justify-content: space-between; font-size: .82rem; margin-bottom: 5px; color: var(--muted); font-weight: 600; }
.thermal .bar { height: 12px; border-radius: 100px; background: var(--soft); overflow: hidden; }
.thermal .bar i { display: block; height: 100%; border-radius: 100px; width: 0; transition: width 1.2s var(--ease); }
.thermal .bar.before i { background: linear-gradient(90deg, #ff9a4d, #f5532b); }
.thermal .bar.after i { background: linear-gradient(90deg, #38c6f0, #1565d8); }
.thermal .drop { margin-top: 18px; font-weight: 800; color: var(--eco); display: flex; align-items: center; gap: 7px; }
.thermal .drop svg { width: 18px; height: 18px; }

/* =================================================================
   PATENT / 1세대 기술 HIGHLIGHT
   ================================================================= */
.legacy { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: clamp(36px, 5vw, 64px); position: relative; overflow: hidden; }
.legacy::after { content: ""; position: absolute; inset: 0; background: radial-gradient(640px 360px at 90% -10%, rgba(20, 167, 224, .4), transparent 60%); }
.legacy > * { position: relative; }
.legacy .eyebrow { color: #7fdcff; }
.legacy .eyebrow::before { background: #7fdcff; }
.legacy h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; margin-top: 14px; }
.legacy h2 .hl { background: linear-gradient(90deg, #aee9ff, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.legacy p.lead { margin-top: 18px; color: rgba(255, 255, 255, .85); font-size: 1.08rem; max-width: 720px; }
.legacy .pts { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.legacy .pt { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r); padding: 24px; }
.legacy .pt .big { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; color: #fff; }
.legacy .pt .big .suf { font-size: .55em; color: #7fdcff; margin-left: 2px; }
.legacy .pt h4 { font-weight: 800; margin-bottom: 6px; color: #fff; }
.legacy .pt p { font-size: .92rem; color: rgba(255, 255, 255, .72); }

/* 대표 서명 (인사말) */
.ceo-sign { margin-top: 26px; color: var(--muted); font-weight: 600; display: flex; align-items: baseline; gap: 10px; }
.ceo-sign .name { font-family: "Nanum Pen Script", cursive; font-size: 2.7rem; line-height: .9; color: var(--navy); letter-spacing: .02em; }

/* 회사 개요 — 모던 2열 인포 그리드 */
.overview { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-1); }
.overview .ov-item { background: #fff; padding: 18px 22px; transition: background .25s; }
.overview .ov-item.full { grid-column: 1 / -1; }
.overview .ov-item .k { display: inline-flex; align-items: center; gap: 7px; font-size: .76rem; font-weight: 700; color: var(--blue); letter-spacing: .03em; }
.overview .ov-item .k::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.overview .ov-item .v { margin-top: 6px; font-weight: 700; color: var(--navy); font-size: 1rem; line-height: 1.5; }
.overview .ov-item:hover { background: var(--grad-soft); }
@media (max-width: 560px) { .overview { grid-template-columns: 1fr; } }

/* 연혁 타임라인 */
.history { position: relative; padding-left: 28px; }
.history::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--cyan), var(--line)); }
.hitem { position: relative; padding: 0 0 34px 26px; }
.hitem:last-child, .history .hitem:last-child { padding-bottom: 0; }
.hitem::before { content: ""; position: absolute; left: -27px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 0 0 4px rgba(20, 101, 216, .12); }
.hitem .yr { font-weight: 800; color: var(--blue); font-size: 1.1rem; }
.hitem .ev { margin-top: 6px; }
.hitem .ev p { color: var(--ink); padding: 3px 0; position: relative; padding-left: 16px; }
.hitem .ev p::before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.hitem .ev p b { color: var(--navy); }

@media (max-width: 860px) { .legacy .pts { grid-template-columns: 1fr; } .overview .row { grid-template-columns: 120px 1fr; } }

/* =================================================================
   CTA BANNER
   ================================================================= */
.cta-band { background: var(--grad); color: #fff; border-radius: var(--r-lg); padding: clamp(40px, 6vw, 72px); text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% -20%, rgba(255, 255, 255, .25), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; }
.cta-band p { margin-top: 14px; color: rgba(255, 255, 255, .9); font-size: 1.08rem; }
.cta-band .cta-row { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =================================================================
   FORM (견적상담)
   ================================================================= */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--sh-2); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; color: var(--navy); font-size: .94rem; margin-bottom: 8px; }
.field label .req { color: #e2483d; margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  font: inherit; font-size: .98rem; color: var(--ink); background: #fff; transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(20, 101, 216, .12); outline: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .84rem; color: var(--muted); margin-top: 6px; }
.form-msg { margin-top: 16px; padding: 14px 18px; border-radius: var(--r-sm); font-weight: 600; display: none; }
.form-msg.ok { display: block; background: #e8f7ef; color: #157a4d; }
.form-msg.err { display: block; background: #fdecea; color: #c0392b; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { width: auto; margin-top: 4px; }

.map-embed { margin-top: 18px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-1); height: 300px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.2); }
.contact-cards { display: grid; gap: 16px; }
.contact-cards .cc { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; box-shadow: var(--sh-1); }
.contact-cards .cc .ic { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: var(--grad-soft); color: var(--blue); display: grid; place-items: center; }
.contact-cards .cc .ic svg { width: 22px; height: 22px; }
.contact-cards .cc .k { font-size: .8rem; color: var(--muted-2); font-weight: 700; }
.contact-cards .cc .v { font-weight: 700; color: var(--navy); margin-top: 3px; line-height: 1.5; }
.contact-cards .cc .v a:hover { color: var(--blue); }

/* =================================================================
   PAGE HEADER (서브페이지 상단)
   ================================================================= */
.page-hero {
  position: relative; min-height: 380px; display: flex; align-items: center;
  padding: calc(var(--header-h) + 36px) 0 48px; color: #fff;
  background: var(--grad); overflow: hidden;
}
.page-hero h1, .page-hero p, .page-hero .crumb { text-shadow: 0 2px 16px rgba(0, 14, 36, .35); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(700px 360px at 85% -20%, rgba(86, 214, 255, .3), transparent 60%); pointer-events: none; }
/* 상단 배너 사진 (각 페이지) — 없으면 그라데이션 */
.page-hero .ph-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero .ph-bg img { width: 100%; height: 100%; object-fit: cover; animation: bannerKen 26s ease-in-out infinite alternate; }
@keyframes bannerKen { from { transform: scale(1.01); } to { transform: scale(1.09); } }
.page-hero .ph-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,24,48,.46) 0%, rgba(9,30,60,.24) 42%, rgba(8,24,48,.12) 100%); }
.page-hero.dim .ph-bg::after { background: linear-gradient(100deg, rgba(8,24,48,.82) 0%, rgba(9,30,60,.68) 45%, rgba(8,24,48,.56) 100%); }
.page-hero .grid-bg { position: absolute; inset: 0; z-index: 1; opacity: .4; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(circle at 75% 20%, #000 30%, transparent 80%); }
.page-hero .wrap { position: relative; z-index: 2; }

/* =================================================================
   CERT SCROLLER (공인 인증서 가로 스크롤)
   ================================================================= */
.cert-scroll-wrap { position: relative; }
.cert-scroll { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x proximity; padding: 6px 2px 16px; scroll-behavior: smooth; }
.cert-scroll::-webkit-scrollbar { height: 8px; }
.cert-scroll::-webkit-scrollbar-track { background: var(--line-2); border-radius: 100px; }
.cert-scroll::-webkit-scrollbar-thumb { background: var(--muted-2); border-radius: 100px; }
.cert-card { flex: 0 0 auto; width: 250px; scroll-snap-align: start; cursor: pointer; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-1); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.cert-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.cert-card .pic { height: 290px; background: var(--soft); display: grid; place-items: center; overflow: hidden; padding: 14px; border-bottom: 1px solid var(--line-2); position: relative; }
.cert-card .pic img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 4px 14px rgba(16,42,74,.08); }
.cert-card .pic .mag { position: absolute; right: 12px; bottom: 12px; width: 32px; height: 32px; border-radius: 50%; background: rgba(11,42,74,.8); color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.7); transition: .35s var(--ease); }
.cert-card .pic .mag svg { width: 16px; height: 16px; }
.cert-card:hover .pic .mag { opacity: 1; transform: scale(1); }
.cert-card .cap { padding: 14px 16px; }
.cert-card .cap b { display: block; color: var(--navy); font-size: .95rem; font-weight: 800; line-height: 1.35; }
.cert-card .cap span { font-size: .82rem; color: var(--muted); }
.cert-nav { position: absolute; top: 130px; width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: var(--sh-2); display: grid; place-items: center; z-index: 4; border: 1px solid var(--line); color: var(--navy); transition: color .25s, transform .25s; }
.cert-nav:hover { color: var(--blue); transform: scale(1.08); }
.cert-nav svg { width: 22px; height: 22px; }
.cert-nav.prev { left: -14px; } .cert-nav.next { right: -14px; }
@media (max-width: 560px) { .cert-card { width: 210px; } .cert-card .pic { height: 250px; } .cert-nav { display: none; } }
.page-hero .crumb { font-size: .85rem; color: rgba(255, 255, 255, .7); font-weight: 600; }
.page-hero .crumb a:hover { color: #fff; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; letter-spacing: -.035em; margin-top: 14px; }
.page-hero p { margin-top: 14px; font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: rgba(255, 255, 255, .88); max-width: 640px; }

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .72); padding: 64px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-top .logo .mark { color: #fff; font-size: 1.5rem; }
.footer-top .logo .mark b { color: #7fdcff; }
.footer-top .ftag { margin-top: 14px; font-size: .95rem; color: rgba(255, 255, 255, .6); max-width: 320px; }
.footer-col h5 { color: #fff; font-weight: 800; font-size: .98rem; margin-bottom: 16px; letter-spacing: .02em; }
.footer-col a, .footer-col p { display: block; font-size: .92rem; color: rgba(255, 255, 255, .66); padding: 5px 0; }
.footer-col a:hover { color: #fff; }
.footer-col .office { margin-bottom: 16px; }
.footer-col .office b { color: #fff; font-weight: 700; display: block; font-size: .9rem; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: rgba(255, 255, 255, .5); }

/* =================================================================
   FLOATING (back to top + quick tel)
   ================================================================= */
.floating { position: fixed; right: 22px; bottom: 24px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.floating button, .floating a {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: var(--sh-2); transition: transform .35s var(--ease), opacity .35s, background .25s;
}
.floating .f-tel { background: var(--grad); color: #fff; }
.floating .f-top { background: #fff; color: var(--navy); border: 1px solid var(--line); opacity: 0; pointer-events: none; transform: translateY(10px); }
.floating .f-top.show { opacity: 1; pointer-events: auto; transform: none; }
.floating button:hover, .floating a:hover { transform: translateY(-4px) scale(1.05); }
.floating svg { width: 22px; height: 22px; }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1024px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps .step::after { display: none; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid, .gal, .thermal-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}
@media (max-width: 860px) {
  .nav, .header-cta .btn, .header-tel { display: none; }
  .nav-toggle { display: block; }
  .split, .split.rev .media { grid-template-columns: 1fr; order: 0; }
  .split .media-frame { aspect-ratio: 16/10; }
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .hero .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .prod { grid-template-columns: 1fr; }
  .prod .ph { max-width: 200px; }
  .proj-row { grid-template-columns: 64px 1fr; }
  .proj-row .meta { grid-column: 2; flex-direction: row; align-items: center; }
  .proj-search { margin-left: 0; width: 100%; }
  .proj-search input { width: 100%; }
}
@media (max-width: 520px) {
  .video-grid, .gal, .thermal-grid, .cert-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero .cta-row .btn { width: 100%; justify-content: center; }
}

/* =================================================================
   INTERACTIONS 보강 (subtle micro-interactions)
   ================================================================= */
/* 스크롤 진행 바 */
.scroll-prog { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: linear-gradient(90deg, var(--blue), var(--cyan)); box-shadow: 0 0 8px rgba(20, 182, 230, .55); transition: width .12s linear; pointer-events: none; }

/* 마퀴 — 호버 시 일시정지 */
.marquee:hover .track { animation-play-state: paused; }

/* eyebrow 라인 — reveal 시 그려짐 */
.reveal .eyebrow::before { width: 0; transition: width .7s var(--ease) .15s; }
.reveal.in .eyebrow::before { width: 26px; }

/* 연혁 타임라인 — 좌→우 슬라이드 인 + 스태거 + 노드 팝 */
.history .hitem.reveal { transform: translateX(-18px); }
.history .hitem.reveal.in { transform: none; }
.history .hitem.reveal:nth-child(2) { transition-delay: .08s; }
.history .hitem.reveal:nth-child(3) { transition-delay: .16s; }
.history .hitem.reveal:nth-child(4) { transition-delay: .24s; }
.history .hitem.reveal:nth-child(5) { transition-delay: .32s; }
.history .hitem.reveal:nth-child(6) { transition-delay: .40s; }
.history .hitem.reveal:nth-child(7) { transition-delay: .48s; }
.history .hitem.reveal:nth-child(8) { transition-delay: .56s; }
.history .hitem::before { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.history .hitem.reveal:not(.in)::before { transform: scale(.2); }
.hitem:hover::before { box-shadow: 0 0 0 6px rgba(20, 101, 216, .16); transform: scale(1.15); }
.hitem:hover .yr { color: var(--cyan); transition: color .3s; }

/* 인증 그리드 — 스태거 */
.cert-grid > .reveal:nth-child(2) { transition-delay: .06s; }
.cert-grid > .reveal:nth-child(3) { transition-delay: .12s; }
.cert-grid > .reveal:nth-child(4) { transition-delay: .18s; }
.cert-grid > .reveal:nth-child(5) { transition-delay: .24s; }
.cert-grid > .reveal:nth-child(6) { transition-delay: .30s; }
.cert-grid > .reveal:nth-child(7) { transition-delay: .36s; }
.cert-grid > .reveal:nth-child(8) { transition-delay: .42s; }

/* 제품 이미지 — 호버 줌 */
.prod .ph img { transition: transform 1.1s var(--ease); }
.prod .ph:hover img { transform: scale(1.06); }

/* 개요 행 — 좌측 강조선 */
.overview .ov-item { position: relative; }
.overview .ov-item::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--cyan); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease); }
.overview .ov-item:hover::after { transform: scaleY(1); }

/* CTA 배너 — 라이트 스윕 */
.cta-band::before { content: ""; position: absolute; top: 0; left: -35%; width: 35%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .14), transparent); transform: skewX(-18deg); animation: ctaSheen 7s ease-in-out 2.5s infinite; pointer-events: none; }
@keyframes ctaSheen { 0% { left: -35%; } 30%, 100% { left: 135%; } }

/* PATENT(legacy) — 라디얼 글로우 드리프트 */
.legacy::after { animation: legacyGlow 16s ease-in-out infinite alternate; }
@keyframes legacyGlow { from { transform: translate(0, 0) scale(1); } to { transform: translate(-7%, 5%) scale(1.15); } }

/* 플로팅 전화 — 펄스 링 */
.floating .f-tel { position: relative; }
.floating .f-tel::after { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: telPulse 2.6s ease-out infinite; }
@keyframes telPulse { 0% { box-shadow: 0 0 0 0 rgba(20, 101, 216, .45); } 70% { box-shadow: 0 0 0 14px rgba(20, 101, 216, 0); } 100% { box-shadow: 0 0 0 0 rgba(20, 101, 216, 0); } }

/* 카드 hover 시 번호 워터마크 살짝 이동 */
.feature:hover::before { transform: translateY(-2px); transition: color .4s, transform .4s var(--ease); }

/* 영상 폴백 링크 (오프라인·유튜브차단 환경 대비 — 항상 보이는 외부 링크) */
.vid-fallback { display: inline-flex; align-items: center; gap: 5px; margin-top: 14px; font-size: .88rem; font-weight: 600; color: var(--blue); transition: color .25s; }
.vid-fallback:hover { color: var(--navy); text-decoration: underline; }
.vcard .v-link { display: inline-block; margin-top: 10px; font-size: .85rem; font-weight: 700; color: var(--blue); transition: color .25s; }
.vcard .v-link:hover { color: var(--navy); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .page-hero .ph-bg img, .cta-band::before, .legacy::after, .floating .f-tel::after { animation: none !important; }
  .reveal .eyebrow::before { width: 26px; transition: none; }
  .history .hitem.reveal { transform: none; }
}
