@charset "UTF-8";

:root {
  --apex-deep: #00021d;
  --apex-navy: #0f213b;
  --apex-blue: #1f385a;
  --apex-gold: #be8f4b;
  --apex-gold-soft: #e6d2a3;
  --apex-ink: #111827;
  --apex-muted: #68727f;
  --apex-paper: #f6f8fb;
  --apex-line: #dde3ec;
  --apex-white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--apex-ink);
  font-family: "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  line-height: 1.65;
  background: var(--apex-white);
  word-break: keep-all;
}

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

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

button {
  font: inherit;
}

.apex-page {
  min-width: 320px;
  overflow: hidden;
}

.apex-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.apex-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(15, 33, 59, 0.1);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(12px);
}

.apex-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  gap: 24px;
}

.apex-logo {
  display: inline-flex;
  align-items: center;
  width: 128px;
  flex: 0 0 auto;
}

.apex-logo img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.apex-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--apex-navy);
  font-size: 15px;
  font-weight: 700;
}

.apex-nav a {
  position: relative;
  padding: 8px 0;
}

.apex-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--apex-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
  content: "";
}

.apex-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.apex-menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--apex-line);
  border-radius: 8px;
  background: var(--apex-white);
  color: var(--apex-navy);
  cursor: pointer;
}

.apex-menu-button span,
.apex-menu-button::before,
.apex-menu-button::after {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.apex-menu-button {
  flex-direction: column;
  gap: 5px;
}

.apex-hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding: 132px 0 86px;
  color: var(--apex-white);
  background: #101624;
}

.apex-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 2, 29, 0.86), rgba(15, 33, 59, 0.48) 48%, rgba(255, 255, 255, 0.12));
  content: "";
}

.apex-hero::after {
  position: absolute;
  inset: -18px;
  z-index: 0;
  background: url("../img/main01-bg.jpg") center/cover no-repeat;
  transform: scale(1.08);
  animation: apexHeroImage 12s ease-out forwards;
  content: "";
}

.apex-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  min-height: 542px;
  gap: 56px;
}

.apex-eyebrow {
  margin: 0 0 18px;
  color: var(--apex-gold-soft);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.apex-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: "Gilroy-bold", "Noto Sans KR", sans-serif;
  font-size: 62px;
  line-height: 1.16;
  letter-spacing: 0;
}

.apex-hero__copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  font-weight: 400;
}

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

.apex-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.apex-button--primary {
  background: var(--apex-gold);
  color: var(--apex-white);
}

.apex-button--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--apex-white);
}

.apex-facts {
  display: grid;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.apex-hero .apex-eyebrow,
.apex-hero h1,
.apex-hero__copy,
.apex-hero__actions,
.apex-facts {
  opacity: 0;
  transform: translateY(20px);
  animation: apexHeroFadeUp 0.8s ease forwards;
}

.apex-hero .apex-eyebrow {
  animation-delay: 0.15s;
}

.apex-hero h1 {
  animation-delay: 0.3s;
}

.apex-hero__copy {
  animation-delay: 0.45s;
}

.apex-hero__actions {
  animation-delay: 0.6s;
}

.apex-facts {
  animation-delay: 0.75s;
}

@keyframes apexHeroImage {
  0% {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1) translate3d(-10px, 0, 0);
  }
}

