/* ================================
   Common: Font / Reset / Variables
================================ */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable.css");
@import url("https://fonts.googleapis.com/css2?family=Google+Sans+Flex:wght@400;500;600;700;800&display=swap");

:root {
  --font-ko: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --font-en: "Google Sans Flex", "Pretendard Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --black: #030303;
  --gray-900: #151515;
  --gray-700: #545454;
  --gray-500: #878787;
  --line: #bcbcbc;
  --paper: #ffffff;
  --soft: #f1f1f2;
  --metrics-bg: #f6f6f9;
  --accent: #e8b95a;

  --container: 1440px;
  --side: clamp(22px, 5vw, 74px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ko);
  color: var(--black);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
}

.container {
  width: min(calc(100% - (var(--side) * 2)), var(--container));
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(72px, 10vw, 132px);
}

.section-title {
  margin: 0 0 clamp(32px, 5vw, 58px);
  font-family: var(--font-en);
  font-size: clamp(32px, 5vw, 46px);
  line-height: .95;
  letter-spacing: -0.05em;
  font-weight: 800;
}


/* ================================
   Header / Logo / GNB
================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 72px;
  border-bottom: 1px solid #cfcfcf;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  width: min(calc(100% - (var(--side) * 2)), var(--container));
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 130px;
}

.brand img {
  width: 100%;
  height: auto;
}

.gnb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3.3vw, 48px);
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.gnb a {
  transition: opacity .2s ease;
}

.gnb a:hover {
  opacity: .55;
}

.gnb .is-active {
  opacity: .65;
}

.lang {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}


/* ================================
   GNB Dropdown - Amazon Management
================================ */
.gnb__item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.gnb__link {
  display: inline-flex;
  align-items: center;
}

.gnb__link::after {
  content: "";
  width: 4px;
  height: 4px;
  margin-left: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.gnb__submenu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  min-width: 170px;
  padding: 12px 0;
  background: rgba(255, 255, 255, .98);
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .08);
  transform: translateX(-50%) translateY(-6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.gnb__submenu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.gnb__submenu a {
  display: block;
  padding: 10px 16px;
  border: 0;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
}

.gnb__item:hover .gnb__submenu,
.gnb__item:focus-within .gnb__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}


/* ================================
   Mobile Toggle Button
================================ */
.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  justify-self: end;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 9px auto;
  background: var(--black);
  transition: transform .22s ease, opacity .22s ease;
}


/* ================================
   Shared CTA
================================ */
.contact {
  padding-top: clamp(76px, 10vw, 126px);
  padding-bottom: clamp(92px, 13vw, 150px);
  text-align: center;
}

.contact__inner {
  display: grid;
  place-items: center;
}

.contact__link {
  display: inline-flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
  font-family: var(--font-en);
  font-size: clamp(42px, 6.8vw, 68px);
  line-height: .95;
  font-weight: 800;
}

.contact__link i {
  width: clamp(42px, 5.4vw, 70px);
  height: 18px;
  position: relative;
}

.contact__link i::before,
.contact__link i::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.contact__link i::before {
  width: 100%;
  height: 2px;
  background: var(--black);
}

.contact__link i::after {
  width: 11px;
  height: 11px;
  border-top: 2px solid var(--black);
  border-right: 2px solid var(--black);
  transform: translateY(-50%) rotate(45deg);
}

.contact p {
  margin: 28px 0 0;
  font-size: clamp(13px, 1.5vw, 24px);
  line-height: 1.7;
}


/* ================================
   Footer
================================ */
.site-footer {
  border-top: 1px solid #777;
  padding-block: 34px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: start;
  gap: 32px;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: -0.03em;
}

.brand--footer {
  width: 130px;
}

.site-footer address {
  margin: 0;
  font-style: normal;
}

.site-footer .copyright {
  margin: 0;
  justify-self: end;
}


/* ================================
   Responsive
================================ */
@media (max-width: 960px) {
  .site-header__inner {
    grid-template-columns: 108px 1fr auto;
  }

  .gnb {
    gap: 18px;
  }
}

@media (max-width: 760px) {
  :root {
    --side: 25px;
  }

  body.is-nav-open {
    overflow: hidden;
  }

  .site-header {
    height: 58px;
  }

  .site-header__inner {
    grid-template-columns: 108px 1fr auto;
  }

  .brand {
    width: 108px;
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .lang {
    display: none;
  }

  .gnb {
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    max-height: calc(100vh - 58px);
    overflow-y: auto;
    padding: 14px var(--side) 24px;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid #d9d9d9;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .06);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
  }

  body.is-nav-open .gnb,
  .site-header.is-open .gnb {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .gnb > a,
  .gnb__item .gnb__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: auto;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    line-height: 1.2;
  }

  .gnb__item {
    display: block;
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .gnb__item .gnb__link {
    border-bottom: 0;
  }

  .gnb__submenu {
    position: static;
    min-width: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    transform: none;
    opacity: 1;
    visibility: visible;
    padding-top: 0px;
    padding-bottom: 15px;
  }

  .gnb__item:hover .gnb__submenu,
  .gnb__item:focus-within .gnb__submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
  }  

  .gnb__submenu::before {
    display: none;
  }

  .gnb__submenu a {
    padding: 9px 0;
    border-bottom: 0;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 600;
    color: #555;
  }

  body.is-nav-open .nav-toggle span:first-child,
  .site-header.is-open .nav-toggle span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  body.is-nav-open .nav-toggle span:last-child,
  .site-header.is-open .nav-toggle span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer .copyright {
    justify-self: start;
  }
}

@media (max-width: 520px) {
  .section-pad {
    padding-block: 68px;
  }

  .contact__link {
    flex-direction: column;
    gap: 18px;
  }

  .contact__link i {
    width: 60px;
  }
}