/* =========================================================
   GUARD ONE 리뉴얼 시안 - 공통 스타일
   브랜드 컬러: 로고 블루(#3460C8) 기준
   ========================================================= */

:root {
  --blue: #3460c8;          /* 로고 메인 */
  --blue-700: #2849a3;
  --blue-50: #eef3fd;
  --navy: #0c1633;          /* 다크 섹션 */
  --navy-2: #13214a;
  --ink: #121826;           /* 본문 진한 글자 */
  --text: #4a5468;          /* 본문 */
  --muted: #7b8498;
  --line: #e3e7ef;
  --bg-soft: #f5f7fb;
  --green: #1fbf6a;         /* 주차 가능 신호 */
  --amber: #f5a524;         /* 주의 신호 */
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(15, 30, 70, .08);
  --container: 1240px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.3; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: #b8c2db; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.section--dark .eyebrow { color: #7fa2ff; }

.section-head { margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; margin-top: 14px; }
.section-head p { margin-top: 16px; font-size: 18px; max-width: 640px; }
.section-head--center { text-align: center; }
.section-head--center p { margin-left: auto; margin-right: auto; }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 16px; border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-700); }
.btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--line:hover { border-color: var(--blue); color: var(--blue); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- 헤더 ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(15,30,70,.05); }
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 40px; width: auto; }
.gnb { display: flex; gap: 6px; }
.gnb > li { position: relative; }
.gnb > li > a {
  display: block; padding: 10px 16px; border-radius: 999px;
  font-weight: 600; font-size: 16px; color: var(--ink);
  transition: background .2s, color .2s;
}
.gnb > li > a:hover, .gnb > li > a.is-active { color: var(--blue); background: var(--blue-50); }
.gnb .sub {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  min-width: 190px; padding: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s;
}
.gnb .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.gnb > li:hover .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.gnb .sub a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 15px; color: var(--text); }
.gnb .sub a:hover { background: var(--bg-soft); color: var(--blue); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-tel { font-weight: 700; color: var(--ink); font-size: 15px; display: flex; align-items: center; gap: 6px; }
.header-tel svg { width: 18px; height: 18px; color: var(--blue); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: transform .2s, opacity .2s; }

/* 모바일 메뉴 */
.mnav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: #fff;
  padding: 16px 24px 40px; overflow-y: auto;
  transform: translateX(100%); transition: transform .25s;
}
.mnav.is-open { transform: none; }
.mnav details { border-bottom: 1px solid var(--line); }
.mnav summary { list-style: none; padding: 18px 0; font-size: 18px; font-weight: 700; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.mnav details[open] summary::after { content: "−"; }
.mnav details a { display: block; padding: 8px 0 8px 4px; color: var(--text); }
.mnav details ul { padding-bottom: 14px; }
.mnav .btn { width: 100%; margin-top: 24px; }

/* ---------- 메인 히어로 ---------- */
.hero {
  position: relative; min-height: min(760px, calc(100vh - var(--header-h)));
  display: flex; align-items: center; color: #fff; overflow: hidden;
  background: var(--navy);
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,16,40,.96) 0%, rgba(8,16,40,.84) 45%, rgba(8,16,40,.2) 100%);
}
.hero .container { position: relative; padding-top: 80px; padding-bottom: 140px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
}
.signal { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(31,191,106,.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(31,191,106,0); } }
.hero h1 { color: #fff; font-size: clamp(36px, 5.4vw, 66px); font-weight: 800; margin-top: 26px; letter-spacing: -0.035em; line-height: 1.18; }
.hero h1 em { font-style: normal; color: #8db0ff; }
.hero p { margin-top: 22px; font-size: clamp(16px, 1.6vw, 20px); color: #c9d3ea; max-width: 560px; }
.hero__actions { margin-top: 38px; display: flex; gap: 12px; flex-wrap: wrap; }

.stats {
  position: relative; z-index: 2; margin-top: -76px;
}
.stats ul {
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line);
}
.stats li { padding: 30px 26px; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; }
.stats strong { display: block; font-size: 34px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.stats strong small { font-size: 18px; color: var(--blue); margin-left: 2px; }
.stats span { font-size: 15px; color: var(--muted); }

/* ---------- 솔루션 카드 ---------- */
.solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sol-card {
  position: relative; padding: 40px 34px 34px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.sol-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-4px); }
.sol-card__icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue);
}
.sol-card__icon svg { width: 30px; height: 30px; }
.sol-card h3 { font-size: 23px; font-weight: 800; margin-top: 26px; }
.sol-card p { margin-top: 12px; }
.sol-card ul { margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--line); display: grid; gap: 8px; }
.sol-card li { display: flex; gap: 10px; font-size: 15px; color: var(--ink); }
.sol-card li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 10px; border-radius: 50%; background: var(--blue); }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 26px; font-weight: 700; color: var(--blue); }
.more svg { width: 16px; height: 16px; transition: transform .2s; }
.more:hover svg { transform: translateX(3px); }

