/* =========================================================
   HJSoft Homepage – Design System
   Modern corporate UI (2026)
   ========================================================= */

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css");

:root {
  /* Brand — BitDeagil / HJSoft slate-indigo blue */
  --brand-50: #eceef7;
  --brand-100: #dfe3f2;
  --brand-200: #c5cce4;
  --brand-400: #6b7abf;
  --brand-500: #5867aa;
  --brand-600: #5867aa;
  --brand-700: #48568f;
  --brand-800: #4a5490;
  --accent: #6b7abf;
  --accent-2: #4e5d98;
  /* Hero text accents — break up all-blue hero */
  --hero-brand: #0f766e;
  --hero-emph: #c2410c;

  /* Neutral — BitDeagil neutrals */
  --ink: #0f172a;
  --ink-2: #1e293b;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: rgba(15, 23, 42, .08);
  --bg: #ffffff;
  --bg-soft: #f1f5f9;
  --bg-soft-2: #e8eaf4;

  /* Effects */
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow: 0 12px 32px -14px rgba(72, 86, 143, .35);
  --shadow-lg: 0 28px 56px -20px rgba(72, 86, 143, .4);
  --grad: linear-gradient(135deg, var(--brand-600) 0%, var(--brand-800) 55%, var(--accent) 100%);
  --container: 1180px;
  --header-h: 92px;

  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--ink);
  background: linear-gradient(165deg, #e8eaf4 0%, var(--bg-soft) 38%, #ffffff 100%);
  background-attachment: fixed;
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.25; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  z-index: 2000;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 12px 24px -10px rgba(88, 103, 170, .55);
}
.btn-primary:hover {
  background: var(--brand-700);
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -12px rgba(72, 86, 143, .55);
}
.btn-ghost {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); }
.btn-line {
  background: #fff;
  color: var(--brand-600);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-line:hover { transform: translateY(-2px); border-color: var(--brand-400); color: var(--brand-700); }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(16, 24, 40, .4);
}
.nav {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; letter-spacing: -0.03em; color: var(--ink); }
.brand .logo {
  width: auto;
  height: 56px;
  flex: none;
  display: block;
}
.brand b { color: var(--brand-600); }
.brand small { display: block; font-size: 13.5px; font-weight: 600; color: var(--muted-2); letter-spacing: .02em; margin-top: -3px; }
.brand .brand-tag { display: flex; flex-direction: column; justify-content: center; line-height: 1.2; }
.brand .brand-tag small { margin-top: 0; }

.nav-links { display: flex; align-items: center; gap: 1px; flex-wrap: nowrap; }
.nav-links > li > a {
  display: inline-flex;
  align-items: center;
  padding: 8px 9px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink-2);
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li > a[aria-current="page"] { background: var(--brand-50); color: var(--brand-700); }
.nav-links > li > a.nav-soon {
  color: var(--ink-2);
}

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span { position: relative; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero (Product-Led) ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 88px;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 92% 8%, rgba(88, 103, 170, .14), transparent 58%),
    radial-gradient(700px 420px at 6% 20%, rgba(232, 234, 244, .9), transparent 55%),
    linear-gradient(165deg, #e8eaf4 0%, #f1f5f9 42%, #ffffff 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(88, 103, 170, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 103, 170, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(720px 400px at 70% 20%, #000, transparent 72%);
          mask-image: radial-gradient(720px 400px at 70% 20%, #000, transparent 72%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-700);
  margin-bottom: 18px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(88, 103, 170, .18);
}

.hero-brand-mark {
  display: block;
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--hero-brand);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.22;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--ink);
}
.hero h1 .grad {
  color: var(--hero-emph);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}
.hero .lead { margin-top: 18px; font-size: clamp(15.5px, 1.5vw, 18px); color: var(--muted); max-width: 520px; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 16px 26px; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--brand-500); }

