/* ===== 유진인스텍코어(주) 홈페이지 스타일 ===== */

:root {
  --navy: #0b2545;
  --navy-dark: #071a33;
  --blue: #1f5fbf;
  --yellow: #f5b81c;
  --red: #e0483e;
  --ink: #1c2733;
  --ink-soft: #4b5865;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-card: #ffffff;
  --border: #e3e8ee;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 16px 40px rgba(11, 37, 69, 0.14);
  --maxw: 1160px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
section[id], .biz-card-sm { scroll-margin-top: 96px; }

body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic",
    "Apple SD Gothic Neo", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

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

section { padding: 96px 0; }

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--ink-soft);
  font-size: 1.02rem;
  max-width: 640px;
  margin: 0 0 48px;
}

.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .section-desc { margin-left: auto; margin-right: auto; }

/* ---------- Logo mark ---------- */
.logo-mark {
  position: relative;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.logo-mark span {
  position: absolute;
  display: block;
  border-radius: 3px;
}
.logo-mark span:nth-child(1) { width: 16px; height: 16px; background: var(--yellow); top: 0; left: 0; }
.logo-mark span:nth-child(2) { width: 12px; height: 12px; background: var(--red); top: 8px; left: 2px; opacity: 0.9; }
.logo-mark span:nth-child(3) { width: 16px; height: 16px; background: var(--navy); bottom: 0; right: 0; }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.logo small {
  display: block;
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}
.brand-logo {
  height: 32px;
  width: auto;
  display: block;
}
/* 로고 원본이 투명 배경 위 흰색이라, 밝은 헤더 배경에서는 검정으로 반전해서 사용 */
.site-header .brand-logo { filter: brightness(0); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 16px rgba(11, 37, 69, 0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover { color: var(--navy); background: var(--bg-soft); }
.nav-links a.active { color: var(--blue); background: rgba(31, 95, 191, 0.08); }

/* 사업분야 드롭다운 */
.nav-item.has-dropdown { position: relative; }
.nav-parent-link { display: inline-flex !important; align-items: center; gap: 4px; }
.nav-caret { width: 13px; height: 13px; transition: transform 0.2s ease; }
.nav-item.has-dropdown:hover .nav-caret,
.nav-item.has-dropdown:focus-within .nav-caret,
.nav-item.has-dropdown.dd-open .nav-caret { transform: rotate(180deg); }

.nav-links .nav-dropdown {
  position: absolute;
  /* 링크와 드롭다운 사이에 틈이 있으면 그 구간에서 호버가 끊겨 드롭다운이
     닫혀버린다. 간격 없이 바로 붙여서 마우스가 끊김없이 이동할 수 있게 한다. */
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  padding-top: 18px;
  margin: 0;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 60;
}
/* 마우스를 사업분야에 올리면(hover) 표시, 키보드 포커스 시에도 표시.
   .dd-open은 script.js가 mouseenter/leave로 동일하게 토글하는 보조 장치.
   visibility 대신 pointer-events로 상호작용을 제어해 트랜지션과 섞이지 않게 한다. */
.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown,
.nav-item.has-dropdown.dd-open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-links .nav-dropdown a {
  display: flex !important;
  flex-direction: column;
  gap: 1px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
}
.nav-links .nav-dropdown a:hover { background: var(--bg-soft); }
.nav-links .nav-dropdown a span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* 표면검사 등 드롭다운 항목 안에서 옆으로 펼쳐지는 2단 서브메뉴(플라이아웃) */
.nav-dropdown li.has-submenu { position: relative; }
.nav-dropdown li.has-submenu .submenu-arrow {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1;
  pointer-events: none;
}
.nav-submenu {
  position: absolute;
  top: 0;
  /* 부모 드롭다운과 마찬가지로 틈 없이 붙여서 호버가 끊기지 않게 한다 */
  left: 100%;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  margin: 0;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 70;
}
.nav-dropdown li.has-submenu:hover > .nav-submenu,
.nav-dropdown li.has-submenu:focus-within > .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.nav-submenu a {
  display: block !important;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.nav-submenu a:hover { background: var(--bg-soft); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: var(--blue); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 176px 0 110px;
  background:
    radial-gradient(1100px 520px at 82% -10%, rgba(31, 95, 191, 0.16), transparent 60%),
    radial-gradient(700px 420px at 6% 110%, rgba(245, 184, 28, 0.14), transparent 60%),
    linear-gradient(180deg, var(--navy-dark), var(--navy) 70%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg-images {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  mix-blend-mode: luminosity;
  filter: saturate(1.5);
}
.hero-bg-image.is-active { opacity: .5; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7,26,51,.55), rgba(7,26,51,.15) 40%, rgba(7,26,51,.65)),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .hero-bg-image.is-active { opacity: .3; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #cfe0ff;
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--yellow);
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  max-width: 780px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--yellow), #ffd873);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-rotator {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 1.6em;
  margin: 2px 0 22px;
}
.hr-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(245, 184, 28, 0.16);
  color: var(--yellow);
  flex-shrink: 0;
}
.hr-icon svg { width: 13px; height: 13px; }
.hr-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: -0.01em;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.hr-text.hr-fade { opacity: 0; transform: translateY(6px); }

.hero p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
  margin: 0 0 40px;
  word-break: keep-all;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background: var(--yellow); color: var(--navy-dark); }
.btn-primary:hover { transform: translateY(-2px); background: #ffc63d; }
.btn-outline { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 820px;
}
.hero-stats div {
  background: rgba(255, 255, 255, 0.04);
  padding: 22px 20px;
}
.hero-stats strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.hero-stats span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.65); }

