:root {
  --navy: #0b1f3a;
  --navy-soft: #163154;
  --text: #1a1f2a;
  --muted: #5c6575;
  --line: #e6eaf0;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 12px 40px rgba(11, 31, 58, 0.12);
  --header-h: 72px;
  --font: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

.page-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

address {
  font-style: normal;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0 1.4rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn--sm {
  min-height: 40px;
  padding: 0 1rem;
  font-size: 0.92rem;
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--navy-soft);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

.section-label {
  margin: 0 0 0.6rem;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.section-desc {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.logo__mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--navy) 0%, #2a4d78 100%);
  position: relative;
}

.logo__mark::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 4px;
}

.logo__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.logo__text strong {
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo__text small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav a:not(.btn) {
  color: var(--text);
  font-weight: 550;
  font-size: 0.95rem;
}

.nav a:not(.btn):hover {
  color: var(--navy);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  animation: heroZoom 12s ease-out forwards;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 18, 34, 0.78) 0%, rgba(8, 18, 34, 0.45) 55%, rgba(8, 18, 34, 0.25) 100%),
    linear-gradient(0deg, rgba(8, 18, 34, 0.55) 0%, transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4.5rem;
  max-width: 640px;
  margin-left: max(20px, calc((100% - 1120px) / 2));
  animation: fadeUp 0.8s ease both;
}

.hero__eyebrow {
  margin: 0 0 0.8rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 780;
}

.hero__lead {
  margin: 1rem 0 1.6rem;
  max-width: 34rem;
  font-size: 1.05rem;
  opacity: 0.92;
}

/* Values */
.values {
  padding: 3.5rem 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.value {
  text-align: center;
  padding: 0.5rem;
}

.value__icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  color: var(--navy);
  margin-bottom: 0.8rem;
}

.value__icon svg {
  width: 100%;
  height: 100%;
}

.value h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.value p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* About */
.about {
  padding: 5rem 0;
  background: var(--bg-soft);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about__media {
  overflow: hidden;
  border-radius: 4px;
  min-height: 360px;
}

.about__media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.about__content h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.about__content p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.about__content .btn {
  margin-top: 0.6rem;
}

/* Business */
.business {
  padding: 5rem 0;
}

.business__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.biz-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem 1.4rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.biz-card:hover {
  border-color: #c9d4e4;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.biz-card__icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  color: var(--navy);
  margin-bottom: 1rem;
}

.biz-card__icon svg {
  width: 100%;
  height: 100%;
}

.biz-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.biz-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Notice board */
.notice {
  padding: 4.5rem 0;
  background: var(--bg-soft);
}

.notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.notice-item + .notice-item {
  border-top: 1px solid var(--line);
}

.notice-item__head {
  width: 100%;
  display: grid;
  grid-template-columns: 7.2rem 1fr 1.2rem;
  gap: 0.8rem;
  align-items: center;
  padding: 1.1rem 1.25rem;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease;
}

.notice-item__head:hover {
  background: #f8fafc;
}

.notice-item__head time {
  color: var(--muted);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.notice-item__title {
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--text);
}

.notice-item__toggle {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  justify-self: end;
  transition: transform 0.2s ease;
  margin-bottom: 4px;
}

.notice-item.is-open .notice-item__toggle {
  transform: rotate(225deg);
  margin-bottom: 0;
  margin-top: 4px;
}

.notice-item__body {
  padding: 0 1.25rem 1.35rem 1.25rem;
  color: var(--muted);
  border-top: 1px solid transparent;
}

.notice-item.is-open .notice-item__body {
  border-top-color: var(--line);
  padding-top: 1rem;
}

.notice-item__body[hidden] {
  display: none !important;
}

.notice-lead {
  margin: 0 0 0.85rem;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.55;
}

.notice-box {
  margin: 0;
  padding: 1.1rem 1.15rem;
  background: var(--bg-soft);
  border-radius: 10px;
}

.notice-box > :last-child {
  margin-bottom: 0;
}

.notice-addr {
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.notice-addr div {
  display: grid;
  gap: 0.2rem;
}

.notice-addr dt {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

.notice-addr dd {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.45;
}

.notice-box--legal {
  display: grid;
  gap: 1.4rem;
}

.notice-legal-title {
  margin: 0;
  text-align: center;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: var(--text);
  word-break: keep-all;
}

.notice-legal {
  margin: 0;
  color: var(--text);
  line-height: 1.85;
  word-break: keep-all;
}

.notice-legal--center {
  text-align: center;
}

.notice-legal--center p {
  margin: 0 0 1.1rem;
}

.notice-legal--center p:last-child {
  margin-bottom: 0;
}

.notice-legal--right {
  text-align: right;
  line-height: 1.55;
}

/* Contact */
.contact {
  padding: 4.5rem 0;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.contact p {
  margin: 0;
  color: var(--muted);
}

.contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact__list li {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.contact__list span {
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--navy);
  letter-spacing: 0.04em;
}

.contact__list a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
  padding: 2.8rem 0 2rem;
}

.footer__inner {
  display: grid;
  gap: 1.4rem;
}

.footer__brand strong {
  display: block;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.footer__brand p,
.footer__meta p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
}

.footer__ceo {
  opacity: 0.85;
}

.footer__meta a:hover {
  text-decoration: underline;
}

.footer__copy {
  margin: 0.8rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.82rem;
  opacity: 0.75;
}

/* Popup */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(8, 16, 28, 0.55);
  backdrop-filter: blur(3px);
}

.popup-overlay[hidden] {
  display: none !important;
}

.popup {
  width: min(460px, 100%);
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1.8rem 1.6rem 1.5rem;
  position: relative;
  animation: popupIn 0.28s ease both;
}

.popup__close {
  position: absolute;
  top: 0.7rem;
  right: 0.85rem;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}

.popup__close:hover {
  color: var(--text);
}

.popup__label {
  margin: 0 0 0.4rem;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.popup__title {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.popup__body > p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.popup__addr {
  margin: 0 0 1rem;
  padding: 1rem;
  background: var(--bg-soft);
  border-radius: 8px;
  display: grid;
  gap: 0.85rem;
}

.popup__addr div {
  display: grid;
  gap: 0.2rem;
}

.popup__addr dt {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
}

.popup__addr dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.popup__note {
  margin: 0 0 1.2rem !important;
  font-size: 0.88rem;
}

.popup .btn {
  width: 100%;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1.02);
  }
}

@keyframes popupIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .values__grid,
  .business__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid,
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__media,
  .about__media img {
    min-height: 280px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1.25rem 1rem;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0.2rem;
    border-bottom: 1px solid var(--line);
  }

  .nav a.btn {
    margin-top: 0.6rem;
    border-bottom: 0;
    justify-content: center;
  }

  .hero {
    min-height: 68vh;
  }

  .hero__content {
    margin-left: 20px;
    margin-right: 20px;
    width: calc(100% - 40px);
    padding: 4rem 0 3.2rem;
  }

  .logo__text strong {
    font-size: 0.86rem;
    max-width: 210px;
  }

  .values,
  .about,
  .business,
  .notice,
  .contact {
    padding-top: 3.2rem;
    padding-bottom: 3.2rem;
  }
}

@media (max-width: 520px) {
  .values__grid,
  .business__grid {
    grid-template-columns: 1fr;
  }

  .container {
    width: calc(100% - 32px);
  }

  .notice-item__head {
    grid-template-columns: 1fr 1.2rem;
    gap: 0.4rem 0.8rem;
  }

  .notice-item__head time {
    grid-column: 1 / -1;
    font-size: 0.82rem;
  }

  .notice-item__title {
    font-size: 0.95rem;
  }
}