/* Hero product visual + slideshow */
.hero-visual { position: relative; }
.hero-product {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.hero-slides {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #0f172a;
}
.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateX(18px) scale(1.02);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  z-index: 0;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  z-index: 1;
  pointer-events: auto;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.hero-slide.is-active img {
  animation: heroKen 4s ease-out forwards;
}
@keyframes heroKen {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero-product-caption {
  position: absolute;
  left: 16px; bottom: 16px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(15, 23, 42, .72);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  backdrop-filter: blur(6px);
  z-index: 3;
  transition: opacity .35s ease;
}
.hero-slider-dots {
  position: absolute;
  right: 14px;
  bottom: 16px;
  display: flex;
  gap: 7px;
  z-index: 3;
}
.hero-slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
  transition: width .25s var(--ease), background .25s;
}
.hero-slider-dots button[aria-selected="true"] {
  width: 22px;
  background: #fff;
}
.hero-slider-dots button:focus-visible {
  outline: 2px solid var(--hero-emph);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity .2s ease; transform: none; }
  .hero-slide.is-active { transform: none; }
  .hero-slide.is-active img { animation: none; }
}
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink-2);
  animation: floaty 5s ease-in-out infinite;
  z-index: 2;
}
.float-badge svg { width: 20px; height: 20px; color: var(--brand-500); }
.float-badge.b1 { top: 18px; left: -14px; }
.float-badge.b2 { bottom: 28px; right: -12px; animation-delay: 1.2s; }
@keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-8px); } }

/* legacy single-img fallback */
.hero-product > img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- Logos / marquee ---------- */
.trustbar { padding: 30px 0; border-bottom: 1px solid var(--line); background: var(--bg); }
.trustbar p { text-align: center; color: var(--muted-2); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-2);
}

/* ---------- Section ---------- */
.section { padding: 92px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.kicker { display: inline-block; font-weight: 800; font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-600); margin-bottom: 12px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.03em; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 17px; }

/* ---------- Service / feature cards ---------- */
.cards { display: grid; gap: 22px; }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.card:hover::before { transform: scaleX(1); }
.card .ico {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-50);
  color: var(--brand-600);
  margin-bottom: 18px;
}
.card .ico svg { width: 28px; height: 28px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.card .tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 7px; }
.card .tags span { font-size: 12.5px; font-weight: 700; color: var(--brand-700); background: var(--brand-50); padding: 4px 10px; border-radius: 999px; }
.badge-soon {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  vertical-align: middle;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-200);
}
.feature-dark .badge-soon {
  background: rgba(255,255,255,.18);
  color: #fff;
  border-color: rgba(255,255,255,.28);
}
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ai-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 18px 16px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.ai-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-200); }
.ai-item h3 { font-size: 16px; margin-bottom: 6px; color: var(--brand-700); }
.ai-item p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
@media (max-width: 900px) { .ai-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ai-grid { grid-template-columns: 1fr; } }

