:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-muted: #eef2f7;
  --text: #1f2937;
  --text-soft: #4b5563;
  --line: #d5dbe5;
  --primary: #123a67;
  --primary-strong: #0b2a4a;
  --shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

body.modal-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
}

.modal.is-open {
  display: block;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.56);
}

.modal__dialog {
  position: relative;
  width: min(920px, calc(100% - 24px));
  max-height: calc(100vh - 48px);
  margin: 24px auto;
  background: #ffffff;
  overflow: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.modal__dialog--small {
  width: min(900px, calc(100% - 24px));
}

.modal__close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: block;
  width: 40px;
  height: 40px;
  border: 0;
  background: #000;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.modal__body {
  padding: 28px 32px 36px;
}

.modal__body h2 {
  margin: 0 0 28px;
  font-size: 28px;
  line-height: 1.3;
}

.policy-content p {
  margin: 0 0 12px;
  color: #333;
  line-height: 1.85;
}

.email-policy-box {
  border: 1px solid #ddd;
  padding: 54px 48px;
  text-align: center;
}

.email-policy-box h3 {
  margin: 0 0 26px;
  font-size: 24px;
}

.email-policy-box p {
  margin: 0;
  color: #444;
  font-size: 20px;
  line-height: 1.8;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  background: #ffffff;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #111827;
}

.site-logo__image {
  width: 240px;
  max-width: 48vw;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.18));
}

.site-logo__text {
  display: none;
  flex-direction: column;
  line-height: 1.2;
}

.site-logo--text-only .site-logo__text {
  display: flex;
}

.site-logo__text strong {
  font-size: 18px;
}

.site-logo__text small {
  font-size: 11px;
  color: rgba(17, 24, 39, 0.68);
  letter-spacing: 0.12em;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.top-nav a {
  color: #111827;
  font-size: 18px;
  font-weight: 700;
}

.top-nav a:hover {
  color: #123a67;
}

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(34, 30, 98, 0.97), rgba(21, 26, 86, 0.94));
  color: #fff;
  overflow: hidden;
}

.hero__bg-mark {
  position: absolute;
  inset: 0;
  background-image: url("assets/images/logo.png");
  background-repeat: no-repeat;
  background-position: left -40px center;
  background-size: auto 92%;
  opacity: 0.22;
  filter: blur(2px);
  transform: scale(1.12);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.05), transparent 30%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.28));
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 170px 0 72px;
}