/* ---------- 프로세스(입차~출차) ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; list-style: none; margin: 0; padding: 0; }
.flow::before {
  content: ""; position: absolute; top: 36px; left: 10%; right: 10%; height: 2px;
  background: repeating-linear-gradient(90deg, #f5c542 0 18px, transparent 18px 30px);
  opacity: .55;
}
.flow li { position: relative; text-align: center; padding: 0 12px; }
.flow__dot {
  position: relative; width: 72px; height: 72px; margin: 0 auto; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy-2); border: 1px solid rgba(255,255,255,.14); color: #8db0ff;
}
.flow__dot svg { width: 30px; height: 30px; }
.flow li:last-child .flow__dot { background: var(--blue); color: #fff; border-color: var(--blue); }
.flow__no { display: block; margin-top: 22px; font-size: 13px; font-weight: 700; color: #7fa2ff; letter-spacing: .1em; }
.flow h3 { font-size: 20px; margin-top: 6px; }
.flow p { margin-top: 10px; font-size: 15px; }

/* ---------- 제품 카드 ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.p-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.p-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.p-card__img { aspect-ratio: 1 / 1; background: linear-gradient(180deg, #f7f9fc, #eef2f8); display: grid; place-items: center; padding: 22px; }
.p-card__img { overflow: hidden; }
.p-card__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s; }
.p-card:hover .p-card__img img { transform: scale(1.04); }
.p-card__body { padding: 22px 24px 26px; border-top: 1px solid var(--line); }
.p-card__cat { font-size: 13px; font-weight: 700; color: var(--blue); }
.p-card h3 { font-size: 19px; margin-top: 6px; }
.p-card p { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* ---------- 설치사례 ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.case-card__img { aspect-ratio: 538 / 364; overflow: hidden; }
.case-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.case-card:hover .case-card__img img { transform: scale(1.05); }
.case-card__body { padding: 22px 24px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: 13px; font-weight: 700; background: var(--blue-50); color: var(--blue); }
.tag--green { background: #e7f8ef; color: #12884a; }
.tag--amber { background: #fdf3e0; color: #b9740a; }
.case-card h3 { font-size: 19px; margin-top: 12px; }
.case-card p { margin-top: 4px; font-size: 15px; color: var(--muted); }

/* ---------- 인증 ---------- */
.trust { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center; }
.trust__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 32px; }
.trust__list li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #fff; border-radius: 10px; border: 1px solid var(--line); font-weight: 600; color: var(--ink); font-size: 15px; }
.trust__list svg { flex: none; width: 22px; height: 22px; color: var(--blue); }
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* 문서 카드 (인증서·특허증) - 모두 같은 A4 비율 칸에 맞춰 정렬 */
.doc { display: flex; flex-direction: column; width: 100%; padding: 0; border: 0; background: none; font: inherit; text-align: left; cursor: zoom-in; }
.doc__img {
  display: block; aspect-ratio: 1 / 1.414; padding: 10px; border-radius: 10px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(15,30,70,.06);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.doc__img img { width: 100%; height: 100%; object-fit: contain; }
.doc:hover .doc__img { transform: translateY(-3px); border-color: var(--blue); box-shadow: var(--shadow); }
.doc__label { display: block; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.doc__cat { display: block; font-size: 12px; font-weight: 700; color: var(--blue); margin-top: 10px; }
.doc__cat + .doc__label { margin-top: 2px; }

/* 특허·인증 갤러리 (회사소개) */
.doc-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.doc-filter button { cursor: pointer; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 15px; font-weight: 600; color: var(--muted); transition: all .2s; }
.doc-filter button span { margin-left: 4px; font-size: 13px; opacity: .7; }
.doc-filter button:hover { color: var(--ink); border-color: var(--ink); }
.doc-filter button.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.doc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px 20px; }
.doc-grid li[hidden] { display: none; }

/* 크게 보기 */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 48px 24px 24px; background: rgba(8,14,32,.88); }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(860px, 100%); max-height: 100%; width: auto; border-radius: 6px; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.lightbox__close { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.lightbox__caption { position: absolute; top: 22px; left: 24px; color: #fff; font-weight: 600; }

/* ---------- 상담 배너 ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 22px; padding: 64px; background: linear-gradient(120deg, var(--blue) 0%, #2443a0 100%); color: #dfe7ff; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255,255,255,.06); }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.cta-band p { margin-top: 10px; font-size: 17px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band .btn--white { background: #fff; color: var(--blue); }
.cta-band .tel { font-size: 30px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }

/* ---------- 푸터 ---------- */
.footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 14px; color: var(--muted); }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer__brand img { height: 36px; width: auto; }
.footer__brand p { margin-top: 16px; max-width: 360px; }
.footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer__cols h4 { font-size: 15px; margin-bottom: 14px; }
.footer__cols li + li { margin-top: 6px; }
.footer__cols a:hover { color: var(--blue); }
.footer__info { padding-top: 28px; display: grid; gap: 4px; }
.footer__info b { color: var(--text); font-weight: 600; }
.footer__bottom { margin-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer__bottom a { font-weight: 700; color: var(--ink); }

/* 플로팅 문의 */
.float-cta {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border-radius: 999px;
  background: var(--navy); color: #fff; font-weight: 700; box-shadow: 0 12px 30px rgba(12,22,51,.3);
}
.float-cta svg { width: 22px; height: 22px; color: #8db0ff; }

/* =========================================================
   서브 페이지
   ========================================================= */
.sub-hero { position: relative; padding: 92px 0 76px; background: var(--navy); color: #c9d3ea; overflow: hidden; }
.sub-hero__bg { position: absolute; inset: 0; }
.sub-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.sub-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,22,51,.95) 20%, rgba(12,22,51,.5)); }
.sub-hero .container { position: relative; }
.crumb { display: flex; gap: 8px; font-size: 14px; color: #8f9bbb; }
.crumb span::before { content: "/"; margin-right: 8px; opacity: .5; }
.sub-hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; margin-top: 16px; }
.sub-hero p { margin-top: 14px; font-size: 18px; max-width: 620px; }

.subnav { position: sticky; top: var(--header-h); z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 18px 18px 16px; white-space: nowrap; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.subnav a:hover { color: var(--ink); }
.subnav a.is-active { color: var(--blue); border-bottom-color: var(--blue); }

/* ---------- 제품 상세 ---------- */
.cat-intro { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: end; margin-bottom: 56px; }
.cat-intro h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; margin-top: 14px; }
.cat-intro p { font-size: 17px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); }
.chip svg { width: 16px; height: 16px; color: var(--blue); }