.feature-dark .tags span { background: rgba(255,255,255,.12); color: #e8eaf4; }
.feature-dark p { color: rgba(255,255,255,.78); }
.feature-dark h3 { color: #fff; }

/* feature card variant (dark) */
.feature-dark {
  grid-column: span 2;
  background: linear-gradient(145deg, var(--brand-600) 0%, var(--brand-800) 55%, #3d4878 100%);
  color: #fff;
  border: none;
}
.feature-dark .ico { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- Split (about) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .media {
  border-radius: var(--radius-lg);
  background: var(--grad);
  min-height: 360px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split .media .media-photo,
.media .media-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.split .media .glass {
  position: absolute; inset: 22px;
  z-index: 1;
  border-radius: 20px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  padding: 30px;
}
.media:has(.media-photo) .glass {
  background: linear-gradient(180deg, rgba(11, 19, 38, .25), rgba(11, 19, 38, .58));
  border-color: rgba(255, 255, 255, .25);
}
.split .media .glass h3 { font-size: 26px; margin-bottom: 8px; }
.split ul.check { margin-top: 22px; display: grid; gap: 14px; }
.split ul.check li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.split ul.check svg { width: 24px; height: 24px; color: var(--brand-600); flex: none; margin-top: 1px; }
.split ul.check b { display: block; font-weight: 800; }
.split ul.check span { color: var(--muted); font-size: 15px; }

/* ---------- Product / business screenshot grids ---------- */
.shot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.shot-grid.solo { grid-template-columns: 1fr; }
.shot {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  background: #eef1f7;
}
.shot figcaption {
  padding: 9px 12px 11px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
  background: #fff;
}
.shot-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.shot.is-empty {
  position: relative;
  background:
    linear-gradient(135deg, var(--brand-50) 0%, #e8eaf4 55%, #f1f5f9 100%);
  border-style: dashed;
  border-color: var(--brand-200);
  box-shadow: none;
}
.shot.is-empty img {
  visibility: hidden;
  min-height: 120px;
}
.shot.is-empty::before {
  content: "사진 추가";
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-600);
  letter-spacing: .02em;
  pointer-events: none;
}
.shot.is-empty::after {
  content: attr(data-file);
  position: absolute;
  left: 12px;
  right: 12px;
  top: 58%;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  word-break: break-all;
  pointer-events: none;
}
.shot.is-empty figcaption {
  background: rgba(255,255,255,.72);
  color: var(--muted);
  font-weight: 600;
}
.media-photo.fit-contain {
  object-fit: contain;
  object-position: top center;
  background: #f4f6fb;
}

/* Team avatar list (전문 인력 구성) */
.team-list { display: grid; gap: 14px; }
.team-list li { display: flex; align-items: center; gap: 16px; }
.team-list li > div { display: flex; flex-direction: column; }
.team-list .avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex: none;
  margin-top: 0;
  border: 2px solid #fff;
  box-shadow: 0 6px 16px -8px rgba(20, 40, 90, .4);
  background: var(--brand-50);
}
.check.team-list b { display: block; font-weight: 800; }
.check.team-list span { color: var(--muted); font-size: 15px; }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 26px 16px; }
.stat .num { font-size: clamp(32px, 4vw, 46px); font-weight: 900; letter-spacing: -0.04em; color: var(--brand-600); }
.stat .lbl { color: var(--muted); font-weight: 600; margin-top: 6px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--brand-400), var(--accent)); }
.tl-item { position: relative; padding: 0 0 36px 28px; }
.tl-item::before { content: ""; position: absolute; left: -30px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--brand-500); box-shadow: 0 0 0 4px var(--brand-50); }
.tl-item .yr { font-weight: 900; font-size: 20px; color: var(--brand-700); margin-bottom: 8px; }
.tl-item ul { display: grid; gap: 6px; }
.tl-item li { color: var(--ink-2); font-size: 15px; }
.tl-item li b { color: var(--ink); }
.tl-item time { font-weight: 800; color: var(--accent); margin-right: 8px; }

