/* ============================================================
   드론공장 (Drone Factory) — 홈페이지 스타일시트
   ============================================================ */

:root {
  --ink: #0c1a17;
  --ink-2: #12241f;
  --brand: #0f9d58;
  --brand-d: #0a7a44;
  --brand-l: #e7f6ee;
  --accent: #19c37d;
  --amber: #e08a1e;
  --slate: #2b3a44;
  --blue: #2b7de0;

  --text: #14201d;
  --muted: #5c6b66;
  --line: #e4e9e6;
  --bg: #ffffff;
  --bg-alt: #f5f8f6;

  --shadow-sm: 0 2px 8px rgba(12, 26, 23, .06);
  --shadow: 0 10px 30px rgba(12, 26, 23, .10);
  --shadow-lg: 0 24px 60px rgba(12, 26, 23, .16);

  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1160px;

  --font: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo',
          'Malgun Gothic', 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  font-family: var(--font); color: var(--text); background: var(--bg);
  line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  word-break: keep-all; overflow-wrap: break-word;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2;
      stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: -.12em; }

.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.eyebrow--light { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-size: .98rem; font-weight: 700; cursor: pointer;
  border: 1.5px solid transparent; border-radius: 999px; padding: 12px 24px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap; }
.btn .ic { stroke-width: 2.4; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(15,157,88,.28); }
.btn--primary:hover { background: var(--brand-d); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(15,157,88,.34); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn--glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.45);
  backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--lg { padding: 15px 30px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: rgba(255,255,255,.82); font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; gap: 18px; height: 38px; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.topbar__item--brand { color: #fff; font-weight: 600; }
.topbar__item--muted { color: rgba(255,255,255,.5); }
.topbar__spacer { flex: 1; }
.topbar__kakao { color: #ffe25a; font-weight: 600; }
.topbar__kakao:hover { color: #fff; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease; }
.header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header__inner { display: flex; align-items: center; height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; }
.brand__logo { height: 46px; width: auto; flex: none; }
.brand__text { display: flex; flex-direction: column; font-size: 1.2rem; line-height: 1.05; color: var(--ink); letter-spacing: -.01em; }
.brand__text small { font-size: .55rem; font-weight: 800; letter-spacing: .2em; color: var(--brand); margin-top: 2px; }
.brand--light .brand__logo { filter: brightness(0) invert(1); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 30px; }
.nav__link { font-weight: 600; font-size: .98rem; color: var(--text); position: relative; padding: 6px 0; }
.nav__link::after { content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--brand); transition: width .22s ease; }
.nav__link:hover, .nav__link.active { color: var(--brand); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__cta { background: var(--brand); color: #fff; font-weight: 700; font-size: .95rem;
  padding: 10px 20px; border-radius: 999px; box-shadow: 0 6px 16px rgba(15,157,88,.26);
  transition: transform .15s ease, background .2s ease; }
.nav__cta:hover { background: var(--brand-d); transform: translateY(-2px); }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; background: none;
  border: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.nav__toggle span { display: block; height: 2.5px; width: 24px; margin: 0 auto; background: var(--ink);
  border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; align-items: center; color: #fff; overflow: hidden;
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(25,195,125,.22), transparent 55%),
    radial-gradient(820px 520px at 2% 112%, rgba(15,157,88,.20), transparent 55%),
    linear-gradient(135deg, #0a1713 0%, #0c2a20 52%, #0a3a29 100%); }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.5px);
  background-size: 24px 24px; opacity: .55; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(42% 52% at 78% 40%, rgba(25,195,125,.26), transparent 62%); }
.hero__inner { position: relative; width: 100%; display: grid; grid-template-columns: 1.04fr .96fr;
  gap: 52px; align-items: center; padding: 84px 24px 92px; }
.hero__copy { max-width: 640px; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700;
  letter-spacing: .03em; color: #d8f5e6; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16); padding: 7px 15px 7px 12px; border-radius: 999px;
  backdrop-filter: blur(6px); margin-bottom: 22px; }
.hero__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(25,195,125,.28); }
.hero__figure { position: relative; }
.hero__figure::before { content: ''; position: absolute; inset: -12%; z-index: 0; border-radius: 50%;
  background: radial-gradient(circle at 52% 45%, rgba(25,195,125,.5), transparent 60%); filter: blur(48px); }
.hero__figure img { position: relative; z-index: 1; width: 100%; border-radius: 20px;
  box-shadow: 0 34px 80px rgba(0,0,0,.5); animation: heroFloat 6s ease-in-out infinite; }
.hero__chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.95); color: var(--ink); font-weight: 700; font-size: .85rem;
  padding: 11px 15px; border-radius: 14px; box-shadow: 0 16px 38px rgba(0,0,0,.3); backdrop-filter: blur(8px); }
.hero__chip .ic { color: var(--brand); width: 1.15em; height: 1.15em; }
.hero__chip--tl { top: 5%; left: -5%; animation: heroFloat 6s ease-in-out infinite .8s; }
.hero__chip--br { bottom: 10%; right: 1%; animation: heroFloat 7s ease-in-out infinite .3s; }
@keyframes heroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero__title { font-size: clamp(2.3rem, 4.8vw, 3.7rem); line-height: 1.18; letter-spacing: -.025em;
  word-break: keep-all; text-wrap: balance;
  font-weight: 800; text-shadow: 0 2px 24px rgba(0,0,0,.3); }
.hero__title span { color: var(--accent); }
.hero__sub { margin-top: 22px; font-size: 1.12rem; color: rgba(255,255,255,.86); max-width: 560px; }
.hero__actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero__badges { margin-top: 34px; display: flex; gap: 24px; flex-wrap: wrap; }
.hero__badges li { display: inline-flex; align-items: center; gap: 7px; font-size: .92rem;
  font-weight: 600; color: rgba(255,255,255,.92); }
.hero__badges .ic { color: var(--accent); width: 1.2em; height: 1.2em; }
.gcols { display: grid; align-items: start; }
.card__media--contain { background: var(--bg-alt); }
.solution__img--contain { background: var(--bg-alt); }
.solution__img--contain img { object-fit: contain; padding: 16px; }
.solrow__media--contain { background: var(--bg-alt); }
.solrow__media--contain img { object-fit: contain; padding: 22px; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.55); border-radius: 14px; z-index: 2; }
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: #fff; border-radius: 2px; animation: scrolldot 1.6s ease-in-out infinite; }
@keyframes scrolldot { 0%,100% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } }

/* ---------- Stats ---------- */
.stats { background: var(--ink); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 46px 24px; }
.stat { text-align: center; padding: 8px 12px; position: relative; }
.stat:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 18%; height: 64%;
  width: 1px; background: rgba(255,255,255,.12); }
.stat strong { display: block; font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; color: var(--accent); }
.stat span { display: block; margin-top: 4px; font-weight: 700; font-size: 1rem; }
.stat small { color: rgba(255,255,255,.55); font-size: .82rem; }

/* ---------- Section base ---------- */
.section { padding: 92px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 680px; margin: 0 auto 54px; text-align: center; }
.section__title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; color: var(--ink);
  letter-spacing: -.02em; line-height: 1.25; }
.section__lead { margin-top: 16px; color: var(--muted); font-size: 1.05rem; }

/* ---------- Product cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__media { aspect-ratio: 4 / 3; background: #fff; padding: 14px; display: grid; place-items: center;
  border-bottom: 1px solid var(--line); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.22rem; font-weight: 800; color: var(--ink); }
.card p { margin-top: 10px; color: var(--muted); font-size: .95rem; flex: 1; }
.card__tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 7px; }
.card__tags li { font-size: .76rem; font-weight: 600; color: var(--brand-d); background: var(--brand-l);
  padding: 5px 11px; border-radius: 999px; }
.card__link { margin-top: 18px; display: inline-flex; align-items: center; gap: 5px; font-weight: 700; color: var(--brand); }
.card__link:hover { color: var(--brand-d); gap: 9px; }
.card--cta { background: linear-gradient(140deg, var(--ink), #0a2a20); border: none; }
.card--cta .card__body { justify-content: center; }
.card--cta h3 { color: #fff; }
.card--cta p { color: rgba(255,255,255,.7); flex: none; }
.card--cta .btn { margin-top: 22px; align-self: flex-start; }

/* ---------- Spotlight ---------- */
.spotlight { background: linear-gradient(135deg, var(--ink), #0a2a20); color: #fff; overflow: hidden; }
.spotlight__inner { display: grid; grid-template-columns: .92fr 1.08fr; gap: 54px; align-items: center; padding: 84px 24px; }
.spotlight__visual { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 22px;
  box-shadow: var(--shadow-lg); }
.spotlight__visual img { width: 100%; border-radius: 12px; }
.spotlight__badge { position: absolute; top: -14px; left: 24px; background: var(--accent); color: var(--ink);
  font-weight: 800; font-size: .82rem; padding: 7px 16px; border-radius: 999px; z-index: 2;
  box-shadow: 0 8px 18px rgba(0,0,0,.25); }
.spotlight__copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; letter-spacing: -.01em; }
.spotlight__copy > p { margin-top: 16px; color: rgba(255,255,255,.78); font-size: 1.06rem; max-width: 520px; }
.spec { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.spec div { background: rgba(255,255,255,.04); padding: 16px 20px; }
.spec dt { font-size: .82rem; color: rgba(255,255,255,.55); }
.spec dd { font-size: 1.1rem; font-weight: 800; color: var(--accent); margin-top: 2px; }
.spotlight__actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Solutions ---------- */
.solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.solution { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.solution:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.solution__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.solution__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.solution:hover .solution__img img { transform: scale(1.06); }
.solution__num { position: absolute; top: 14px; left: 16px; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(12,26,23,.78); color: #fff; font-weight: 800; font-size: 1.1rem;
  display: grid; place-items: center; backdrop-filter: blur(4px); }
.solution__body { padding: 26px 28px 30px; }
.solution__body h3 { font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.solution__body p { margin-top: 12px; color: var(--muted); font-size: .96rem; }
.solution__tag { margin-top: 18px; display: inline-block; font-size: .82rem; font-weight: 600;
  color: var(--slate); border-top: 1px solid var(--line); padding-top: 14px; width: 100%; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.process__step { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 20px; text-align: center; transition: transform .2s ease, box-shadow .2s ease; }
.process__step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.process__dot { width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 1.18rem; display: grid; place-items: center;
  box-shadow: 0 8px 18px rgba(15,157,88,.3); }
.process__step h3 { font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.process__step p { margin-top: 8px; font-size: .86rem; color: var(--muted); }

/* ---------- Support ---------- */
.support { position: relative; color: #fff; overflow: hidden; }
.support__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.support__overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(10,122,68,.94), rgba(8,18,15,.82)); }
.support__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 84px 24px; }
.support__copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; }
.support__copy p { margin-top: 16px; color: rgba(255,255,255,.88); font-size: 1.05rem; max-width: 460px; }
.support__copy .btn { margin-top: 26px; }
.support__list { display: grid; gap: 14px; }
.support__list li { display: flex; gap: 16px; align-items: flex-start; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 20px 22px; backdrop-filter: blur(4px); }
.support__list .ic { width: 26px; height: 26px; flex: none; color: #fff; margin-top: 2px; }
.support__list strong { display: block; font-size: 1.05rem; }
.support__list span { color: rgba(255,255,255,.82); font-size: .9rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: center; }
.about__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.about__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.about__copy .section__title { text-align: left; }
.about__copy > p { margin-top: 16px; color: var(--muted); font-size: 1.02rem; }
.about__points { margin-top: 24px; display: grid; gap: 12px; }
.about__points li { padding-left: 28px; position: relative; color: var(--text); }
.about__points li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 800; }
.about__points strong { color: var(--ink); }
.info { margin-top: 26px; border-top: 1px solid var(--line); }
.info div { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.info dt { color: var(--muted); font-weight: 600; }
.info dd { color: var(--text); }
.info a:hover { color: var(--brand); }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: #fff; padding: 92px 0; }
.contact__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: start; }
.contact__copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; }
.contact__copy p { margin-top: 16px; color: rgba(255,255,255,.7); }
.contact__direct { margin-top: 26px; display: grid; gap: 14px; }
.contact__direct li { display: flex; align-items: center; gap: 12px; font-size: 1.04rem; font-weight: 600; color: rgba(255,255,255,.9); }
.contact__direct .ic { color: var(--accent); width: 22px; height: 22px; flex: none; }

.form { background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: .88rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.field i { color: var(--brand); font-style: normal; }
.field input, .field select, .field textarea { width: 100%; font-family: inherit; font-size: .98rem; color: var(--text);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px; background: #fbfdfc;
  transition: border-color .18s ease, box-shadow .18s ease; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15,157,88,.14); background: #fff; }
.field textarea { resize: vertical; min-height: 96px; }
.field--invalid input, .field--invalid select { border-color: #e0533f; box-shadow: 0 0 0 3px rgba(224,83,63,.12); }
.field--check { display: flex; align-items: flex-start; gap: 10px; }
.field--check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--brand); }
.field--check span { font-size: .88rem; color: var(--muted); font-weight: 500; }
.form__status { margin-top: 14px; text-align: center; font-weight: 700; font-size: .95rem; min-height: 1.2em; }
.form__status.is-ok { color: var(--brand-d); }
.form__status.is-err { color: #e0533f; }

/* ---------- Footer ---------- */
.footer { background: #08130f; color: rgba(255,255,255,.7); padding: 56px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1.6fr; gap: 36px; padding-bottom: 40px; }
.brand--light .brand__text { color: #fff; }
.footer__brand p { margin-top: 14px; font-size: .92rem; color: rgba(255,255,255,.55); }
.footer__nav { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a { font-size: .95rem; color: rgba(255,255,255,.7); }
.footer__nav a:hover { color: var(--accent); }
.footer__info p { font-size: .88rem; line-height: 1.9; color: rgba(255,255,255,.55); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .82rem;
  color: rgba(255,255,255,.4); text-align: center; }

/* ---------- Floating actions ---------- */
.floats { position: fixed; right: 20px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.float { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: none; box-shadow: var(--shadow); transition: transform .18s ease; }
.float:hover { transform: translateY(-3px) scale(1.04); }
.float svg { width: 26px; height: 26px; }
.float--kakao { background: #fee500; }
.float--kakao svg { fill: #371d1e; }
.float--tel { background: var(--brand); }
.float--tel svg { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.float--top { background: var(--ink); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .18s ease; }
.float--top.show { opacity: 1; pointer-events: auto; }
.float--top svg { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Section "more" button ---------- */
.section__more { margin-top: 44px; text-align: center; }

/* ---------- Home CTA band ---------- */
.ctaband { background: linear-gradient(135deg, var(--brand-d), var(--brand)); color: #fff; }
.ctaband__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: 54px 24px; flex-wrap: wrap; }
.ctaband h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; }
.ctaband p { margin-top: 10px; color: rgba(255,255,255,.9); font-size: 1.04rem; }
.ctaband__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ctaband .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.ctaband .btn--ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }

/* ---------- Sub-page hero (inner pages) ---------- */
.subhero { position: relative; color: #fff; overflow: hidden; background: var(--ink); }
.subhero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.subhero__overlay { position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,18,15,.86), rgba(8,18,15,.55)); }
.subhero__inner { position: relative; padding: 132px 24px 56px; }
.subhero h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; letter-spacing: -.02em; }
.subhero p { margin-top: 12px; color: rgba(255,255,255,.82); font-size: 1.06rem; max-width: 620px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: rgba(255,255,255,.6);
  margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: var(--accent); }

/* ---------- Category filter chips ---------- */
.catbar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.catbar button, .catbar a { font-family: inherit; font-size: .92rem; font-weight: 600; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--bg); color: var(--text); padding: 9px 18px; border-radius: 999px;
  transition: all .18s ease; }
.catbar button:hover, .catbar a:hover { border-color: var(--brand); color: var(--brand); }
.catbar button.active, .catbar a.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- Category group heading ---------- */
.catgroup { margin-top: 56px; }
.catgroup:first-of-type { margin-top: 0; }
.catgroup__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 22px; padding-bottom: 14px;
  border-bottom: 2px solid var(--brand-l); }
.catgroup__head h2 { font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.catgroup__head span { font-size: .92rem; color: var(--muted); }

/* ---------- Product detail ---------- */
.pdetail { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.pdetail__gallery { position: sticky; top: 96px; }
.pdetail__main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-sm); }
.pdetail__main img { width: 100%; border-radius: 12px; }
.pdetail__thumbs { margin-top: 14px; display: flex; gap: 10px; }
.pdetail__thumbs img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; border: 1.5px solid var(--line);
  background: #fff; cursor: pointer; transition: border-color .18s ease; }
.pdetail__thumbs img:hover { border-color: var(--brand); }
.pdetail__cat { color: var(--brand); font-weight: 700; font-size: .9rem; }
.pdetail h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; color: var(--ink); margin-top: 6px; }
.pdetail__lead { margin-top: 14px; color: var(--muted); font-size: 1.04rem; }
.pdetail__price { margin-top: 20px; padding: 16px 20px; background: var(--brand-l); border-radius: var(--radius);
  font-weight: 700; color: var(--brand-d); display: flex; align-items: center; gap: 10px; }
.pdetail__actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Spec table (vertical) ---------- */
.spectable { margin-top: 26px; width: 100%; border-top: 2px solid var(--ink); border-collapse: collapse; }
.spectable th, .spectable td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.spectable th { width: 38%; color: var(--muted); font-weight: 600; background: var(--bg-alt); }
.spectable td { color: var(--text); font-weight: 500; }

/* ---------- Feature grid (icon + text) ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px;
  transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature__icon { width: 50px; height: 50px; border-radius: 14px; background: var(--brand-l); color: var(--brand-d);
  display: grid; place-items: center; margin-bottom: 16px; }
.feature__icon .ic { width: 26px; height: 26px; }
.feature h3 { font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.feature p { margin-top: 10px; color: var(--muted); font-size: .95rem; }

/* ---------- Detail solution block (alternating) ---------- */
.solrow { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-top: 70px; }
.solrow:first-of-type { margin-top: 0; }
.solrow:nth-child(even) .solrow__media { order: 2; }
.solrow__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.solrow__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.solrow__body .eyebrow { margin-bottom: 8px; }
.solrow__body h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; color: var(--ink); }
.solrow__body p { margin-top: 14px; color: var(--muted); font-size: 1.02rem; }
.solrow__list { margin-top: 18px; display: grid; gap: 10px; }
.solrow__list li { padding-left: 28px; position: relative; color: var(--text); }
.solrow__list li::before { content: '✓'; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.solrow__body .btn { margin-top: 18px; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; background: var(--bg); }
.faq__q { width: 100%; text-align: left; font-family: inherit; font-size: 1.04rem; font-weight: 700; color: var(--ink);
  background: none; border: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; }
.faq__q .ic { flex: none; color: var(--brand); transition: transform .25s ease; }
.faq__item.open .faq__q .ic { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 22px 20px; color: var(--muted); font-size: .98rem; }

/* ---------- Steps (vertical, support) ---------- */
.steps { display: grid; gap: 0; max-width: 820px; margin: 0 auto; }
.steps__item { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 0 0 30px; position: relative; }
.steps__item:not(:last-child)::before { content: ''; position: absolute; left: 27px; top: 50px; bottom: -6px; width: 2px; background: var(--line); }
.steps__num { width: 54px; height: 54px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800;
  font-size: 1.2rem; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(15,157,88,.3); z-index: 1; }
.steps__body h3 { font-size: 1.15rem; font-weight: 800; color: var(--ink); padding-top: 12px; }
.steps__body p { margin-top: 6px; color: var(--muted); font-size: .96rem; }

/* ---------- Map area ---------- */
.maparea { height: 320px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.maparea iframe { width: 100%; height: 100%; border: 0; }
.maparea--placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--brand-d); font-weight: 700;
  background: repeating-linear-gradient(45deg, rgba(15,157,88,.05) 0 14px, transparent 14px 28px), var(--brand-l);
  border: 1px dashed rgba(15,157,88,.4); }
.maparea--placeholder svg { width: 34px; height: 34px; fill: none; stroke: var(--brand); stroke-width: 1.8; }

/* ---------- Info card (about/contact) ---------- */
.infocard { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.infocard h3 { font-size: 1.2rem; font-weight: 800; color: var(--ink); margin-bottom: 16px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .gcols { grid-template-columns: 1fr !important; gap: 28px !important; }
  .hero__inner { grid-template-columns: 1fr; gap: 32px; padding: 56px 24px 64px; }
  .hero__figure { order: -1; max-width: 460px; margin: 0 auto; }
  .hero__copy { max-width: none; }
  .hero__chip { display: none; }
  .cards, .solutions { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .stat:nth-child(2)::after { display: none; }
  .spotlight__inner, .support__inner, .about, .contact__inner { grid-template-columns: 1fr; gap: 38px; }
  .about__media { order: -1; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .topbar__item--muted, .topbar__spacer { display: none; }
  .topbar__kakao { margin-left: auto; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 4px; align-items: stretch;
    background: #fff; padding: 16px 24px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); margin-left: 0;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s; }
  .nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__link { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__cta { text-align: center; margin-top: 10px; }
  .nav__toggle { display: flex; }
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 36px; }
  .stat::after { display: none !important; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 24px; }
  .floats { right: 14px; bottom: 16px; }
}

@media (max-width: 520px) {
  .cards, .solutions, .stats__grid, .process, .footer__inner { grid-template-columns: 1fr; }
  .hero__badges { gap: 14px; }
  .container { padding: 0 18px; }
}

@media (max-width: 980px) {
  .pdetail { grid-template-columns: 1fr; gap: 32px; }
  .pdetail__gallery { position: static; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .solrow { grid-template-columns: 1fr; gap: 28px; margin-top: 48px; }
  .solrow:nth-child(even) .solrow__media { order: 0; }
}
@media (max-width: 720px) {
  .subhero__inner { padding: 116px 24px 44px; }
  .ctaband__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
  .pdetail__actions .btn, .spotlight__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll span { animation: none; }
  .hero__figure img, .hero__chip { animation: none; }
}

/* ---------- Blog / Post / misc ---------- */
.section__more { text-align: center; margin-top: 40px; }
.blog__empty { text-align: center; color: var(--muted); padding: 50px 0; font-size: 1rem; }
.blog-card { display: flex; flex-direction: column; }
.blog-card__date { font-size: .82rem; color: var(--muted); font-weight: 600; }
.blog-card h3 { margin-top: 6px; }
.post { max-width: 760px; margin: 0 auto; }
.post__back { display: inline-block; color: var(--brand); font-weight: 700; margin-bottom: 18px; }
.post__back:hover { color: var(--brand-d); }
.post__title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--ink); line-height: 1.3; }
.post__meta { color: var(--muted); font-size: .9rem; margin: 8px 0 22px; }
.post__cover { width: 100%; border-radius: var(--radius-lg); margin-bottom: 22px; }
.post__body { font-size: 1.05rem; line-height: 1.85; color: var(--text); }
.post__body p { margin-bottom: 1em; }
.post__body img { border-radius: var(--radius); margin: 1em 0; max-width: 100%; }
.post__body h2, .post__body h3 { color: var(--ink); margin: 1.2em 0 .5em; }

.post__body.ql-editor { padding: 0; }
