:root {
  --navy: #0c1622;
  --ink: #17222e;
  --muted: #526174;
  --orange: #c85a20;
  --soft: #f5f7fa;
  --line: #dfe5ec;
  --warm: #fceee4;
  font-family:
    "Noto Sans KR",
    system-ui,
    -apple-system,
    "Segoe UI",
    "Noto Sans KR",
    "Malgun Gothic",
    sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
summary,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
summary {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #df6b2b;
  outline-offset: 4px;
}
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #c85a20;
  outline-offset: 2px;
}
button:disabled {
  opacity: 0.65;
  cursor: wait;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin: 0 0 16px;
}
h1,
h2,
h3 {
  line-height: 1.35;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(30px, 4vw, 46px);
}
h2 {
  font-size: clamp(24px, 2.7vw, 32px);
}
h3 {
  font-size: 20px;
}
p {
  color: var(--muted);
}
small {
  font-size: 12px;
}
.wrap {
  max-width: 1200px;
  margin: auto;
  padding: 0 28px;
}
.section {
  padding-top: 72px;
  padding-bottom: 72px;
}
.soft {
  background: var(--soft);
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #a3461a;
  margin-bottom: 12px;
}
.lead {
  font-size: 18px;
  max-width: 700px;
  margin-bottom: 32px;
}
.utility {
  background: var(--navy);
  color: #d5dbe3;
  font-size: 12px;
}
.utility .wrap {
  display: flex;
  gap: 24px;
  justify-content: flex-end;
  padding-top: 7px;
  padding-bottom: 7px;
}
header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 80px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 20px;
  line-height: 1.15;
  white-space: nowrap;
  letter-spacing: -0.03em;
}
.brand img {
  object-fit: contain;
  flex-shrink: 0;
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.13em;
  color: var(--orange);
  margin-top: 6px;
  font-weight: 700;
}
#site-nav {
  display: flex;
  gap: 3px;
  align-items: center;
}
#site-nav > a {
  padding: 10px 9px;
  font-size: 13px;
  white-space: nowrap;
  font-weight: 600;
}
#site-nav [aria-current="page"] {
  color: #a3461a;
  background: var(--warm);
  border-radius: 4px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 22px;
  background: var(--orange);
  color: #fff;
  font-weight: 650;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}