/* ---------- Hero image carousel ---------- */
.showcase { padding: 88px 0; background: var(--bg-soft); }
.carousel {
  position: relative;
  width: 100%;
  padding: 0 56px;
}
.carousel-track {
  position: relative;
  width: 100%;
}
.carousel-slide {
  display: none;
  position: relative;
  width: 100%;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  animation: ccFadeIn 0.5s ease;
}
.carousel-slide.is-active { display: flex; }
@keyframes ccFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cc-media {
  position: relative;
  flex: 0 0 clamp(220px, 30vw, 360px);
  width: clamp(220px, 30vw, 360px);
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
}
.cc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cc-media img.is-broken { display: none; }

.carousel-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background:
    radial-gradient(600px 320px at 20% 20%, rgba(31, 95, 191, 0.35), transparent 60%),
    radial-gradient(500px 300px at 85% 80%, rgba(245, 184, 28, 0.2), transparent 60%),
    linear-gradient(135deg, var(--navy), var(--navy-dark));
}
.carousel-slide.no-image .carousel-placeholder,
.carousel-slide:has(img.is-broken) .carousel-placeholder { display: flex; }
.carousel-placeholder .logo-mark { width: 44px; height: 44px; opacity: 0.9; }
.carousel-placeholder .logo-mark span:nth-child(1) { width: 24px; height: 24px; }
.carousel-placeholder .logo-mark span:nth-child(2) { width: 18px; height: 18px; top: 12px; left: 3px; }
.carousel-placeholder .logo-mark span:nth-child(3) { width: 24px; height: 24px; }
.ph-label {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}

.carousel-caption {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}
.cc-headline {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.28;
  max-width: 560px;
  color: var(--ink);
}
.cc-subcopy {
  margin: 0;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  font-weight: 500;
  color: var(--ink-soft);
  max-width: 480px;
}
.cc-cta { margin-top: 22px; align-self: flex-start; }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  z-index: 2;
}
.carousel-arrow:hover { background: var(--bg-soft); border-color: var(--blue); }
.carousel-arrow svg { width: 20px; height: 20px; }
.carousel-arrow.prev { left: 0; }
.carousel-arrow.next { right: 0; }

