/* =========================================================
   정음전자 (Jeongeum Electronics) — 공용 스타일시트
   ========================================================= */

:root {
  --gold: #1a72b8;
  --gold-dark: #125a94;
  --ink: #1a1a1a;
  --ink-soft: #333333;
  --gray-body: #6b6b6b;
  --gray-fine: #8c8c8c;
  --bg-card: #f2f2f0;
  --bg-light: #ececec;
  --bg-dark: #1a1a1a;
  --border: #e2e2e0;
  --white: #ffffff;
  --red: #bd1616;
  --radius-pill: 999px;
  --wrap-max: 1400px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Pretendard", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
input { font: inherit; }

.wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 24px;
}

.serif {
  font-family: "Noto Serif KR", "Georgia", serif;
}

/* ---------- 공통 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 26px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.15s ease;
}
.btn:hover { opacity: 0.75; }

.btn-gold {
  background: var(--white);
  border: 1px solid var(--gold);
  color: var(--gold-dark);
}
.btn-gold-fill {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--white);
}
.btn-dark {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--white);
}
.btn-outline-dark {
  background: var(--white);
  border: 1px solid var(--ink);
  color: var(--ink);
}
.btn-block { display: flex; width: 100%; }

.link-underline {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 14px;
  font-weight: 600;
}
.link-plain {
  color: var(--gray-body);
  font-size: 14px;
}

/* ---------- 공지바 ---------- */
.promo-bar {
  background: #0b0b0b;
  color: var(--white);
  font-size: 13px;
  text-align: center;
  padding: 10px 0;
}
.promo-bar a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 8px;
}

/* ---------- 유틸리티 바 ---------- */
.util-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.util-bar-inner {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  padding: 8px 24px;
  font-size: 12px;
  color: var(--ink-soft);
}
.util-bar-inner a:hover { color: var(--gold-dark); }

.util-dropdown { position: relative; }
.util-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--bg-dark);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
  padding: 4px 0;
  display: flex;
  flex-direction: column;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.util-dropdown:hover .util-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.util-dropdown-menu a {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--white);
  white-space: nowrap;
}
.util-dropdown-menu a:hover { background: var(--white); color: var(--ink); }

/* ---------- 메인 헤더 ---------- */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 16px 24px;
}
.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.logo-jh { color: var(--gold); }
.logo-global { color: var(--ink); }
.logo-accent { color: #bd1616; }
.gnb {
  display: flex;
  flex: 1;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
}
.gnb li a {
  padding: 6px 0;
  display: inline-block;
  border-bottom: 2px solid transparent;
}
.gnb li.active a,
.gnb li:hover > a {
  color: var(--gold-dark);
  border-bottom: 2px solid var(--gold);
}

/* ---------- GNB 드롭다운(메가메뉴) ---------- */
.gnb-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  z-index: 50;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, background-color 0.4s ease 0.15s;
}
.gnb > li:hover .gnb-dropdown {
  max-height: 420px;
  opacity: 1;
  background: var(--white);
}
.gnb-dropdown-inner {
  display: flex;
  gap: 64px;
  padding-top: 32px;
  padding-bottom: 36px;
}
.gnb-cats { display: flex; gap: 28px; }
.gnb-cats .gnb-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 84px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.gnb-cat .thumb {
  width: 64px;
  height: 64px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-card);
}
.gnb-cat img { width: 100%; height: 100%; object-fit: cover; }
.gnb-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 32px;
  border-left: 1px solid var(--border);
}
.gnb-links-label { font-size: 13px; color: var(--gray-fine); }
.gnb-links a { font-size: 14px; color: var(--ink-soft); }
.gnb-links a:hover { color: var(--gold-dark); }
.header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.icon-btn {
  position: relative;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border: 1px solid transparent;
}
.icon-square, .icon-circle {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--ink);
}
.icon-circle { border-radius: 50%; }
.icon-btn .badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--gold);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  min-width: 15px;
  height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- 서브내비 (aiclub 전용) ---------- */