.button.small {
  min-height: 40px;
}
.button.secondary {
  background: #fff;
  border-color: #bac5d1;
  color: var(--ink);
}
.button.outline {
  background: transparent;
  color: #fff;
  border-color: #8491a0;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}
.text-link {
  color: #a3461a;
  font-weight: 650;
  display: inline-block;
  padding: 8px 0;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.menu-toggle {
  display: none;
  border: 1px solid #d1d8e0;
  background: #fff;
  border-radius: 5px;
  padding: 8px 13px;
}
.home-hero {
  background:
    linear-gradient(
      90deg,
      rgba(7, 17, 29, 0.98),
      rgba(7, 17, 29, 0.91) 32%,
      rgba(7, 17, 29, 0.34) 65%,
      rgba(7, 17, 29, 0.12)
    ),
    url("/assets/hero-iso-consulting.webp") center 42% / cover;
  color: #fff;
}
.home-hero .wrap {
  padding-top: 82px;
  padding-bottom: 40px;
  min-height: 520px;
}
.hero-badge {
  display: inline-block;
  border: 1px solid #6a727d;
  background: #ffffff12;
  border-radius: 30px;
  padding: 5px 14px;
  font-size: 12px;
  margin-bottom: 24px;
}
.home-hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  max-width: 660px;
}
.home-hero em {
  font-style: normal;
  color: #f7a85e;
}
.home-hero p {
  color: #e1e6ec;
  font-size: 19px;
  max-width: 530px;
}
.image-caption {
  display: block;
  text-align: right;
  margin-top: 35px;
  color: #d5dbe3;
}
.page-hero {
  background: radial-gradient(ellipse at 0 0, #683b29, transparent 65%), var(--navy);
  padding: 54px 0;
  color: #fff;
}
.page-hero p {
  color: #dce2e9;
  max-width: 790px;
}
.page-hero .eyebrow {
  color: #f7b17b;
}
.page-hero h1 {
  margin-bottom: 18px;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  padding-top: 12px;
  padding-bottom: 12px;
}
.breadcrumb a {
  text-decoration: underline;
}
.grid {
  display: grid;
  gap: 22px;
}
.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}
.card {
  padding: 26px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  min-width: 0;
}
.card p {
  font-size: 15px;
}
.card h2 {
  font-size: 23px;
}
.card h3 {
  font-size: 21px;
}
.card p:last-child {
  margin-bottom: 0;
}
.article {
  max-width: 1040px;
  padding-top: 30px;
  padding-bottom: 65px;
}
.article-section {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.article-section li {
  margin: 9px 0;
  color: var(--muted);
}
.article-section ul {
  padding-left: 24px;
}
.article-section > a {
  color: #a3461a;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.article-section .card h3 {
  font-size: 18px;
}
.editorial {
  font-size: 12px;
  margin: 0;
  color: #627084;
}
.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 44px;
  padding: 32px;
  border-radius: 10px;
  background: var(--warm);
}
.cta h2 {
  font-size: 25px;
}
.cta p {
  margin: 0;
}
.cta .button {
  flex-shrink: 0;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
}
.faq summary {
  font-weight: 650;
  min-height: 32px;
}
.faq p {
  padding: 15px 0 0;
  margin: 0;
  max-width: 850px;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
form label {
  display: block;
  font-size: 14px;
  margin-bottom: 17px;
}
input:not([type="checkbox"]),
textarea {
  display: block;
  margin-top: 7px;
  width: 100%;
  min-height: 45px;
  border: 1px solid #bac5d1;
  border-radius: 5px;
  padding: 10px 12px;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
}
textarea {
  resize: vertical;
}
fieldset {
  min-width: 0;
  border: 1px solid var(--line);
  padding: 14px;
  margin: 6px 0 22px;
  border-radius: 5px;
}
legend {
  font-size: 14px;
}
.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  min-height: 38px;
  padding: 6px 0;
}
.check input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--orange);
}
.consent {
  margin: 15px 0;
}
.contact-layout aside a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-layout aside h3 {
  margin-top: 30px;
}
.notice,
#form-status:not(:empty) {
  padding: 16px;
  border: 1px solid #bac5d1;
  border-radius: 5px;
  margin-top: 18px;
  font-size: 14px;
}
.notice a,
#form-status a {
  text-decoration: underline;
}
#form-status[data-error="true"] {
  color: #9d231d;
  background: #fff1f0;
}
footer {
  padding: 50px 0 30px;
  background: #111c29;
  color: #e1e7ef;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 25px;
}
footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 14px;
}
footer p {
  color: #b7c2d0;
  font-size: 13px;
  margin: 8px 0;
}
footer small {
  color: #a6b3c3;
}
.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  background: white;
  padding: 14px;
  z-index: 99;
}
.skip:focus {
  top: 10px;
}
@media (max-width: 1100px) {
  .header-row {
    flex-wrap: wrap;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .js .menu-toggle {
    display: block !important;
  }
  #site-nav {
    flex-wrap: wrap;
    width: 100%;
    gap: 4px;
  }
  .js #site-nav {
    display: none;
  }
  .js #site-nav.open {
    display: flex;
  }
  #site-nav > a {
    min-height: 44px;
    padding: 12px;
  }
  .four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .brand {
    font-size: 19px;
  }
  .header-row {
    min-height: 72px;
  }
}
@media (max-width: 700px) {
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  .section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .utility {
    display: none;
  }
  .home-hero .wrap {
    padding-top: 55px;
    min-height: 530px;
    padding-bottom: 24px;
  }
  .home-hero {
    background:
      linear-gradient(90deg, rgba(7, 17, 29, 0.96), rgba(7, 17, 29, 0.7)),
      url("/assets/hero-iso-consulting.webp") 62% center/cover;
  }
  .home-hero p {
    font-size: 17px;
  }
  .home-hero .actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 390px;
  }
  .three,
  .two,
  .contact-layout,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .grid {
    gap: 15px;
  }
  .four {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 22px;
  }
  .page-hero {
    padding: 38px 0;
  }
  .page-hero h1 {
    font-size: 30px;
  }
  .article {
    padding-top: 22px;
    padding-bottom: 40px;
  }
  .cta {
    flex-direction: column;
    align-items: stretch;
    padding: 25px;
  }
  .cta h2 {
    font-size: 23px;
  }
  .footer-top {
    align-items: flex-start;
    flex-direction: column;
  }
  .brand img {
    width: 38px;
    height: 38px;
  }
  .brand {
    font-size: 18px;
  }
  .brand small {
    font-size: 9px;
  }
  #site-nav > a {
    flex: 1 1 40%;
  }
  .image-caption {
    text-align: left;
  }
  .breadcrumb {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .form-grid {
    gap: 0;
  }
  footer nav {
    gap: 16px;
  }
  .article-section {
    padding: 25px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
@media print {
  header,
  .utility,
  footer,
  .cta,
  .skip {
    display: none;
  }
  .page-hero,
  .home-hero {
    background: #fff;
    color: #000;
  }
  .page-hero p,
  .home-hero p {
    color: #333;
  }
  .card,
  .article-section {
    break-inside: avoid;
  }
}

/* 모든 페이지의 상단 경로 표시 숨기기 */
.breadcrumb {
  display: none !important;
}

/* 상단 메뉴: 기본 글자를 굵게 */
#site-nav > a {
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.5;
  padding: 10px 12px;
}

/* 현재 선택된 메뉴와 인증문의는 강조 */
#site-nav > a[aria-current="page"],
#site-nav > a.button {
  font-weight: 700;
}

/* 모바일 메뉴 */
@media (max-width: 700px) {
  #site-nav > a {
    font-size: 16px;
    padding: 12px;
  }
}

/* 인증 분야 카드: 세로 배치 */
.grid.four > .card {
  display: flex;
  flex-direction: column;
}

/* 자세히 보기 링크를 카드 하단에 정렬 */
.grid.four > .card > .text-link {
  margin-top: auto;
  padding-top: 16px;
  align-self: flex-start;
}