@keyframes apexHeroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .apex-hero::after,
  .apex-hero .apex-eyebrow,
  .apex-hero h1,
  .apex-hero__copy,
  .apex-hero__actions,
  .apex-facts {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.apex-fact {
  padding: 22px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.apex-fact:last-child {
  border-bottom: 0;
}

.apex-fact strong {
  display: block;
  margin-bottom: 5px;
  color: var(--apex-gold-soft);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.apex-fact span {
  display: block;
  color: var(--apex-white);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.apex-section {
  padding: 96px 0;
}

.apex-section--paper {
  background: var(--apex-paper);
}

.apex-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 42px;
}

.apex-section__head h2 {
  margin: 0;
  color: var(--apex-navy);
  font-family: "Gilroy-bold", "Noto Sans KR", sans-serif;
  font-size: 42px;
  line-height: 1.18;
  letter-spacing: 0;
}

.apex-section__head h2 span {
  display: inline-block;
  margin-left: 12px;
  color: var(--apex-gold);
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 18px;
  font-weight: 800;
  vertical-align: middle;
}

.apex-section__head p {
  max-width: 520px;
  margin: 0;
  color: var(--apex-muted);
  font-size: 17px;
}

.apex-about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 56px;
}

.apex-about__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.apex-about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.apex-about__text h2 {
  margin: 0 0 24px;
  color: var(--apex-navy);
  font-size: 40px;
  line-height: 1.24;
  letter-spacing: 0;
}

.apex-about__text p {
  margin: 0 0 18px;
  color: #374151;
  font-size: 17px;
}

.apex-sign {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 2px solid var(--apex-gold);
  color: var(--apex-navy);
  font-weight: 800;
}

.apex-vision {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
  color: var(--apex-ink);
}

.apex-vision__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 44px;
}

.apex-vision__text {
  position: relative;
  padding: 42px 36px;
  border: 1px solid var(--apex-line);
  border-radius: 8px;
  background: var(--apex-white);
  box-shadow: 0 18px 46px rgba(15, 33, 59, 0.08);
}

.apex-vision__text::before {
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 0;
  width: 4px;
  background: var(--apex-gold);
  content: "";
}

.apex-vision__text .apex-eyebrow {
  color: var(--apex-gold);
}

.apex-vision__text h2 {
  margin: 0 0 20px;
  color: var(--apex-navy);
  font-size: 40px;
  line-height: 1.24;
  letter-spacing: 0;
}

.apex-vision__text p:last-child {
  max-width: 560px;
  margin: 0;
  color: #374151;
  font-size: 18px;
}

.apex-vision__image {
  padding: 34px;
  border: 1px solid var(--apex-line);
  border-radius: 8px;
  background: var(--apex-white);
  box-shadow: 0 22px 54px rgba(15, 33, 59, 0.12);
}

.apex-vision__image img {
  width: 100%;
  max-height: 430px;
  object-fit: contain;
}

.apex-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.apex-stat {
  min-height: 270px;
  padding: 30px 22px;
  border: 1px solid var(--apex-line);
  border-radius: 8px;
  background: var(--apex-white);
  text-align: center;
}

.apex-stat img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin: 0 auto 18px;
}

.apex-stat p {
  min-height: 48px;
  margin: 0 0 12px;
  color: var(--apex-navy);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.35;
}

.apex-stat p em {
  display: block;
  color: var(--apex-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
}

.apex-stat strong {
  display: block;
  min-height: 62px;
  margin-bottom: 12px;
  color: var(--apex-gold);
  font-family: "Gilroy-bold", Arial, sans-serif;
  font-size: 46px;
  line-height: 1.1;
}

.apex-stat span {
  display: block;
  color: var(--apex-muted);
  font-size: 14px;
  line-height: 1.55;
}

.apex-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.apex-service {
  overflow: hidden;
  border: 1px solid var(--apex-line);
  border-radius: 8px;
  background: var(--apex-white);
}

.apex-service__image {
  aspect-ratio: 16 / 10;
  background: #d9dee7;
}

.apex-service__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.apex-service__body {
  padding: 24px;
}

.apex-service__body strong {
  display: block;
  margin-bottom: 10px;
  color: var(--apex-gold);
  font-size: 13px;
  letter-spacing: 0.1em;
}

.apex-service__body h3 {
  margin: 0 0 10px;
  color: var(--apex-navy);
  font-size: 22px;
  line-height: 1.3;
}

.apex-service__body p {
  margin: 0;
  color: var(--apex-muted);
  font-size: 15px;
}

.apex-cert-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.apex-cert-tabs button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--apex-line);
  border-radius: 8px;
  background: var(--apex-white);
  color: var(--apex-navy);
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.apex-cert-tabs button.is-active,
.apex-cert-tabs button:hover {
  border-color: var(--apex-gold);
  background: var(--apex-navy);
  color: var(--apex-white);
}