.sub-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.sub-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 24px;
  flex-wrap: wrap;
}
.sub-nav-left {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.sub-nav-title { font-weight: 700; font-size: 16px; }
.sub-nav-links { display: flex; gap: 20px; flex-wrap: wrap; }
.sub-nav-links a { font-size: 13px; color: var(--gray-body); }
.sub-nav-links a:hover { color: var(--gold-dark); }

/* ---------- 섹션 공통 ---------- */
.section { padding: 64px 0; scroll-margin-top: 110px; }
.section-dark { background: var(--bg-dark); color: var(--white); }
.section-light { background: var(--bg-light); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}
.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 8px;
}
.section-title {
  font-family: "Noto Serif KR", serif;
  font-size: 28px;
  font-weight: 700;
}
.section-title.center { text-align: center; }
.section-sub {
  color: var(--gray-body);
  font-size: 15px;
  margin-top: 10px;
}
.section-foot-link { text-align: right; margin-top: 24px; }

/* 숫자 강조(작은 첨자 스타일) */
.num-accent { font-size: 0.7em; vertical-align: baseline; }

/* ---------- 히어로 캐러셀 ---------- */
.hero-carousel {
  position: relative;
  overflow: hidden;
  max-width: calc(var(--wrap-max) - 48px);
  margin: 0 auto;
}
.hero-slide {
  display: none;
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  align-items: center;
}
.hero-slide.is-active { display: flex; }
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
}
.hero-slide-split {
  background-color: var(--white);
}
.hero-slide-split::after { content: none; }
.hero-slide-split .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  width: 100%;
}
.hero-split-media {
  flex: 0 0 46%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-split-media img {
  max-width: 100%;
  max-height: 460px;
  object-fit: contain;
  animation: heroImageIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes heroImageIn {
  from { opacity: 0; transform: scale(0.82) translateY(28px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.hero-split-text { flex: 0 0 42%; }
.hero-card {
  position: relative;
  z-index: 1;
  background: var(--white);
  max-width: 480px;
  margin-left: 8%;
  padding: 40px 44px;
  border-radius: 4px;
}
.hero-eyebrow { color: var(--gold-dark); font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.hero-heading {
  font-family: "Noto Serif KR", serif;
  font-size: 32px;
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 16px;
}
.hero-body { color: var(--ink-soft); font-size: 15px; line-height: 1.7; margin-bottom: 8px; }
.hero-fine { color: var(--gray-fine); font-size: 12px; margin-bottom: 22px; }
.hero-actions { display: flex; align-items: center; gap: 18px; }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  font-size: 18px;
  z-index: 2;
}
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }
.hero-carousel-no-arrows .hero-arrow { display: none; }

.hero-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.hero-dot {
  width: 26px;
  height: 3px;
  background: var(--border);
}
.hero-dot.is-active { background: var(--gold); width: 34px; }

/* ---------- 가로 스크롤 (hscroll) ---------- */
.hscroll { position: relative; }
.hscroll-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.hscroll-item {
  min-width: 0;
}
.hscroll-item .thumb {
  background: var(--bg-card);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}
.hscroll-item .thumb img { width: 100%; height: 260px; object-fit: cover; }
.hscroll-item .cap { font-size: 14px; font-weight: 600; text-align: center; }

.hscroll-arrow {
  position: absolute;
  top: 40%;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 16px;
  z-index: 2;
}
.hscroll-arrow.prev { left: -18px; }
.hscroll-arrow.next { right: -18px; }

/* ---------- 기획전 배너 (중앙 카드) ---------- */
.promo-banner {
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.promo-banner::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.25); }
.promo-banner-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-banner.is-inset { max-width: calc(var(--wrap-max) - 48px); margin: 64px auto; }
.promo-banner-card {
  position: relative;
  z-index: 1;
  background: var(--white);
  text-align: center;
  padding: 44px 60px;
  width: 520px;
  max-width: 100%;
}
.promo-banner-card .section-title { margin: 10px 0 12px; font-size: 26px; }
.promo-banner-card .section-sub { margin-bottom: 22px; }
.promo-banner-card .hero-actions { justify-content: center; }

.promo-banner.is-light { background: linear-gradient(135deg, #1a72b8 0%, #4a8fd6 50%, #bd1616 100%); }
.promo-banner.is-light::after { content: none; }
.promo-banner.is-light .promo-spotlight-text .eyebrow,
.promo-banner.is-light .promo-spotlight-text .section-title,
.promo-banner.is-light .promo-spotlight-text .section-sub { color: var(--white); }
.promo-banner.is-light .promo-spotlight-text .link-underline { color: var(--white); }
.promo-spotlight {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  width: 100%;
  padding: 56px 48px;
}
.promo-spotlight-text { flex: 0 0 40%; }
.promo-spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 18px;
}
.promo-spotlight-text .section-title { margin: 10px 0 12px; font-size: 28px; }
.promo-spotlight-text .section-sub { margin-bottom: 22px; }
.spotlight-grid {
  flex: 0 0 50%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.spotlight-item {
  background: var(--white);
  border-radius: 8px;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.spotlight-item .icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(26, 114, 184, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.spotlight-item .icon svg { width: 22px; height: 22px; stroke: var(--gold-dark); fill: none; }
.spotlight-item .label { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.spotlight-item .sub { font-size: 12px; color: var(--gray-body); }

/* ---------- 제품 그리드 + 필터탭 ---------- */
.tabs-filter { display: flex; gap: 20px; font-size: 14px; }
.tabs-filter .tab-btn { color: var(--gray-body); padding-bottom: 4px; }
.tabs-filter .tab-btn.is-active { color: var(--gold-dark); border-bottom: 2px solid var(--gold); font-weight: 700; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card .thumb {
  background: var(--bg-card);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 14px;
}
.product-card .thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.product-card .cat { color: var(--gray-fine); font-size: 12px; margin-bottom: 6px; }
.product-card .name { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.product-card .desc { color: var(--gray-body); font-size: 13px; margin-bottom: 10px; }
.product-card .price-row { display: flex; align-items: center; justify-content: space-between; }
.product-card .price { font-weight: 700; font-size: 15px; }

/* ---------- 벤토 그리드 ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 260px;
  gap: 16px;
}
.bento-item {
  position: relative;
  grid-column: span 2;
  border-radius: 4px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.bento-item.wide { grid-column: span 4; }
.bento-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 55%); }
.bento-item .bento-copy {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 22px;
}
.bento-item .eyebrow { color: var(--gold); margin-bottom: 6px; }
.bento-item .bento-title { font-size: 20px; font-weight: 700; margin-bottom: 6px; white-space: pre-line; }
.bento-item .bento-sub { font-size: 13px; color: rgba(255, 255, 255, 0.85); margin-bottom: 10px; }
.bento-item .link-underline { color: var(--white); }

.bento-item.on-light { align-items: center; background-position: right center; }
.bento-item.on-light::after { display: none; }
.bento-item.on-light .bento-copy { color: var(--ink); max-width: 55%; }
.bento-item.on-light .eyebrow { color: var(--gold-dark); }
.bento-item.on-light .bento-title { color: var(--ink); font-size: 22px; }
.bento-item.on-light .bento-sub { color: var(--gray-body); }
.bento-item.on-light .link-underline { color: var(--gold-dark); }
.bento-item.on-light .bento-icons { display: flex; gap: 14px; margin: 12px 0 14px; flex-wrap: wrap; }
.bento-item.on-light .bento-icon { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-soft); white-space: nowrap; }
.bento-item.on-light .bento-icon svg { width: 18px; height: 18px; stroke: var(--gold-dark); fill: none; flex-shrink: 0; }
.bento-item.on-light .bento-icon:has(em:only-child) { background: rgba(255, 255, 255, 0.7); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 5px 14px; font-weight: 600; }

/* ---------- 연혁 ---------- */
.history-list { border-top: 1px solid var(--border); }
.history-item {
  display: flex;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.history-year { flex: 0 0 auto; width: 80px; font-weight: 700; font-size: 18px; color: var(--gold-dark); }
.history-desc { color: var(--ink-soft); }

/* ---------- 뉴스룸 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card .thumb { background: var(--bg-card); border-radius: 4px; overflow: hidden; margin-bottom: 14px; }
.news-card .thumb img { width: 100%; height: 200px; object-fit: cover; }
.news-card .date { color: var(--gold-dark); font-size: 12px; margin-bottom: 6px; }
.news-card .title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.news-card .desc { color: var(--gray-body); font-size: 13px; }
.news-card .desc.highlight { color: var(--gold-dark); }

/* ---------- 고객지원 심플카드 ---------- */
.support-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.support-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 26px 22px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.support-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06); transform: translateY(-2px); }
.support-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(26, 114, 184, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.support-card .icon svg { width: 22px; height: 22px; stroke: var(--gold-dark); fill: none; }
.support-card .title { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.support-card .desc { color: var(--gray-body); font-size: 13px; line-height: 1.6; margin-bottom: 16px; flex: 1; }
.support-card .link-underline { align-self: flex-start; }

/* ---------- 요금제 카드 (구독방식) ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan-card { border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.plan-card .thumb img { width: 100%; height: 200px; object-fit: cover; }
.plan-card .body { padding: 24px; }
.plan-card .plan-name { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.plan-card .body > p { color: var(--ink-soft); font-size: 14px; margin-bottom: 14px; }
.plan-card .bullets { margin-bottom: 18px; }
.plan-card .bullets li {
  font-size: 13px;
  color: var(--gray-body);
  padding-left: 14px;
  position: relative;
  margin-bottom: 6px;
}
.plan-card .bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.plan-card .links {
  display: flex;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* ---------- 탭 그룹 (공용) ---------- */
.tabs-toggle { display: flex; gap: 18px; font-size: 13px; }
.tabs-toggle .tab-btn { color: var(--gray-body); padding-bottom: 4px; }
.tabs-toggle .tab-btn.is-active { color: var(--gold-dark); border-bottom: 2px solid var(--gold); font-weight: 700; }
.tab-panel[data-panel] { display: none; }
.tab-panel[data-panel].is-active { display: grid; }

/* ---------- 정보카드 (빠르게 알아보는) ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-card .thumb { background: var(--bg-light); border-radius: 4px; height: 160px; margin-bottom: 16px; }
.info-card .label { color: var(--gold-dark); font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.info-card .title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.info-card .desc { color: var(--gray-body); font-size: 13px; margin-bottom: 12px; }

/* ---------- 다크밴드 (블루패스) ---------- */
.dark-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dark-card {
  border-bottom: 2px solid var(--gold);
  background: #232323;
  border-radius: 4px;
  overflow: hidden;
}
.dark-card .thumb img { width: 100%; height: 130px; object-fit: cover; }
.dark-card .body { padding: 18px; }
.dark-card .tag { color: var(--gold); font-size: 12px; margin-bottom: 8px; }
.dark-card .title { color: var(--white); font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.dark-card .desc { color: rgba(255, 255, 255, 0.7); font-size: 13px; }

.section-dark .hscroll-arrow { background: #232323; border-color: rgba(255,255,255,0.3); color: var(--white); }
.section-dark .hero-dots { position: static; transform: none; justify-content: center; margin-top: 28px; }

/* ---------- 기능 카드 4열 ---------- */
.feature-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.feature-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.feature-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06); transform: translateY(-2px); }
.feature-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(26, 114, 184, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card .icon svg { width: 26px; height: 26px; stroke: var(--gold-dark); fill: none; }
.feature-card .title { font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.feature-card .desc { color: var(--gray-body); font-size: 13px; line-height: 1.6; margin-bottom: 20px; flex: 1; }
.feature-card .link-underline { align-self: flex-start; }

/* ---------- 블로그 자동 발행 4열 ---------- */
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.platform-card {
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.platform-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); transform: translateY(-2px); }
.platform-card img { width: 100%; height: auto; display: block; }

/* ---------- 구독케어 4열 ---------- */
.care-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.care-item .thumb { border-radius: 4px; overflow: hidden; margin-bottom: 16px; }
.care-item .thumb img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.care-item .title { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.care-item .desc { color: var(--gray-body); font-size: 13px; }

/* ---------- 영상 미리보기 2열 ---------- */
.video-promo { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.video-thumb { position: relative; border-radius: 4px; overflow: hidden; }
.video-thumb img { width: 100%; height: 340px; object-fit: cover; }
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  font-weight: 700;
  font-size: 14px;
}

/* ---------- 프리미엄 배너 (미니 히어로) ---------- */
.mini-banner { min-height: 380px; }
.mini-banner .hero-card { max-width: 440px; margin-left: auto; margin-right: 8%; }

/* ---------- 제휴혜택 (5탭 + 큰카드+3카드) ---------- */
.partner-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
.partner-feature { border-radius: 4px; overflow: hidden; background: var(--bg-light); min-height: 320px; }
.partner-feature img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.partner-side { display: grid; grid-template-rows: repeat(3, 1fr); gap: 16px; }
.partner-side-card {
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px;
}
.partner-side-card .thumb { width: 84px; height: 84px; flex: 0 0 auto; border-radius: 4px; overflow: hidden; background: var(--bg-light); }
.partner-side-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.partner-side-card .title { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.partner-side-card .desc { color: var(--gray-body); font-size: 12px; }

/* ---------- 혜택 모음집 (배지 카드) ---------- */
.coupon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.coupon-card { background: var(--white); border-radius: 4px; overflow: hidden; }
.coupon-card .thumb { background: var(--bg-light); height: 150px; }
.coupon-card .body { padding: 18px; }
.badge-pill {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}
.coupon-card .title { font-size: 15px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.coupon-card .desc { color: var(--gray-body); font-size: 12.5px; margin-bottom: 6px; }
.coupon-card .fine { color: var(--gray-fine); font-size: 11px; margin-bottom: 10px; }

/* ---------- 가이드 CTA 2열 ---------- */
.guide-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.guide-cta img { border-radius: 4px; width: 100%; height: 280px; object-fit: cover; }
.guide-cta .btn-row { display: flex; gap: 14px; margin-top: 22px; }

/* ---------- FAQ 아코디언 ---------- */
.accordion { border-top: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 4px;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}
.accordion-icon { font-size: 20px; color: var(--gold-dark); font-weight: 400; }
.accordion-icon::before { content: "+"; }
.accordion-item.is-open .accordion-icon::before { content: "\2212"; }
.accordion-panel {
  display: none;
  padding: 0 4px 24px;
}
.accordion-item.is-open .accordion-panel { display: block; }
.accordion-panel li {
  color: var(--gray-body);
  font-size: 14px;
  line-height: 1.8;
  padding-left: 14px;
  position: relative;
  margin-bottom: 4px;
}
.accordion-panel li::before {
  content: "-";
  position: absolute;
  left: 0;
}

/* ---------- 푸터 ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-bottom: 40px; }
.footer-grid h4 { font-size: 14px; margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a { color: var(--gray-body); font-size: 13px; }
.footer-grid ul li a:hover { color: var(--gold-dark); }
.footer-newsletter p { color: var(--gray-body); font-size: 13px; margin-bottom: 14px; }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-form input {
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  font-size: 13px;
}
.footer-contact-box { border: 1px solid var(--border); border-radius: 4px; padding: 18px; }
.footer-contact-box p { font-size: 13px; margin-bottom: 6px; }
.footer-contact-box .tel { font-weight: 700; font-size: 15px; }
.footer-contact-box .btn { margin-top: 12px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--gray-fine);
}

/* ---------- 플로팅 액션 레일 ---------- */
.float-rail {
  position: fixed;
  right: 20px;
  bottom: 90px;
  background: var(--bg-light);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 200;
}
.float-rail.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.float-item, .float-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 60px;
  padding: 10px 4px;
  font-size: 11px;
  border-radius: 8px;
}
.float-item:hover, .float-top:hover { background: rgba(0, 0, 0, 0.05); }
.float-icon { font-size: 17px; }
.float-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  background: var(--bg-light);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 200;
}
.float-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- A/S 안내 ---------- */
.as-guide { display: flex; flex-direction: column; gap: 16px; }
.as-guide-item {
  display: flex;
  gap: 20px;
  padding: 24px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.as-num {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--gold-dark);
  font-family: "Noto Serif KR", serif;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.as-guide-body { flex: 1; min-width: 0; }
.as-guide-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 14px;
}
.as-guide-body p { color: var(--ink-soft); font-size: 14px; line-height: 1.85; margin-bottom: 8px; }
.as-guide-body ul { color: var(--ink-soft); font-size: 14px; line-height: 1.85; padding-left: 18px; margin-bottom: 8px; list-style: disc; }
.as-guide-body li { margin-bottom: 4px; }
.as-guide-body li::marker { color: var(--gold); }
.as-guide-body .fine { color: var(--gray-fine); font-size: 13px; }
.as-guide-body p:last-child,
.as-guide-body ul:last-child { margin-bottom: 0; }
.as-account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 11px 18px;
  background: var(--bg-card);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
}

/* ---------- 개인정보 처리방침 박스 ---------- */
.policy-box {
  margin-top: 16px;
  max-height: 240px;
  overflow-y: auto;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-card);
  font-size: 12px;
  line-height: 1.85;
  color: var(--gray-body);
  white-space: pre-line;
}
.policy-box::-webkit-scrollbar { width: 8px; }
.policy-box::-webkit-scrollbar-track { background: transparent; }
.policy-box::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* ---------- A/S 접수 폼 ---------- */
.as-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}
.as-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.as-form-row { min-width: 0; }
.as-form-row.full,
.as-agree,
.as-form-submit { grid-column: 1 / -1; }
.as-form-row label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}
.as-form-row .hint { font-size: 12px; color: var(--gray-fine); font-weight: 400; }
.tag-required,
.tag-optional {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  vertical-align: middle;
}
.tag-required { background: rgba(189, 22, 22, 0.08); color: var(--red); border: 1px solid rgba(189, 22, 22, 0.24); }
.tag-optional { background: var(--bg-light); color: var(--gray-fine); }
.as-form-row input[type="text"],
.as-form-row input[type="date"],
.as-form-row input[type="tel"],
.as-form-row input[type="password"],
.as-form-row input[type="email"],
.as-form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s ease;
}
.as-form-row input[type="text"]:focus,
.as-form-row input[type="date"]:focus,
.as-form-row input[type="tel"]:focus,
.as-form-row input[type="password"]:focus,
.as-form-row input[type="email"]:focus,
.as-form-row textarea:focus { outline: none; border-color: var(--gold); }
.as-form-row textarea { resize: vertical; min-height: 130px; }
.as-form-row input[type="file"] {
  width: 100%;
  font-size: 13px;
  padding: 10px 0;
}
.file-dropzone {
  position: relative;
  border: 1.5px dashed var(--border);
  border-radius: 8px;
  padding: 22px 16px;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
}
.file-dropzone.is-dragover { border-color: var(--gold); background: rgba(26, 114, 184, 0.06); }
.file-dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.file-dropzone-text { display: flex; flex-direction: column; gap: 4px; pointer-events: none; }
.file-dropzone-main { font-size: 13px; color: var(--ink-soft); }
.file-dropzone-name { font-size: 12.5px; color: var(--gold-dark); font-weight: 700; min-height: 16px; }
.as-agree {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
}
.as-agree input[type="checkbox"] { margin-top: 3px; flex: 0 0 auto; width: 16px; height: 16px; accent-color: var(--gold); }
.as-form-submit { display: flex; justify-content: flex-end; margin-top: 4px; }
.as-form-submit .btn { min-width: 160px; text-align: center; }
.address-search-group { display: flex; gap: 8px; }
.address-search-group input { flex: 1; min-width: 0; }
.address-search-group .btn { flex: 0 0 auto; padding: 11px 18px; }
.address-search-group input[readonly] { background: var(--bg-soft, #f7f7f8); }
.address-detail-input { margin-top: 8px; }

/* =========================================================
   반응형
   ========================================================= */
@media (max-width: 1080px) {
  .product-grid, .dark-cards, .care-grid, .support-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-item, .bento-item.wide { grid-column: span 2; }
  .plan-grid, .info-grid, .coupon-grid, .feature-card-grid, .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-layout, .video-promo, .guide-cta { grid-template-columns: 1fr; }
  .gnb { display: none; }
  .hero-slide-split { min-height: auto; }
  .hero-slide-split .wrap { flex-direction: column; padding: 40px 0; gap: 24px; }
  .hero-split-media, .hero-split-text { flex: 0 0 auto; width: 100%; }
  .hero-split-media img { max-height: 300px; }
  .hero-split-text { text-align: center; }
  .hero-split-text .hero-actions { justify-content: center; }
  .promo-spotlight { flex-direction: column; padding: 40px 24px; }
  .promo-spotlight-text, .spotlight-grid { flex: 0 0 auto; width: 100%; }
  .promo-spotlight-text { text-align: center; }
  .promo-spotlight-text .hero-actions { justify-content: center; }
}

@media (max-width: 640px) {
  .product-grid, .dark-cards, .care-grid, .support-grid,
  .plan-grid, .info-grid, .coupon-grid, .footer-grid,
  .news-grid, .feature-card-grid, .platform-grid { grid-template-columns: 1fr; }
  .bento-item, .bento-item.wide { grid-column: 1 / -1; }
  .bento-item.on-light { align-items: flex-start; background-position: center 15%; }
  .bento-item.on-light .bento-copy { max-width: 100%; background: rgba(255, 255, 255, 0.88); border-radius: 6px; padding: 16px; margin: 0 12px 12px; }
  .bento-item.on-light .bento-title { font-size: 18px; }
  .bento-item.on-light .bento-icon em { display: none; }
  .hero-card { margin: 0 16px; max-width: none; }
  .section { padding: 40px 0; }
  .hero-split-media img { max-height: 220px; }
  .hero-split-text .hero-heading { font-size: 26px; }
  .hero-split-text .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-split-text .hero-actions .btn { width: 100%; }
  .spotlight-grid { grid-template-columns: 1fr; }
  .as-form { grid-template-columns: 1fr; }
  .as-guide-item { padding: 24px; gap: 18px; }
  .as-form-card { padding: 24px; }
}

/* ---------- 공지사항 ---------- */
.notice-table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 14px; }
.notice-table th {
  text-align: left; padding: 12px 16px;
  border-top: 2px solid var(--ink); border-bottom: 1px solid var(--border);
  font-weight: 700; color: var(--ink-soft); font-size: 13px;
}
.notice-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.notice-table tr.is-pinned { background: var(--bg-card); }
.notice-table a:hover { color: var(--gold-dark); }
.notice-table .col-num { width: 70px; color: var(--gray-body); }
.notice-table .col-date { width: 130px; color: var(--gray-body); }
.notice-empty { padding: 48px 16px; text-align: center; color: var(--gray-body); }

.notice-view-head { padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.notice-view-meta { margin-top: 10px; font-size: 13px; color: var(--gray-body); }
.notice-view-body { padding: 32px 0; min-height: 160px; line-height: 1.8; }
.notice-view-actions { padding-top: 20px; border-top: 1px solid var(--border); }