.model-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.model-tab { cursor: pointer; padding: 12px 20px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 700; color: var(--muted); text-align: left; transition: all .2s; }
.model-tab small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); opacity: .8; }
.model-tab:hover { border-color: var(--blue); color: var(--ink); }
.model-tab.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.model-tab.is-active small { color: #8db0ff; opacity: 1; }

.model { display: none; grid-template-columns: 1fr 1.15fr; gap: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.model.is-active { display: grid; }
/* 제품 이미지는 상자 위쪽에서 같은 간격으로 시작 (모델마다 같은 위치) */
.model__visual { position: relative; background: radial-gradient(circle at 50% 30%, #fff 0%, #eef2f8 70%); display: grid; place-items: start center; align-content: start; padding: 72px 48px 48px; min-height: 520px; }
.model__visual img { max-height: 460px; width: auto; mix-blend-mode: multiply; }
.model__badge { position: absolute; left: 24px; top: 24px; }
.model__info { padding: 48px; border-left: 1px solid var(--line); }
.model__code { font-size: 14px; font-weight: 700; color: var(--blue); letter-spacing: .04em; }
.model__info h3 { font-size: 30px; font-weight: 800; margin-top: 6px; }
.model__info > p { margin-top: 12px; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.features li { display: flex; gap: 12px; padding: 16px; border-radius: 12px; background: var(--bg-soft); font-size: 15px; color: var(--ink); font-weight: 500; line-height: 1.5; }
.features svg { flex: none; width: 22px; height: 22px; color: var(--blue); }
.spec-title { margin-top: 36px; font-size: 17px; font-weight: 800; }
.spec { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec th { width: 32%; color: var(--muted); font-weight: 600; padding-right: 16px; }
.spec td { color: var(--ink); }
.model__actions { display: flex; gap: 10px; margin-top: 32px; flex-wrap: wrap; }

.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare th, .compare td { padding: 16px 20px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
.compare thead th { background: var(--navy); color: #fff; font-weight: 700; }
.compare tbody th { text-align: left; color: var(--muted); font-weight: 600; background: var(--bg-soft); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.yes { color: var(--blue); font-weight: 800; }
.no { color: #c3c9d6; }

.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- 회사소개 ---------- */
.greeting { display: grid; grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: start; }
.greeting__quote { font-size: clamp(26px, 3vw, 38px); font-weight: 800; color: var(--ink); line-height: 1.35; letter-spacing: -0.03em; margin-top: 14px; }
.greeting__quote em { font-style: normal; color: var(--blue); }
.greeting__img { margin-top: 36px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.greeting__img img { width: 100%; height: 100%; object-fit: cover; }
.greeting__body p + p { margin-top: 18px; }
.greeting__body { font-size: 17px; }
.sign { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.sign b { font-size: 22px; margin-left: 8px; letter-spacing: .1em; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { padding: 40px 34px; border-radius: var(--radius); background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); }
.value__no { font-size: 14px; font-weight: 800; color: #7fa2ff; letter-spacing: .12em; }
.value h3 { font-size: 24px; margin-top: 18px; }
.value h3 small { display: block; font-size: 14px; font-weight: 600; color: #8f9bbb; margin-top: 4px; letter-spacing: 0; }
.value p { margin-top: 16px; font-size: 15px; }

.overview { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--ink); }
.overview div { display: flex; gap: 20px; padding: 20px 8px; border-bottom: 1px solid var(--line); }
.overview dt { flex: none; width: 140px; font-weight: 700; color: var(--ink); }
.overview dd { margin: 0; }

.history { display: grid; grid-template-columns: 280px 1fr; gap: 56px; }
.history__aside { position: sticky; top: calc(var(--header-h) + 90px); align-self: start; }
.history__aside .big { font-size: 64px; font-weight: 800; color: var(--blue); letter-spacing: -0.04em; line-height: 1; margin-top: 18px; }
.history__aside p { margin-top: 12px; }
.timeline { border-left: 2px solid var(--line); }
.year { position: relative; padding: 0 0 40px 40px; }
.year::before { content: ""; position: absolute; left: -9px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.year h3 { font-size: 28px; font-weight: 800; color: var(--blue); }
.year ul { margin-top: 12px; display: grid; gap: 8px; }
.year li { display: flex; gap: 16px; color: var(--ink); }
.year li b { flex: none; width: 28px; color: var(--muted); font-weight: 600; }
.timeline__more { padding-left: 40px; }

.map-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.place { padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.place .tag { margin-bottom: 16px; }
.place h3 { font-size: 19px; }
.place p { margin-top: 8px; font-size: 15px; }
.place a { display: inline-flex; margin-top: 18px; font-weight: 700; color: var(--blue); font-size: 15px; }

/* =========================================================
   반응형
   ========================================================= */
@media (max-width: 1100px) {
  .gnb, .header-tel { display: none; }
  .menu-btn { display: block; }
  .products, .related { grid-template-columns: repeat(2, 1fr); }
  .doc-grid { grid-template-columns: repeat(4, 1fr); }
  /* 숫자 칸 5개: 3칸 + 2칸 */
  .stats ul { grid-template-columns: repeat(6, 1fr); }
  .stats li { grid-column: span 2; }
  .stats li:nth-child(n+4) { grid-column: span 3; border-top: 1px solid var(--line); }
  .stats li:nth-child(4) { border-left: 0; }
  .trust, .greeting, .cat-intro { grid-template-columns: 1fr; gap: 40px; }
  .model.is-active { grid-template-columns: 1fr; }
  .model__info { border-left: 0; border-top: 1px solid var(--line); }
  .history { grid-template-columns: 1fr; gap: 32px; }
  .history__aside { position: static; }
}
@media (max-width: 860px) {
  .section { padding: 80px 0; }
  .solutions, .cases, .values, .map-wrap { grid-template-columns: 1fr; }
  /* 숫자 칸 5개: 2칸씩, 마지막 칸은 한 줄 전체 */
  .stats ul { grid-template-columns: repeat(2, 1fr); }
  .stats li, .stats li:nth-child(n+4) { grid-column: auto; border-top: 0; }
  .stats li:nth-child(even) { border-left: 1px solid var(--line); }
  .stats li:nth-child(odd) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .flow { grid-template-columns: 1fr; gap: 28px; }
  .flow::before { top: 0; bottom: 0; left: 35px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #f5c542 0 18px, transparent 18px 30px); }
  .flow li { display: grid; grid-template-columns: 72px 1fr; gap: 0 20px; text-align: left; padding: 0; }
  .flow__dot { grid-row: span 3; margin: 0; }
  .flow__no { margin-top: 4px; }
  .overview { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-band { padding: 44px 28px; }
  .header-cta .btn { display: none; }
}
@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .container { padding: 0 16px; }
  .logo img { height: 38px; }
  .hero .container { padding-top: 56px; padding-bottom: 120px; }
  .hero__actions .btn { flex: 1; }
  .stats li { padding: 20px; }
  .stats strong { font-size: 26px; }
  .products, .related { grid-template-columns: 1fr 1fr; gap: 12px; }
  .p-card__body { padding: 16px; }
  .p-card h3 { font-size: 16px; }
  .p-card p { display: none; }
  .trust__list, .features { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .certs { gap: 10px; }
  .doc__label { font-size: 13px; }
  .model__visual { min-height: 360px; padding: 64px 32px 32px; }
  .model__visual img { max-height: 300px; }
  .model__info { padding: 28px 20px; }
  .overview dt { width: 96px; }
  .float-cta span { display: none; }
  .float-cta { padding: 0; width: 56px; justify-content: center; right: 16px; bottom: 16px; }
}

/* =========================================================
   전체 사이트 확장 (사업분야 · 배치유형 · 설치사례 · 고객지원)
   ========================================================= */
.section--tight { padding-top: 0; }
.model__sub { margin-top: 4px; color: var(--muted); font-size: 15px; }

/* 사업분야 구성 장비 */
.comp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.comp { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s, border-color .2s; }
.comp:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-3px); }
.comp__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; display: grid; place-items: center; background: linear-gradient(180deg, #f7f9fc, #eef2f8); }
.comp__img img { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); object-fit: contain; mix-blend-mode: multiply; }
.comp__icon { color: var(--blue); } .comp__icon svg { width: 48px; height: 48px; }
.comp__body { padding: 20px 22px 24px; border-top: 1px solid var(--line); }
.comp__body h3 { font-size: 18px; margin-top: 4px; }
.comp__body p { margin-top: 8px; font-size: 14px; }

.flow__dot { font-size: 18px; font-weight: 800; color: #8db0ff; }
.flow--4 { grid-template-columns: repeat(4, 1fr); }

.link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.link-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px; border-radius: 12px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.link-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.link-card h3 { font-size: 17px; }
.link-card p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.link-card svg { flex: none; width: 20px; height: 20px; color: var(--blue); }

/* 현장배치유형 */
.system { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.system__photo { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.system__photo img { width: 100%; height: auto; }
.system__info h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; margin-top: 14px; }
.system__lead { margin-top: 16px; font-size: 18px; color: var(--ink); }
.system__info > p + p { margin-top: 8px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 32px 0 0; }
.fact { padding: 20px; border-radius: 12px; background: var(--bg-soft); }
.fact--wide { grid-column: 1 / -1; }
.fact dt { font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: .04em; }
.fact dd { margin: 8px 0 0; color: var(--ink); }
.fact__big { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.fact .tag { margin: 2px 2px 0 0; }
.equip { display: flex; flex-wrap: wrap; gap: 8px; }
.equip li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 15px; }
.equip a:hover { color: var(--blue); }
.equip b { color: var(--blue); font-weight: 800; }

/* MAS 표 */
.compare.mas td, .compare.mas th { white-space: normal; }
.compare.mas td.l { text-align: left; }
.compare.mas td.num { font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }

/* 설치사례 목록 */
.cases--list { gap: 24px; }
.case-card[hidden] { display: none; }
.search input { height: 48px; width: 280px; max-width: 100%; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: 15px; }
.search input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.more-wrap { margin-top: 40px; text-align: center; }
.more-wrap[hidden] { display: none; }
.cases__empty { padding: 60px 0; text-align: center; color: var(--muted); }

/* 공지사항 */
.posts { border-top: 2px solid var(--ink); }
.post { border-bottom: 1px solid var(--line); }
.post summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 20px; padding: 22px 8px; }
.post summary::-webkit-details-marker { display: none; }
.post__no { flex: none; width: 40px; color: var(--muted); font-size: 14px; text-align: center; }
.post__title { flex: 1; font-weight: 700; color: var(--ink); font-size: 17px; }
.post time { flex: none; color: var(--muted); font-size: 14px; }
.post[open] summary .post__title { color: var(--blue); }
.post__body { padding: 8px 8px 40px 68px; display: grid; gap: 16px; justify-items: start; }
.post__body img { max-width: min(800px, 100%); border-radius: 8px; border: 1px solid var(--line); }

/* 자료실 */
.files { display: grid; gap: 12px; }
.file { display: flex; align-items: center; gap: 20px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; }
.file > div { flex: 1; }
.file h3 { font-size: 17px; }
.file p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.file__icon { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.file__icon svg { width: 26px; height: 26px; }

/* FAQ */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; gap: 16px; align-items: center; padding: 22px 8px; font-weight: 700; color: var(--ink); font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary b, .faq__a b { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; }
.faq summary b { background: var(--navy); color: #fff; }
.faq__a { display: flex; gap: 16px; padding: 0 8px 26px; }
.faq__a b { background: var(--blue-50); color: var(--blue); }
.faq__a p { padding-top: 4px; }
.faq a, .prose a, .agree a { color: var(--blue); font-weight: 600; }

/* 문의 양식 */
.contact-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.form { display: grid; gap: 18px; padding: 40px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 14px; font-weight: 700; color: var(--ink); }
.field i, .check i { color: #e5484d; font-style: normal; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: transparent; }
.field .is-invalid { border-color: #e5484d; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.agree { padding: 18px 20px; border-radius: 12px; background: var(--bg-soft); }
.agree summary { cursor: pointer; font-size: 14px; color: var(--muted); }
.agree details p { margin-top: 10px; font-size: 14px; }
.check { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-weight: 600; color: var(--ink); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--blue); }
.form__msg { padding: 14px 18px; border-radius: 10px; font-weight: 600; background: #fdecec; color: #b42318; }
.form__msg.is-ok { background: #e7f8ef; color: #12884a; }
.form__submit { justify-self: start; min-width: 200px; }
.form__submit[disabled] { opacity: .6; pointer-events: none; }
.contact { position: sticky; top: calc(var(--header-h) + 80px); padding: 32px; border-radius: 20px; background: var(--navy); color: #b8c2db; }
.contact h3 { color: #fff; font-size: 18px; }
.contact__tel { display: block; margin-top: 10px; font-size: 32px; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.contact p { margin-top: 6px; font-size: 14px; }
.contact dl { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 10px; font-size: 15px; }
.contact dl div { display: flex; justify-content: space-between; gap: 12px; }
.contact dd { margin: 0; color: #fff; }

/* 개인정보처리방침 */
.prose { max-width: 860px; }
.prose h2 { font-size: 20px; margin: 40px 0 12px; }
.prose p + p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-top: 8px; }
.prose__date { margin-top: 48px !important; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }

@media (max-width: 1100px) {
  .comp-grid { grid-template-columns: repeat(2, 1fr); }
  .system { grid-template-columns: 1fr; gap: 32px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact { position: static; }
  .link-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .flow--4 { grid-template-columns: 1fr; }
  .link-grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .form { padding: 24px 20px; }
  .post__body { padding-left: 8px; }
}
@media (max-width: 560px) {
  .comp-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .comp__body { padding: 14px; }
  .comp__body p { display: none; }
  .facts { grid-template-columns: 1fr; }
  .post summary { gap: 12px; flex-wrap: wrap; }
  .post__no { display: none; }
  .post time { width: 100%; }
  .file { flex-wrap: wrap; }
  .search, .search input { width: 100%; }
  .form__submit { width: 100%; }
}

/* 관리자 게시물 (DB) */
.post__no .tag { font-size: 12px; padding: 3px 8px; }
.post__body > * { max-width: 100%; }
.post__body p { margin: 0; }
.post__file a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; color: var(--blue); }
.post__file svg { width: 18px; height: 18px; }
.faq__text { padding-top: 4px; }
.faq__text img { max-width: 100%; height: auto; }

/* 메인 팝업 레이어 */
.popups { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.popup { position: absolute; left: var(--x); top: var(--y); width: var(--w); max-width: calc(100vw - 32px); pointer-events: auto; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 60px rgba(8,14,32,.35); }
.popup__body img { width: 100%; height: auto; }
.popup__text { padding: 16px 18px; font-size: 15px; }
.popup__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; background: var(--navy); color: #c9d3ea; font-size: 14px; }
.popup__foot label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.popup__foot button { border: 0; background: none; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
@media (max-width: 560px) {
  .popup { left: 16px !important; right: 16px; top: 80px !important; width: auto; }
  .popup + .popup { top: 100px !important; }
}

/* 실시간 문의 창(미래톡): 화면 크기와 상관없이 항상 오른쪽 끝, 세로 가운데에 고정
   - 업체 스크립트가 넣는 위치값(left/top)보다 우선하도록 !important 사용
   - 업체가 화면 크기에 맞춰 넣는 축소(transform: scale)는 그대로 두고, 오른쪽을 기준으로 축소되게 함 */
#mi-sms-iframe-box {
  left: auto !important;
  right: 0 !important;
  top: 50% !important;
  bottom: auto !important;
  translate: 0 -50% !important;
  transform-origin: 100% 50% !important;
}

/* 무효클릭 감시 표시(미래로그): 원래 위치(화면 맨 위 오른쪽)에서 크기만 절반으로
   - 업체 스크립트가 넣는 위치값(left/top)보다 우선하도록 !important 사용
   - 상단 메뉴 줄보다 위에 보이도록 표시 순서를 메뉴보다 높게 둠 */
#mirae_defender_layer {
  left: auto !important;
  right: 12px !important;
  top: 0 !important;
  width: 75px !important;
  height: 22px !important;
  z-index: 60 !important;
}
#mi_defender_img1 {
  left: 0 !important;
  top: 0 !important;
  width: 75px !important;
  height: 22px !important;
  z-index: 60 !important;
}
#mi_defender_img1 img {
  width: 75px !important;
  height: auto !important;
}

/* =========================================================
   메인 첫 화면 - 장비 선화형 (남색 배경 + 격자 + 주차관제 장비 선 그림)
   ========================================================= */
.hero--art {
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(141,176,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(141,176,255,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center top;
}
.hero--art .container { position: relative; z-index: 1; }
/* 그림은 화면 가운데(글 영역 바로 뒤)에서 시작하고, 레일 · 차단봉 · 바닥선은 오른쪽 끝까지 이어짐 */
.hero__art { position: absolute; top: 28px; bottom: 64px; left: calc(50% - 30px); right: 0; pointer-events: none; }
.hero__art svg { width: 100%; height: 100%; overflow: visible; }
.hero__art .ln { fill: none; stroke: rgba(141,176,255,.42); stroke-width: 1.4; }
.hero__art .ac { fill: rgba(52,96,200,.55); }
.hero__art .arm { fill: none; stroke: rgba(141,176,255,.55); stroke-width: 10; }
.hero__art .led-g { fill: var(--green); }
.hero__art .led-r { fill: #e5484d; }
.hero__art .glow-g { fill: rgba(31,191,106,.16); }
.hero__art .glow-r { fill: rgba(229,72,77,.18); }
.hero__art .lane { fill: none; stroke: rgba(141,176,255,.35); stroke-width: 1.4; stroke-dasharray: 10 12; }
.hero__art .board { fill: rgba(31,191,106,.75); font: 600 20px/1 ui-monospace, Consolas, "D2Coding", monospace; letter-spacing: .06em; }
.hero__art .g1 { fill: rgba(141,176,255,.6); font: 700 9px/1 "Pretendard", sans-serif; }
.hero__art .callout path { fill: none; stroke: rgba(169,182,214,.55); stroke-width: 1; }
.hero__art .callout circle { fill: #c9d3ea; }
.hero__art .callout text { fill: #b4c0dc; font: 600 12px/1 "Pretendard", "Malgun Gothic", sans-serif; letter-spacing: 0; }

@media (max-width: 1100px) {
  .hero__art { left: 30%; opacity: .45; }
}
@media (max-width: 560px) {
  .hero__art { top: auto; bottom: 90px; height: 320px; left: 8%; opacity: .3; }
  .hero__art .callout { display: none; }
}

/* MAS 조달등록상품 표: 제품사진 열 + 분류 버튼 */
.mas-filter { margin-top: -16px; }
.compare.mas tbody td { vertical-align: middle; }
.compare.mas .mas__no { width: 64px; color: var(--muted); }
.compare.mas .mas__img { width: 120px; padding: 10px 16px; }
.compare.mas .mas__img img { width: 88px; height: 88px; margin: 0 auto; object-fit: contain; border-radius: 8px; mix-blend-mode: multiply; }
.compare.mas .mas__cat { color: var(--text); white-space: nowrap; }
.compare.mas td.l b { display: block; color: var(--ink); font-weight: 700; }
.compare.mas td.l span { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; }
.compare.mas tbody tr[hidden] { display: none; }
.compare.mas tbody tr:hover { background: var(--bg-soft); }

@media (max-width: 860px) {
  /* 휴대폰 · 태블릿: 표 대신 카드 목록 */
  .compare-wrap:has(.compare.mas) { border: 0; overflow: visible; }
  .compare.mas, .compare.mas tbody { display: block; background: none; }
  .compare.mas thead { display: none; }
  .compare.mas tbody { display: grid; gap: 12px; }
  .compare.mas tbody tr { display: grid; grid-template-columns: 88px 1fr; grid-template-rows: auto auto auto; column-gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
  .compare.mas tbody tr > * { border: 0; padding: 0; text-align: left; white-space: normal; }
  .compare.mas .mas__img { grid-row: 1 / 4; width: auto; padding: 0; }
  .compare.mas .mas__img img { width: 88px; height: 88px; }
  .compare.mas .mas__no { display: none; }
  .compare.mas .mas__cat { font-size: 13px; }
  .compare.mas td.num { font-size: 14px; order: 3; }
  .compare.mas td.l b { font-size: 16px; }
}

/* =========================================================
   iPhone(Safari) 대응: 인증서 · 제품 썸네일이 원본 크기로 늘어나던 문제
   - 썸네일 상자 안의 이미지를 절대 위치로 고정 (높이 % 계산에 의존하지 않음)
   - 격자 칸을 minmax(0, 1fr)로 바꿔, 큰 이미지가 칸 너비를 밀어내지 않게 함
   ========================================================= */
.doc { display: block; min-width: 0; }
.doc__img { position: relative; overflow: hidden; }
.doc__img img { position: absolute; top: 10px; left: 10px; width: calc(100% - 20px); height: calc(100% - 20px); }
@supports not (aspect-ratio: 1 / 1) {
  .doc__img::before { content: ""; display: block; padding-top: 141.4%; }
}
.p-card__img { position: relative; }
.p-card__img img { position: absolute; top: 22px; left: 22px; width: calc(100% - 44px); height: calc(100% - 44px); }
@supports not (aspect-ratio: 1 / 1) {
  .p-card__img::before { content: ""; display: block; padding-top: 100%; }
}
.trust > *, .certs > *, .doc-grid > *, .trust__list > * { min-width: 0; }
.trust { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.certs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.doc-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1100px) {
  .trust { grid-template-columns: minmax(0, 1fr); }
  .doc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .doc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .trust__list { grid-template-columns: minmax(0, 1fr); }
  .doc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-card__img img { top: 14px; left: 14px; width: calc(100% - 28px); height: calc(100% - 28px); }
}
.case-card__img, .greeting__img { position: relative; }
.case-card__img img, .greeting__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
@supports not (aspect-ratio: 1 / 1) {
  .case-card__img::before { content: ""; display: block; padding-top: 67.66%; }
  .greeting__img::before { content: ""; display: block; padding-top: 75%; }
}
.cases > *, .products > *, .related > *, .comp-grid > * { min-width: 0; }