.apex-cert-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.apex-cert-card {
  overflow: hidden;
  border: 1px solid var(--apex-line);
  border-radius: 8px;
  background: var(--apex-white);
  box-shadow: 0 14px 34px rgba(15, 33, 59, 0.06);
}

.apex-cert-card[hidden] {
  display: none;
}

.apex-cert-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
  background: #edf1f7;
}

.apex-cert-card p {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  margin: 0;
  padding: 12px 14px;
  color: var(--apex-navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.apex-strength {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.apex-strength__item {
  padding: 30px 28px;
  border-top: 4px solid var(--apex-gold);
  background: var(--apex-white);
}

.apex-strength__item span {
  display: block;
  margin-bottom: 18px;
  color: var(--apex-navy);
  font-family: "Gilroy-bold", Arial, sans-serif;
  font-size: 34px;
  line-height: 1;
}

.apex-strength__item h3 {
  margin: 0 0 12px;
  color: var(--apex-navy);
  font-size: 21px;
}

.apex-strength__item p {
  margin: 0;
  color: var(--apex-muted);
}

.apex-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.apex-logo-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  padding: 18px 14px;
  border: 1px solid var(--apex-line);
  border-radius: 8px;
  background: var(--apex-white);
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.apex-logo-grid a:hover {
  border-color: rgba(190, 143, 75, 0.7);
  box-shadow: 0 14px 30px rgba(15, 33, 59, 0.08);
  transform: translateY(-2px);
}

.apex-logo-grid img {
  width: 100%;
  max-width: 150px;
  max-height: 54px;
  object-fit: contain;
  margin: 0 auto;
}

.apex-logo-grid span {
  display: block;
  width: 100%;
  min-height: 36px;
  margin-top: 12px;
  color: var(--apex-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.apex-logo-grid--partners a {
  min-height: 118px;
}

.apex-logo-grid--partners img {
  max-height: 66px;
}

.apex-contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
}

.apex-contact__info {
  padding: 36px;
  border-radius: 8px;
  background: var(--apex-navy);
  color: var(--apex-white);
}

.apex-contact__info h2 {
  margin: 0 0 24px;
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: 0;
}

.apex-contact__row {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.apex-contact__row strong {
  display: block;
  margin-bottom: 5px;
  color: var(--apex-gold-soft);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.apex-contact__row span,
.apex-contact__row a {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.apex-map {
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--apex-line);
  border-radius: 8px;
  background: #d9dee7;
}

.apex-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  border: 0;
}

.apex-footer {
  background: var(--apex-white);
}

.apex-footer__top {
  position: relative;
  background: #02040a;
  color: var(--apex-white);
}

.apex-footer__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 132px;
  gap: 32px;
}

.apex-footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  min-width: 190px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--apex-white);
}

.apex-footer__brand img {
  width: 160px;
}

.apex-footer__info {
  flex: 1;
  min-width: 0;
}

.apex-footer__info p,
.apex-footer__contact p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.8;
}

.apex-footer__info em {
  display: inline-block;
  margin: 0 12px;
  color: var(--apex-gold);
  font-style: normal;
}

.apex-footer__copy {
  color: rgba(255, 255, 255, 0.66) !important;
}

.apex-footer__contact {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.apex-footer__contact span {
  color: var(--apex-gold-soft);
  font-weight: 800;
}

.apex-footer__toplink {
  position: absolute;
  right: 0;
  bottom: -7px;
  width: 46px;
  height: 22px;
  border-radius: 0 0 24px 24px;
  background: #02040a;
}

.apex-footer__toplink::before {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 0;
  height: 0;
  border-right: 7px solid transparent;
  border-bottom: 7px solid rgba(255, 255, 255, 0.72);
  border-left: 7px solid transparent;
  transform: translateX(-50%);
  content: "";
}

.apex-footer__office {
  padding: 28px 0;
  background: var(--apex-white);
}

.apex-footer__office ul {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.apex-footer__office li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  border-right: 1px solid var(--apex-line);
}

.apex-footer__office li:first-child {
  border-left: 1px solid var(--apex-line);
}

.apex-footer__office a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 16px;
}

.apex-footer__office img {
  width: 100%;
  max-width: 142px;
  max-height: 52px;
  object-fit: contain;
}

@media (max-width: 960px) {
  .apex-menu-button {
    display: inline-flex;
  }

  .apex-nav {
    position: absolute;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--apex-line);
    border-radius: 8px;
    background: var(--apex-white);
    box-shadow: 0 18px 40px rgba(15, 33, 59, 0.14);
  }

  .apex-nav.is-open {
    display: flex;
  }

  .apex-nav a {
    padding: 12px;
  }

  .apex-hero {
    min-height: auto;
    padding: 116px 0 70px;
  }

  .apex-hero__inner,
  .apex-about,
  .apex-vision__inner,
  .apex-contact {
    grid-template-columns: 1fr;
  }

  .apex-hero__inner {
    min-height: 0;
    gap: 42px;
  }

  .apex-hero h1 {
    font-size: 42px;
  }

  .apex-service-grid,
  .apex-cert-grid,
  .apex-strength,
  .apex-stat-grid {
    grid-template-columns: 1fr;
  }

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

  .apex-section__head {
    display: block;
  }

  .apex-section__head h2 {
    margin-bottom: 16px;
  }

  .apex-footer__inner {
    flex-wrap: wrap;
    justify-content: center;
    min-height: 0;
    padding: 28px 0;
    text-align: center;
  }

  .apex-footer__info {
    flex: 1 1 100%;
    order: 3;
  }

  .apex-footer__contact {
    flex: 1 1 100%;
    justify-content: center;
    order: 4;
  }

  .apex-footer__office ul {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .apex-footer__office li:nth-child(4n + 1) {
    border-left: 1px solid var(--apex-line);
  }
}

@media (max-width: 640px) {
  .apex-inner {
    width: min(100% - 28px, 1120px);
  }

  .apex-header__inner {
    min-height: 78px;
  }

  .apex-logo {
    width: 104px;
  }

  .apex-logo img {
    width: 100%;
  }

  .apex-nav {
    top: 78px;
    right: 14px;
    left: 14px;
  }

  .apex-hero {
    padding-top: 116px;
  }

  .apex-hero h1 {
    font-size: 34px;
  }

  .apex-hero__copy {
    font-size: 16px;
  }

  .apex-section {
    padding: 70px 0;
  }

  .apex-section__head h2,
  .apex-about__text h2,
  .apex-vision__text h2,
  .apex-contact__info h2 {
    font-size: 30px;
  }

  .apex-section__head h2 span {
    display: block;
    margin: 8px 0 0;
    font-size: 15px;
  }

  .apex-vision__image {
    padding: 22px;
  }

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

  .apex-cert-tabs button {
    flex: 1 1 calc(50% - 8px);
    padding: 0 10px;
    font-size: 13px;
  }

  .apex-cert-card p {
    font-size: 14px;
  }

  .apex-logo-grid a {
    min-height: 118px;
    padding: 14px 10px;
  }

  .apex-logo-grid img {
    max-height: 46px;
  }

  .apex-logo-grid span {
    font-size: 11px;
  }

  .apex-contact__info {
    padding: 28px 22px;
  }

  .apex-footer__inner {
    display: flex;
    gap: 20px;
  }

  .apex-footer__brand {
    width: 160px;
    min-width: 160px;
    padding: 10px 12px;
  }

  .apex-footer__brand img {
    width: 132px;
  }

  .apex-footer__info p,
  .apex-footer__contact p {
    font-size: 13px;
  }

  .apex-footer__info span {
    display: block;
  }

  .apex-footer__info em {
    display: none;
  }

  .apex-footer__contact {
    display: block;
  }

  .apex-footer__toplink {
    right: 50%;
    transform: translateX(50%);
  }

  .apex-footer__office {
    padding: 20px 0;
  }

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

  .apex-footer__office li {
    min-height: 78px;
  }

  .apex-footer__office li:nth-child(odd) {
    border-left: 1px solid var(--apex-line);
  }

  .apex-footer__office a {
    padding: 12px;
  }

  .apex-footer__office img {
    max-width: 124px;
    max-height: 44px;
  }
}
