@font-face { font-family: Jost; src: url("assets/jost-latin.woff2") format("woff2"); font-style: normal; font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Noto Sans KR"; src: url("assets/noto-sans-kr-vf.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }

:root {
  --navy: #1b3a5c;
  --navy-deep: #102b49;
  --blue: #0062be;
  --sky: #0080d8;
  --gold: #fcb318;
  --mist: #f6f7f9;
  --ice: #edf4f9;
  --slate: #5b6b82;
  --line: #dce3eb;
  color-scheme: only light;
  font-family: "Noto Sans KR", sans-serif;
  color: var(--navy);
  background: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--navy); }
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
section { scroll-margin-top: 24px; }
h1, h2, h3, p { overflow-wrap: break-word; word-break: keep-all; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 20; top: -60px; left: 20px; padding: 10px 14px; background: var(--navy); color: #fff; }
.skip-link:focus { top: 12px; }

/* 검토용 띠: 배포 전 삭제 */
.review-bar { background: var(--navy-deep); color: #d7e2ee; font-size: .82rem; }
.review-bar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; min-height: 42px; padding-block: 6px; }
.review-bar strong { color: var(--gold); }
.review-bar nav { display: flex; gap: 8px; }
.review-bar a { padding: 4px 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 3px; color: #fff; text-decoration: none; font-weight: 700; }
.review-bar a[aria-current="page"] { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* 머리글 */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.logo-crop { position: relative; display: block; aspect-ratio: 506/324; overflow: hidden; background: #fff; line-height: 0; }
.logo-crop img { position: absolute; top: -83.95%; left: -116.8%; display: block; width: 336.2%; height: auto; max-width: none; }
.brand.logo-crop { width: 128px; flex: 0 0 auto; }
.main-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 30px; }
.main-nav a { font-size: .9rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.main-nav a:hover { color: var(--blue); }

/* 공통 */
.section { padding-block: 104px; }
.kicker { margin: 0 0 14px; color: var(--blue); font-size: .86rem; font-weight: 800; letter-spacing: .02em; }
.kicker::before { content: ""; display: inline-block; width: 22px; height: 3px; margin-right: 10px; vertical-align: middle; background: var(--gold); }
h1 { margin: 0; text-wrap: balance; font-size: clamp(1.9rem, 3.7vw, 3.05rem); line-height: 1.25; letter-spacing: -.06em; }
h1 em { color: var(--blue); font-style: normal; }
h2 { margin: 0; font-size: clamp(1.75rem, 3.2vw, 2.7rem); line-height: 1.32; letter-spacing: -.055em; }
h3 { margin: 0; letter-spacing: -.03em; }
.section-heading { max-width: 760px; margin-bottom: 40px; }
.section-heading > p:last-child { margin: 16px 0 0; color: var(--slate); font-size: 1.02rem; line-height: 1.85; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 50px; padding: 0 22px; border-radius: 5px; font-size: .95rem; font-weight: 800; text-decoration: none; }
.button-primary { background: var(--gold); color: var(--navy); box-shadow: 0 8px 20px rgba(252,179,24,.18); }
.button-primary:hover { background: #f8a808; }
.button-text { padding: 0; color: var(--blue); }
.button-text:hover { text-decoration: underline; text-underline-offset: 5px; }

/* 1. 첫 화면 */
.hero { background: linear-gradient(180deg, #fff 0%, #fff calc(100% - 36px), var(--mist) calc(100% - 36px)); }
.hero-inner { display: grid; grid-template-columns: 1.12fr .88fr; gap: 56px; align-items: center; padding-block: 76px 64px; }
.hero-eyebrow { margin: 0 0 22px; color: var(--blue); font-size: .9rem; font-weight: 800; }
.hero-intro { max-width: 540px; margin: 24px 0 0; color: var(--slate); font-size: 1.08rem; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 32px; }
.hero-media { position: relative; }
.hero-media img { display: block; width: 100%; height: 420px; object-fit: cover; border-radius: 8px; }
.hero-media::before { content: ""; position: absolute; top: -14px; right: -14px; width: 44%; height: 42%; border: 4px solid var(--gold); border-left: 0; border-bottom: 0; pointer-events: none; }
.service-ribbon { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 4px solid var(--blue); border-radius: 6px 6px 0 0; background: var(--navy); color: #fff; }
.service-ribbon a { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 0 26px; border-right: 1px solid rgba(255,255,255,.16); text-decoration: none; font-weight: 700; }
.service-ribbon a:last-child { border-right: 0; }
.service-ribbon span { color: var(--gold); font-family: Jost, sans-serif; font-size: .85rem; }
.service-ribbon a:hover { background: rgba(255,255,255,.06); }

/* 2. 두 질문 (A안) */
.doubts-section { background: var(--mist); padding-top: 72px; }
.doubt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.doubt-card { padding: 34px 34px 36px; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 7px; background: #fff; }
.doubt-card:nth-child(2) { border-top-color: var(--gold); }
.doubt-card .q { display: flex; gap: 14px; align-items: baseline; margin: 0 0 18px; font-size: 1.3rem; font-weight: 800; line-height: 1.45; letter-spacing: -.035em; }
.doubt-card .q b { flex: 0 0 auto; color: var(--blue); font-family: Jost, sans-serif; }
.doubt-card p { margin: 0 0 12px; color: var(--slate); line-height: 1.85; }
.doubt-card p:last-child { margin-bottom: 0; }
.doubt-card strong { color: var(--navy); }

/* 3. 짝 카드 */
.pairs-section { background: #fff; }
.pair-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pair-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: #fff; }
.pair-card h3 { padding: 24px 24px 18px; font-size: 1.16rem; line-height: 1.45; }
.pair-card h3 span { display: block; margin-bottom: 8px; color: var(--sky); font-family: Jost, sans-serif; font-size: .82rem; font-weight: 700; letter-spacing: .08em; }
.pair-from, .pair-to { margin: 0; padding: 16px 24px; font-size: .92rem; line-height: 1.75; }
.pair-from { border-top: 1px solid var(--line); background: var(--mist); color: var(--slate); }
.pair-to { flex: 1; border-top: 1px dashed #b4cde1; color: var(--navy); }
.pair-from b, .pair-to b { display: block; margin-bottom: 4px; font-size: .78rem; letter-spacing: .02em; }
.pair-from b { color: var(--slate); }
.pair-to b { color: var(--blue); }

/* 4. 필요한 만큼만 */
.scope-section { background: var(--ice); }
.scope-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.scope-copy h2 { font-size: clamp(1.6rem, 2.5vw, 2.15rem); }
.scope-copy p { margin: 0 0 14px; color: var(--slate); line-height: 1.85; }
.scope-copy .scope-conclusion { margin-top: 22px; padding: 18px 20px; border-left: 4px solid var(--gold); background: #fff; color: var(--navy); font-weight: 700; }
.matrix-wrap { position: relative; min-width: 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.matrix { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .86rem; }
.matrix caption { padding: 16px 18px 6px; color: var(--slate); font-size: .8rem; text-align: left; }
.matrix th, .matrix td { position: relative; padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: center; }
.matrix thead th { color: var(--slate); font-size: .78rem; font-weight: 700; line-height: 1.35; vertical-align: bottom; }
.matrix tbody th { padding-left: 18px; text-align: left; font-weight: 700; white-space: nowrap; }
.matrix tbody tr.group-line th { color: var(--slate); font-weight: 600; }
.matrix tbody tr.group-first th, .matrix tbody tr.group-first td { border-top: 2px solid var(--line); }
.dot { display: inline-block; width: 16px; height: 16px; border-radius: 50%; vertical-align: middle; }
.dot-base { background: var(--blue); }
.dot-option { border: 2px solid var(--blue); background: #fff; }
.dot-line { width: 14px; height: 14px; border-radius: 3px; background: #c9d6e3; }
.matrix-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 14px 18px; color: var(--slate); font-size: .8rem; }
.matrix-legend span { display: inline-flex; align-items: center; gap: 7px; }
.matrix-note { margin: 0; padding: 0 18px 16px; color: var(--slate); font-size: .78rem; }

/* 5. 일하는 방식 */
.process-section { background: #fff; }
.process-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.process-steps li { position: relative; padding: 28px 24px 28px 0; border-top: 3px solid var(--line); }
.process-steps li::before { counter-increment: step; content: "0" counter(step); position: absolute; top: -17px; left: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; font-family: Jost, sans-serif; font-size: .82rem; font-weight: 700; }
.process-steps li:last-child::before { background: var(--gold); color: var(--navy); }
.process-steps h3 { margin: 10px 0 10px; font-size: 1.15rem; }
.process-steps p { margin: 0; color: var(--slate); font-size: .92rem; line-height: 1.8; }
.factors { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; padding: 20px 22px; border-left: 4px solid var(--gold); background: var(--mist); }
.factors strong { margin-right: 10px; font-size: .95rem; }
.factors span { padding: 7px 12px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--navy); font-size: .88rem; font-weight: 600; }

/* 6. 서비스 */
.services-section { background: var(--mist); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.service-card img { display: block; width: 100%; height: 210px; object-fit: cover; }
.service-body { display: flex; flex: 1; flex-direction: column; padding: 26px 26px 28px; }
.service-body > span { color: var(--blue); font-family: Jost, sans-serif; font-size: .8rem; font-weight: 700; letter-spacing: .08em; }
.service-body h3 { margin: 10px 0 12px; font-size: 1.4rem; }
.service-body p { margin: 0; color: var(--slate); font-size: .94rem; line-height: 1.8; }
.service-body a { margin-top: auto; padding-top: 18px; color: var(--blue); font-size: .9rem; font-weight: 800; text-decoration: none; }
.service-body a:hover { text-decoration: underline; text-underline-offset: 4px; }
.service-card.is-origin { border-top: 4px solid var(--navy); }

/* 7. 사람과 안전 */
.safety-section { background: #fff; }
.safety-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.safety-grid article { padding: 26px 22px; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 7px; background: var(--mist); }
.safety-grid h3 { margin-bottom: 10px; font-size: 1.08rem; }
.safety-grid p { margin: 0; color: var(--slate); font-size: .9rem; line-height: 1.75; }
.cert-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 18px; padding: 18px 22px; border-left: 4px solid var(--gold); background: var(--mist); font-size: .93rem; }
.cert-line a { color: var(--blue); font-weight: 800; text-decoration: none; }
.cert-line a:hover { text-decoration: underline; }

/* 9. 마무리 */
.closing { padding-block: 88px; background: linear-gradient(120deg, #e9f4fb, var(--mist) 70%); }
.closing .container { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.closing p { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2.3rem); font-weight: 800; line-height: 1.45; letter-spacing: -.05em; }
.closing p strong { color: var(--blue); }
.closing a { color: var(--blue); font-weight: 800; text-decoration: none; white-space: nowrap; }

/* 바닥글 */
.site-footer { background: var(--navy-deep); color: #d7e2ee; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; min-height: 160px; padding-block: 28px; }
.footer-logo { display: block; width: 115px; line-height: 0; }
.footer-logo img { width: 100%; height: auto; }
.footer-business { display: flex; flex-direction: column; gap: 5px; font-size: .84rem; line-height: 1.55; }
.footer-business small { margin-top: 4px; color: #b5c9dc; }

@media (max-width: 1050px) {
  .pair-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .safety-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scope-layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 32px); }
  .header-inner { display: block; min-height: 0; padding-block: 12px 16px; }
  .brand.logo-crop { width: 118px; margin-bottom: 10px; }
  .main-nav { justify-content: flex-start; gap: 8px 18px; }
  .main-nav a { font-size: .84rem; }
  .hero-inner { display: block; padding-block: 52px 56px; }
  .hero-media { margin-top: 40px; }
  .hero-media img { height: 260px; }
  .hero-media::before { top: -10px; right: -6px; }
  .service-ribbon { grid-template-columns: 1fr; }
  .service-ribbon a { min-height: 54px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .section { padding-block: 72px; }
  .doubt-grid, .pair-grid, .service-grid, .safety-grid { grid-template-columns: 1fr; }
  .doubt-card { padding: 26px 22px; }
  .doubt-card .q { font-size: 1.14rem; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps li { padding-right: 0; }
  .closing .container { display: block; }
  .closing a { display: inline-block; margin-top: 18px; }
  .footer-inner { display: block; }
  .footer-business { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.matrix-hint { display: none; }
@media (max-width: 640px) { .matrix-hint { display: inline; } }