.carousel-dots {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.carousel-dots .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(11, 37, 69, 0.18);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-dots .dot.active { background: var(--yellow); transform: scale(1.25); }

@media (max-width: 760px) {
  .showcase { padding: 56px 0; }
  .carousel { padding: 0 8px; }
  .carousel-slide { flex-direction: column; align-items: flex-start; gap: 20px; }
  .cc-media { width: 100%; flex-basis: auto; max-width: 320px; aspect-ratio: 4 / 3; }
  .carousel-arrow { width: 36px; height: 36px; top: 100px; }
  .carousel-arrow.prev { left: -8px; }
  .carousel-arrow.next { right: -8px; }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-soft);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.info-table tr:not(:last-child) td,
.info-table tr:not(:last-child) th { border-bottom: 1px solid var(--border); }
.info-table th, .info-table td {
  text-align: left;
  padding: 14px 18px;
  font-size: 0.94rem;
}
.info-table th {
  width: 120px;
  color: var(--ink-soft);
  font-weight: 600;
  background: #eef2f7;
}
.info-table td { color: var(--ink); font-weight: 500; }
.info-en {
  display: inline-block;
  margin-top: 3px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.org-chart {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: #fff;
  box-shadow: var(--shadow);
}
.org-chart h3 {
  margin: 0 0 18px;
  font-size: 1rem;
  color: var(--navy);
  font-weight: 700;
}
.org-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.org-node {
  padding: 10px 14px;
  border: 1.5px solid var(--blue);
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  background: rgba(31, 95, 191, 0.06);
  text-align: center;
}
.org-node.lead {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}
.org-node.sub {
  font-weight: 600;
  color: var(--ink-soft);
  border-color: var(--border);
  background: var(--bg-soft);
}

/* ---------- Business Areas ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.biz-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.biz-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.biz-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.biz-icon svg { width: 26px; height: 26px; }
.card-grid .biz-card:nth-child(4n+1) .biz-icon { background: rgba(31, 95, 191, 0.1); color: var(--blue); }
.card-grid .biz-card:nth-child(4n+2) .biz-icon { background: rgba(245, 184, 28, 0.16); color: #b9820a; }
.card-grid .biz-card:nth-child(4n+3) .biz-icon { background: rgba(224, 72, 62, 0.1); color: var(--red); }
.card-grid .biz-card:nth-child(4n+4) .biz-icon { background: rgba(23, 148, 110, 0.12); color: #17946e; }
.biz-card h3 { font-size: 1.12rem; font-weight: 800; color: var(--navy); margin: 0 0 10px; display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.biz-en { font-size: 0.72rem; font-weight: 700; color: var(--ink-soft); letter-spacing: 0.02em; }
.biz-card p { color: var(--ink-soft); font-size: 0.92rem; margin: 0 0 18px; }

.card-grid-7 { grid-template-columns: repeat(4, 1fr); }
.biz-card-sm { padding: 26px 24px; }
.biz-card-sm .biz-icon { width: 44px; height: 44px; margin-bottom: 16px; }
.biz-card-sm .biz-icon svg { width: 22px; height: 22px; }
.biz-card-sm h3 { font-size: 1rem; margin-bottom: 8px; }
.biz-card-sm p { font-size: 0.86rem; margin-bottom: 0; }
.biz-detail-list {
  margin: 12px 0 0 !important;
  padding-top: 12px !important;
  border-top: 1px dashed var(--border);
  display: grid;
  gap: 7px;
}
.biz-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.biz-detail-list li::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}
.biz-card ul { margin: 0; padding: 0; list-style: none; }
.biz-card li {
  font-size: 0.88rem;
  color: var(--ink);
  padding: 7px 0;
  border-top: 1px dashed var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.biz-card li:first-child { border-top: none; }
.biz-card li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  color: var(--blue);
  flex-shrink: 0;
}
.solution-banner {
  margin-top: 28px;
  padding: 18px 26px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}
.solution-banner span { color: var(--yellow); }

/* ---------- Core tech ---------- */
.tech-section { background: var(--bg-soft); }
.tech-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.tech-layout h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 16px;
}
.tech-layout p { color: var(--ink-soft); margin: 0 0 22px; }
.tech-points { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.tech-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
}
.tech-points li .num {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.defect-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.defect-tags span {
  padding: 7px 13px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.tech-visual {
  background: var(--navy);
  border-radius: 16px;
  padding: 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.tech-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 260px at 80% 0%, rgba(245, 184, 28, 0.22), transparent 60%);
}
.tech-visual-inner { position: relative; z-index: 1; }
.tech-visual .kicker {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.tech-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}
.tech-metric {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 16px;
}
.tech-metric strong { display: block; font-size: 1.3rem; font-weight: 800; margin-bottom: 2px; }
.tech-metric span { font-size: 0.78rem; color: rgba(255, 255, 255, 0.65); }

/* ---------- Certifications ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.cert-card {
  text-align: center;
  padding: 30px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.cert-card .cert-icon {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(31, 95, 191, 0.1);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.cert-card .cert-icon svg { width: 24px; height: 24px; }
.cert-card h4 { margin: 0 0 6px; font-size: 0.98rem; font-weight: 800; color: var(--navy); }
.cert-card p { margin: 0; font-size: 0.82rem; color: var(--ink-soft); }

.cert-gallery-head { margin: 48px 0 20px; text-align: center; }
.cert-gallery-head h3 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 800; color: var(--navy); }
.cert-gallery-head p { margin: 0; font-size: 0.84rem; color: var(--ink-soft); }

.cert-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}
.cert-thumb {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.cert-thumb:hover { box-shadow: 0 8px 20px rgba(11, 37, 69, 0.1); transform: translateY(-2px); }
.cert-thumb img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  background: var(--bg-soft);
  display: block;
}
.cert-thumb span {
  font-size: 0.76rem;
  line-height: 1.35;
  color: var(--ink-soft);
}

.cert-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(7, 26, 51, 0.92);
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.cert-lightbox.show { display: flex; }
.cert-lightbox figure { margin: 0; max-width: min(90vw, 780px); text-align: center; }
.cert-lightbox img { max-width: 100%; max-height: 80vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); }
.cert-lightbox figcaption { margin-top: 14px; color: #fff; font-size: 0.9rem; }
.cert-lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.cert-lightbox-close:hover { background: rgba(255, 255, 255, 0.18); }

/* ---------- History timeline ---------- */
.history-section { background: var(--navy-dark); color: #fff; }
.history-section .section-tag { color: var(--yellow); }
.history-section .section-title { color: #fff; }
.history-section .section-desc { color: rgba(255, 255, 255, 0.6); }

.timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding-left: 28px;
  border-left: 2px solid rgba(255, 255, 255, 0.14);
}
.timeline-item {
  position: relative;
  padding-bottom: 26px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 4px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid var(--navy-dark);
  box-shadow: 0 0 0 2px rgba(245, 184, 28, 0.35);
}
.timeline-item .t-date {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.timeline-item .t-text {
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
}
.timeline-item.highlight .t-text { color: #fff; font-weight: 700; }

/* ---------- Clients ---------- */
.client-tabs-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 26px;
}
.client-groups { display: grid; gap: 34px; }
.client-group h4 {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.client-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.client-chip {
  padding: 10px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}
.client-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.client-stat { text-align: center; }
.client-stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--navy); }
.client-stat span { font-size: 0.86rem; color: var(--ink-soft); }

/* ---------- Blog feed ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
a.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.blog-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  overflow: hidden;
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-thumb-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
}
.blog-thumb-fallback .logo-mark { width: 40px; height: 40px; }
.blog-thumb-fallback .logo-mark span:nth-child(1) { width: 22px; height: 22px; }
.blog-thumb-fallback .logo-mark span:nth-child(2) { width: 16px; height: 16px; top: 11px; left: 3px; }
.blog-thumb-fallback .logo-mark span:nth-child(3) { width: 22px; height: 22px; background: var(--yellow); }

.blog-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.blog-date { font-size: 0.78rem; font-weight: 700; color: var(--blue); letter-spacing: 0.03em; }
.blog-title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-excerpt {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-link { margin-top: 4px; font-size: 0.84rem; font-weight: 700; color: var(--blue); }
.blog-more { margin-top: 36px; text-align: center; }
.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink-soft);
  padding: 40px 0;
}

/* Loading skeleton */
.blog-card.is-loading { cursor: default; }
.blog-card.is-loading .blog-thumb { background: var(--border); position: relative; overflow: hidden; }
.blog-card.is-loading .blog-thumb::after,
.skel-line { position: relative; overflow: hidden; background: var(--border); border-radius: 5px; }
.skel-line { height: 12px; }
.skel-line.w-40 { width: 40%; height: 10px; }
.skel-line.w-90 { width: 90%; }
.skel-line.w-70 { width: 70%; }
.blog-card.is-loading .blog-thumb::after,
.skel-line::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ---------- Contact ---------- */
.contact-section { background: var(--bg-soft); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .c-icon {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: rgba(31, 95, 191, 0.1);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-list .c-icon svg { width: 18px; height: 18px; }
.contact-list .c-label { font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 2px; }
.contact-list .c-value { font-size: 0.98rem; font-weight: 700; color: var(--ink); }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--blue); transform: translateY(-2px); }
.btn-light { background: var(--bg-soft); color: var(--navy); border-color: var(--border); }
.btn-light:hover { background: #eef2f7; }

.map-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255, 255, 255, 0.7); padding: 52px 0 28px; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}
.site-footer .logo { color: #fff; }
.site-footer .logo small { color: rgba(255, 255, 255, 0.55); }
.footer-desc { max-width: 340px; font-size: 0.86rem; margin-top: 12px; color: rgba(255, 255, 255, 0.55); }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-links h5 {
  margin: 0 0 12px; font-size: 0.78rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.45);
}
.footer-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { font-size: 0.88rem; color: rgba(255, 255, 255, 0.75); }
.footer-links a:hover { color: #fff; }

/* ---------- Sitemap page ---------- */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}
.sitemap-col h3 {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.sitemap-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sitemap-col a { font-size: 0.92rem; color: var(--ink-soft); }
.sitemap-col a:hover { color: var(--blue); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.8rem; color: rgba(255, 255, 255, 0.4);
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about-grid, .tech-layout, .contact-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .client-stat-row { grid-template-columns: 1fr; gap: 24px; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  section { padding: 64px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .site-header.menu-open .nav-cta {
    display: inline-flex;
    margin: 6px 24px 20px;
  }
  /* 모바일에서는 호버가 없으므로 사업분야 하위 목록을 항상 펼쳐서 보여준다 */
  .nav-links .nav-dropdown {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 2px 0 6px 16px;
  }
  .nav-caret { display: none; }
  .nav-submenu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 2px 0 2px 16px;
  }
  .submenu-arrow { display: none; }
  .hero { padding: 132px 0 72px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .card-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .footer-links { gap: 32px; }
}

/* ===== 사업분야 상세 페이지 ===== */
.hero-sub { padding: 152px 0 64px; }
.hero-sub .hero-actions { margin-bottom: 0; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.85); font-weight: 600; }
.breadcrumb a:hover { color: #fff; }

.detail-feature-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.detail-feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
}
.detail-feature-list li strong { display: block; color: var(--navy); margin-bottom: 2px; }
.detail-feature-list li a.feature-link { display: block; text-decoration: none; }
.detail-feature-list li a.feature-link strong { color: var(--blue); transition: color 0.15s ease; }
.detail-feature-list li a.feature-link:hover strong { color: var(--navy); text-decoration: underline; }
.detail-feature-list .num {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

.chip-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.chip-link:hover { background: #eef2f7; border-color: var(--blue); color: var(--blue); }
.chip-link.is-current { background: var(--navy); border-color: var(--navy); color: #fff; }

.detail-crosslinks { margin-top: 8px; padding-top: 40px; border-top: 1px solid var(--border); }

.biz-more-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
}
.biz-more-link:hover { color: var(--navy); }

.detail-cta {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 56px 0;
}
.detail-cta h2 { margin: 0 0 12px; font-size: 1.5rem; font-weight: 800; }
.detail-cta p { margin: 0 0 26px; color: rgba(255, 255, 255, 0.72); }

@media (max-width: 760px) {
  .hero-sub { padding: 128px 0 48px; }
}

/* ===== 온라인몰 ===== */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.shop-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.shop-thumb { width: 100%; aspect-ratio: 4 / 3; background: var(--bg-soft); overflow: hidden; }
.shop-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.shop-date { font-size: 0.76rem; font-weight: 700; color: var(--blue); }
.shop-name { margin: 0; font-size: 1.02rem; font-weight: 800; color: var(--navy); }
.shop-model { font-size: 0.82rem; font-weight: 700; color: var(--ink-soft); }
.shop-specs {
  margin: 6px 0 0;
  font-size: 0.86rem;
  color: var(--ink);
  line-height: 1.6;
  white-space: pre-wrap;
}
.shop-empty { grid-column: 1 / -1; text-align: center; color: var(--ink-soft); padding: 40px 0; }
.shop-delete-btn { margin-top: 14px; align-self: flex-start; }

.shop-admin-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 24px;
  align-items: start;
}
.shop-field-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin: 14px 0 6px;
}
.shop-field-label:first-of-type { margin-top: 0; }
.shop-input,
.shop-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--ink);
}
.shop-textarea { resize: vertical; }
.shop-input-file { width: 100%; font-size: 0.86rem; }
.shop-preview { margin-top: 10px; max-width: 220px; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.shop-preview img { width: 100%; display: block; }

.shop-alert {
  margin: 14px 0 0;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  background: var(--bg-soft);
  color: var(--ink);
}
.shop-alert-error { background: rgba(224, 72, 62, 0.1); color: var(--red); }
.shop-alert-success { background: rgba(23, 148, 110, 0.12); color: #17946e; }

@media (max-width: 980px) {
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .shop-admin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .shop-grid { grid-template-columns: 1fr; }
}

/* ===== 사이트 콘텐츠 관리자 ===== */
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}
.admin-tab {
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.admin-tab:hover { border-color: var(--blue); color: var(--blue); }
.admin-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.admin-hint { color: var(--ink-soft); font-size: 0.88rem; margin: 0 0 20px; }

.admin-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 16px;
}
.admin-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 4px;
}
.admin-card-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-history-date { max-width: 130px; }
.admin-history-text { flex: 1; min-width: 200px; }
.admin-checkbox { display: flex; align-items: center; gap: 6px; font-size: 0.86rem; color: var(--ink-soft); white-space: nowrap; }
.admin-remove-btn { margin-top: 12px; }
.admin-card-row .admin-remove-btn { margin-top: 0; }

.admin-detail-editor {
  margin-top: 16px;
  padding: 16px 18px 4px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.admin-detail-editor summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.admin-detail-editor[open] summary { margin-bottom: 12px; }
.admin-detail-editor .admin-hint { margin: 0 0 14px; font-size: 0.82rem; }
.admin-detail-editor .shop-field-label { margin-top: 12px; }

.admin-form { max-width: 640px; }
.admin-save-row { margin-top: 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.admin-save-row .shop-alert { margin: 0; }

@media (max-width: 760px) {
  .admin-card-grid { grid-template-columns: 1fr 1fr; }
}