/* ---------- Tabs (products) ---------- */
.tabs-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 34px; }
.tabs-nav button {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--ink-2);
  cursor: pointer;
  transition: .2s;
}
.tabs-nav button[aria-selected="true"] { background: var(--brand-600); color: #fff; border-color: transparent; box-shadow: 0 10px 20px -10px rgba(88,103,170,.55); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .5s var(--ease); }

/* ---------- Accordion (FAQ) ---------- */
.accordion { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.acc-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.acc-q { width: 100%; text-align: left; padding: 20px 22px; background: none; border: none; cursor: pointer; font-weight: 700; font-size: 16.5px; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.acc-q svg { width: 22px; height: 22px; color: var(--brand-500); transition: transform .3s; flex: none; }
.acc-item.open .acc-q svg { transform: rotate(45deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.acc-a .inner { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #48568f 0%, #5867aa 48%, #6b7abf 100%);
  color: #fff;
  padding: 60px;
  overflow: hidden;
  text-align: center;
}
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% 120%, rgba(255,255,255,.16), transparent 60%); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(26px, 3.5vw, 38px); }
.cta p { margin-top: 14px; color: rgba(255,255,255,.88); font-size: 17px; }
.cta .hero-actions { justify-content: center; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + 56px) 0 56px;
  background:
    radial-gradient(800px 360px at 90% -20%, rgba(88,103,170,.12), transparent 60%),
    linear-gradient(165deg, #e8eaf4 0%, #f1f5f9 50%, #fff 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero .crumb { font-size: 13.5px; color: var(--muted-2); font-weight: 600; margin-bottom: 14px; }
.page-hero .crumb a:hover { color: var(--brand-600); }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); }
.page-hero p { margin-top: 14px; color: var(--muted); font-size: 17px; max-width: 680px; }

/* ---------- Info / contact ---------- */
.info-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; }
.info-list { display: grid; gap: 4px; }
.info-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-row .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; flex: none; }
.info-row .ico svg { width: 22px; height: 22px; }
.info-row h4 { font-size: 14px; color: var(--muted-2); font-weight: 700; }
.info-row p { font-size: 16.5px; font-weight: 700; color: var(--ink); margin-top: 2px; }
.info-row a { color: var(--brand-600); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand-400); background: #fff; box-shadow: 0 0 0 4px var(--brand-50); }
.field textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 13px; color: var(--muted-2); margin-top: 6px; }

/* ---------- Map ---------- */
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }
#naver-map { width: 100%; height: 420px; position: relative; background: var(--bg-soft); }
.map-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 30px;
  background:
    radial-gradient(600px 300px at 50% -20%, rgba(47,107,246,.10), transparent 60%),
    var(--bg-soft);
}
.map-fallback svg { width: 46px; height: 46px; color: var(--brand-500); }
.map-fallback .addr { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.map-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: #1e293b; color: #c4ccdc; padding: 70px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand .logo { height: 52px; }
.footer-brand p { color: #94a0b8; font-size: 14.5px; max-width: 340px; }
.footer-brand .brand small { color: #6f7c95; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: .04em; margin-bottom: 16px; text-transform: uppercase; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: #aab4c8; font-size: 14.5px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 26px; color: #7f8aa3; font-size: 13px; }
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-bottom .legal b { color: #aab4c8; font-weight: 700; }

/* ---------- Floating contact ---------- */
.fab {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}
.fab a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 14.5px;
  box-shadow: var(--shadow);
  transition: transform .25s var(--ease);
}
.fab a:hover { transform: translateY(-3px) scale(1.02); }
.fab a svg { width: 18px; height: 18px; }
.fab .top { background: #fff; color: var(--brand-600); width: 46px; height: 46px; padding: 0; justify-content: center; border: 1px solid var(--line); align-self: flex-end; }
.fab .top svg { width: 20px; height: 20px; }

.site-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(16px);
  z-index: 200;
  max-width: min(92vw, 420px);
  padding: 14px 20px;
  border-radius: 14px;
  background: rgba(15, 23, 42, .92);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  text-align: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.site-toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s 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; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 520px; }
  .cards.c4 { grid-template-columns: repeat(2, 1fr); }
  .feature-dark { grid-column: span 2; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .info-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1280px) {
  :root { --header-h: 80px; }
  .nav-links, .nav-cta .btn-line { display: none; }
  .nav-toggle { display: inline-flex; }

  /* mobile menu */
  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    padding: 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: .3s var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  body.nav-open .nav-links { display: flex; transform: none; opacity: 1; pointer-events: auto; }
  .nav-links > li > a { padding: 14px 16px; font-size: 17px; }
}

@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .cards.c2, .cards.c3, .cards.c4 { grid-template-columns: 1fr; }
  .shot-grid { grid-template-columns: 1fr; }
  .shot-row { grid-template-columns: 1fr 1fr; }
  .shot-row[style*="repeat(3"] { grid-template-columns: 1fr 1fr !important; }
  .feature-dark { grid-column: auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta { padding: 40px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .float-badge { display: none; }
  .hero-brand-mark { font-size: clamp(36px, 10vw, 48px); }
  .hero-product-caption { font-size: 11.5px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
