/* ==============================
  Variables
============================== */
:root {
  --blue: #0D3F90;
  --deep-blue: #062b63;
  --light-blue: #eef5ff;
  --gray-bg: #f6f8fb;
  --text: #111827;
  --muted: #6b7280;
  --line: #dbe4f0;
}

/* ==============================
  Page Loader
============================== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #fff;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.page-loader__image {
  display: block;
  width: 140px;
  height: auto;
}

.page-loader__inner p {
  margin: 0;

  color: #0d3f90;
  font-size: 15px;
  font-weight: 700;
}

/* ==============================
  Common Layout
============================== */
.inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 120px 0;
}

.section-label {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head--left {
  max-width: 760px;
  margin: 0 0 56px;
  text-align: left;
}

.section-head h2 {
  color: var(--text);
  font-size: 44px;
  font-weight: 900;
  line-height: 1.25;
}

.section-head p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

/* ==============================
  Buttons
============================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 54px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  transition: 0.3s;
}

.btn--primary {
  color: #fff;
  background-color: var(--blue);
}

.btn--primary:hover {
  background-color: var(--deep-blue);
}

.btn--light {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn--light:hover {
  color: var(--blue);
  background-color: #fff;
}

.btn--kakao {
  color: #111;
  background-color: #fee500;
}

.btn--kakao:hover {
  background-color: #f3da00;
}

/* ==============================
  Header
============================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9990;
  width: 100%;
  height: 82px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background-color: rgba(6, 43, 99, 0.38);
  backdrop-filter: blur(14px);
}

.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  /* padding: 12px 0; */
  box-sizing: border-box;
}

.logo {
  margin-right: 70px;
  height: 100%;
  width: 100px;
}

.logo a {
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
  /* background: url('../images/logo-main.png') no-repeat center center / contain; */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
   color: var(--blue);
   transition: 0.5s;
}
.header.is-scrolled .logo a {
  color: #fff
}

.gnb {
  flex: 1;
}

.gnb__list {
  display: flex;
  align-items: center;
  gap: 34px;
}

.gnb__list a {
  font-size: 16px;
  font-weight: 700;
  opacity: 0.6;
  position: relative;
  padding: 0 12px;
  transition: 0.3s;
}
.gnb__list a:after{
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  display: block;
  margin-top: 5px;
  right: 0;
  background-color: #fff;
  transition: 0.3s;
}
.gnb__list a:hover{
  opacity: 1;
}
.gnb__list a:hover:after {
  width: 100%;
  left: 0;
  background-color: #fff;
  
}

.header__call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 20px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 900;
  border-radius: 999px;
  background-color: #fff;
}

.mobile-btn {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
}

.mobile-btn span {
  display: block;
  width: 28px;
  height: 2px;
  margin-left: auto;
  border-radius: 999px;
  background-color: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-btn span + span {
  margin-top: 8px;
}

/* ==============================
  Mobile Menu
============================== */
@media (max-width: 1024px) {
  .header__call {
    display: none;
  }

  .mobile-btn {
    position: relative;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .gnb {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10000;
    display: block;
    width: min(360px, 82vw);
    height: 100vh;
    padding: 110px 32px 40px;
    background-color: var(--deep-blue);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.28);
    transform: translateX(100%);
    transition: transform 0.42s ease;
  }

  body.is-menu-open .gnb {
    transform: translateX(0);
  }

  .gnb__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .gnb__list li {
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .gnb__list a {
    display: block;
    width: 100%;
    padding: 22px 0;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.3;
    text-align: left;
    opacity: 1;
    visibility: visible;
  }

  body.is-menu-open .mobile-btn span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  body.is-menu-open .mobile-btn span:nth-child(2) {
    transform: translateY(-5px) rotate(-45deg);
  }

  body.is-fixed {
    overflow: hidden;
  }
}

/* ==============================
  FAQ Accordion
============================== */
.faq {
  background-color: var(--gray-bg);
}

.faq__inner {
  display: flex;
  gap: 80px;
}

.faq__title {
  flex: 0 0 320px;
}

.faq__title h2 {
  font-size: 44px;
  font-weight: 900;
  color: var(--text);
}

.faq-list {
  flex: 1;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  color: var(--text);
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary span {
  flex: 1;
}

.faq-icon {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background-color: var(--blue);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-active .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-content {
  overflow: hidden;
  height: 0;
}

.faq-content p {
  padding: 0 0 30px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.faq-item summary:hover {
  color: var(--blue);
}

/* ==============================
  Footer
============================== */
.footer {
  padding: 50px 0;
  color: #d6e4f7;
  background-color: #06182f;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer strong {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.footer a {
  color: #fff;
  font-weight: 800;
}

.footer small {
  margin-top: 10px;
  color: #9fb4d0;
}
.footer address {
  font-style: normal;
}

/* ==============================
  Floating Kakao CTA
============================== */
.floating-kakao {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 170px;
  height: 58px;
  padding: 0 22px;
  color: #111;
  font-size: 16px;
  font-weight: 900;
  border-radius: 999px;
  background-color: #fee500;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-kakao:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.floating-kakao__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-size: 18px;
  border-radius: 50%;
  background-color: #111;
  color: #fee500;
}

.floating-kakao__text {
  line-height: 1;
}

/* ==============================
  Common Responsive
============================== */
@media (max-width: 1024px) {
  .section {
    padding: 96px 0;
  }

  .logo {
    margin-right: 0;
  }

  .faq__inner {
    flex-direction: column;
  }

  .faq__title {
    flex: none;
  }
}

@media (max-width: 768px) {
  .inner {
    padding: 12px 20px;
  }

  .header {
    height: 68px;
  }

  .logo a {
    font-size: 22px;
  }

  .section {
    padding: 76px 0;
  }

  .section-head,
  .section-head--left {
    margin-bottom: 38px;
  }

  .section-head h2,
  .faq__title h2 {
    font-size: 32px;
  }

  .btn {
    width: 100%;
  }

  .faq-item summary {
    padding: 24px 0;
    font-size: 18px;
  }

  .faq-content p {
    font-size: 16px;
  }

  .floating-kakao {
    right: 18px;
    bottom: 18px;
    min-width: 150px;
    height: 52px;
    padding: 0 18px;
    font-size: 14px;
  }

  .floating-kakao__icon {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .floating-kakao {
    right: 14px;
    bottom: 14px;
    min-width: auto;
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
  }

  .floating-kakao__text {
    display: none;
  }

  .floating-kakao__icon {
    width: 32px;
    height: 32px;
  }
}