.brand {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero__eyebrow {
  margin: 0 0 10px;
  font-size: clamp(21px, 3.4vw, 39px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.9);
}

.hero h1 {
  margin: 0;
  font-size: clamp(29px, 4.5vw, 55px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.hero__text {
  max-width: 980px;
  margin: 22px 0 0;
  font-size: clamp(13px, 1.5vw, 17px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: #fff;
  color: var(--primary-strong);
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.page-main {
  position: relative;
}

.page-main__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.page-main__mark {
  position: absolute;
  width: 2850px;
  height: 2850px;
  background-image: url("assets/images/brand-mark.png");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.09;
  filter: blur(0.5px);
}

.page-main__mark--left {
  top: 2%;
  left: -1180px;
}

.page-main__mark--soft-right {
  top: 27%;
  right: -620px;
}

.page-main__mark--soft-left {
  top: 54%;
  left: -620px;
}

.page-main__mark--right {
  top: 78%;
  right: -1180px;
}

.section {
  position: relative;
  padding: 88px 0;
  overflow: hidden;
}

.section--compact {
  padding-top: 48px;
  padding-bottom: 32px;
}

.section--muted {
  background: linear-gradient(180deg, var(--surface-muted), rgba(238, 242, 247, 0.65));
}

.section-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.menu-card h2 {
  margin: 0;
  padding: 16px 18px;
  font-size: 18px;
  border-bottom: 1px solid var(--line);
}

.menu-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-card li + li {
  border-top: 1px dotted var(--line);
}

.menu-card a {
  display: block;
  padding: 14px 18px;
  font-size: 16px;
  color: var(--text-soft);
}

.menu-card a:hover {
  color: var(--primary);
  background: rgba(18, 58, 103, 0.04);
}

.section-card {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  padding: 36px;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.25;
}

.content-block p {
  margin: 0 0 18px;
  color: var(--text-soft);
}

.lead-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-strong) !important;
}

.content-block--narrow {
  max-width: 920px;
}

.info-grid,
.business-grid,
.feature-grid,
.values {
  display: grid;
  gap: 20px;
}

.info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-panel,
.values article,
.feature-grid article,
.business-grid article {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.info-panel h3,
.values h3,
.feature-grid h3,
.business-grid h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 20px;
}

.detail-list,
.timeline,
.bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.detail-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.detail-list li:last-child {
  border-bottom: 0;
}

.detail-list strong {
  color: var(--text);
  white-space: nowrap;
}

.detail-list span {
  color: var(--text-soft);
  text-align: right;
}

.address-sub {
  display: inline-block;
  width: 100%;
  text-align: left;
}

.timeline li {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  padding: 12px 0;
  align-items: start;
}

.timeline span {
  font-weight: 700;
  color: var(--primary);
}

.timeline p,
.note,
.values p,
.feature-grid p,
.business-grid p,
.map-placeholder p,
.notice-list p {
  margin: 0;
  color: var(--text-soft);
}

.note {
  margin-top: 16px;
  font-size: 14px;
}

.values {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.cert-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.cert-card__image {
  width: 100%;
  height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px dashed #c7d2e0;
  border-radius: 10px;
  background: #f8fafc;
  overflow: hidden;
}

.cert-card__image picture {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-card__image img {
  max-width: 95%;
  max-height: 296px;
  object-fit: contain;
}

.cert-card strong {
  color: var(--text);
  line-height: 1.5;
  font-size: 14px;
}

.business-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.business-grid--wide article {
  min-height: 100%;
}

.bullet-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  color: var(--text-soft);
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.bullet-list--compact {
  margin-top: 14px;
}

.bullet-list--compact li {
  margin-bottom: 8px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.partner-card {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.partner-card--ci {
  min-height: 250px;
  flex-direction: column;
  gap: 14px;
}

.partner-card__logo {
  width: 100%;
  max-width: 220px;
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #c7d2e0;
  border-radius: 12px;
  background: #f8fafc;
  overflow: hidden;
}

.partner-card__logo picture {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-card__logo img {
  display: block;
  margin: 0 auto;
  max-width: 88%;
  max-height: 92px;
  object-fit: contain;
}

.partner-card strong {
  font-size: 16px;
  color: var(--primary-strong);
  letter-spacing: 0.02em;
}

.notice-board {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
}

.notice-board__head,
.notice-board__row {
  display: grid;
  grid-template-columns: 88px 1fr 140px;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
}

.notice-board__head {
  background: #f3f6fb;
  font-weight: 700;
  color: var(--primary-strong);
}

.notice-board__row {
  border-top: 1px solid var(--line);
}

.notice-board__row strong {
  font-weight: 600;
}

.notice-board__row time,
.notice-board__row span {
  color: var(--text-soft);
}

.info-grid--location {
  align-items: stretch;
}

.map-placeholder {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, rgba(18, 58, 103, 0.06), rgba(18, 58, 103, 0.12));
}

.map-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.map-image-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafc;
}

.map-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.map-link:hover {
  background: var(--primary-strong);
}

code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(18, 58, 103, 0.08);
  color: var(--primary-strong);
  font-family: Consolas, monospace;
}

.footer {
  padding: 54px 0;
  background: #1b1b1b;
  color: rgba(255, 255, 255, 0.82);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer__inner--detailed {
  align-items: flex-start;
  gap: 40px;
}

.footer__company {
  max-width: 980px;
}

.footer__company p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.8;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.footer__link {
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
}

.footer__button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .site-header__inner {
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid,
  .business-grid,
  .cert-grid,
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 520px;
  }

  .section {
    padding: 64px 0;
  }

  .section-card {
    padding: 24px;
    border-radius: 16px;
  }

  .site-logo {
    flex-direction: column;
    text-align: center;
  }

  .site-logo__image {
    width: 200px;
    max-width: 70vw;
  }

  .top-nav {
    gap: 14px;
    justify-content: center;
  }

  .menu-grid,
  .info-grid,
  .values,
  .feature-grid,
  .business-grid,
  .cert-grid,
  .partner-grid,
  .footer__inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .notice-board__head,
  .notice-board__row {
    grid-template-columns: 56px 1fr;
  }

  .notice-board__head span:last-child,
  .notice-board__row time {
    grid-column: 2;
  }

  .footer__inner {
    gap: 12px;
  }

  .footer__links {
    gap: 18px;
    padding-top: 0;
  }

  .detail-list li,
  .timeline li {
    grid-template-columns: 1fr;
  }

  .detail-list li {
    flex-direction: column;
  }

  .detail-list span {
    text-align: left;
  }
}
