@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap");

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body,
html {
  margin: 0;
  padding: 0;
  font-family:
    "Pretendard",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

a {
  text-decoration: none;
  color: inherit;
  line-height: 36.982px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  line-height: normal;
  word-break: keep-all;
}

li,
a {
  word-break: keep-all;
}

a {
  cursor: pointer;
}

textarea {
  resize: none;
}

button:hover {
  cursor: pointer;
  opacity: 0.8;
}

.btn-start {
  display: flex;
  width: 80px;
  height: 40px;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  background: #4483f9;
  color: #fff;
  text-align: center;
  font-family: Pretendard;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
}

.site-header {
  background-color: #fff;
  position: fixed;
  top: 0;
  background: #fff;
  z-index: 999;
  width: 100%;
}

.header-inner {
  display: flex;
  height: 80px;
  padding: 10px 22px;
  align-items: center;
  justify-content: space-between;

  max-width: 1440px;
  margin: 0 auto;
}

.header-inner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.header-inner .header-left {
  display: flex;
  align-items: center;
  gap: 70px;
}

.header-inner .logo {
  font-weight: bold;
  font-size: 1.5rem;
  color: #000;
  line-height: normal;
  display: flex;
  align-items: center;
}

.header-inner .main-nav {
  display: flex;
  gap: 40px;
}

.header-inner .main-nav a {
  color: #364153;
  font-size: 15px;
  font-weight: 500;
  padding: 10px;
}

.header-inner .main-nav a.active {
  color: #000;
  font-weight: 600;
}

.header-inner .main-nav a:first-child::before {
  display: none;
}

.header-inner .header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-consult {
  color: #171719;
  font-size: 13px;
  font-weight: 500;
  line-height: normal;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  display: flex;
  padding: 7px 14px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: transparent;
}

/* 모바일 메뉴 토글 버튼 */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: #222;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* 모바일 네비게이션 */
.mobile-nav {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background-color: #fff;
  border-bottom: 1.5px solid #e5e7eb;
  flex-direction: column;
  padding: 0;
  z-index: 998;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s ease;
}

.mobile-nav.active {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav a {
  padding: 15px 20px;
  color: #364153;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid #e5e7eb;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a.active {
  color: #000;
  font-weight: 600;
}

/* footer */
.site-footer {
  /* background: #1a1a1a; */
  background: #f4f3f6;
  color: #4483f9;
  padding: 88px 0;
  font-size: 14px;
  letter-spacing: -0.01em;
  font-weight: 400;
  line-height: 24px;
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-info__row {
  display: flex;
  gap: 10px 100px;
}

.footer-info__row:first-child {
  gap: 20px;
}

.footer-info__row:first-child .info-item {
  width: fit-content;
}

.footer-info__row .info-item {
  width: 345px;
  color: #4483f9;
  font-size: 14px;
  font-weight: 400;
  line-height: 23.99px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 0;
  margin-top: 40px;
  /* border-top: 1px solid rgba(255, 255, 255, 0.3); */
  border-top: 1px solid #4483f9;
}

.footer-bottom__links {
  display: flex;
  gap: 15px;
}

.footer-bottom__links a,
.footer-bottom__copyright {
  text-decoration: none;
  line-height: normal;
  color: #4483f9;
  font-size: 14px;
  font-weight: 400;
}

.footer-bottom__links a.highlight {
  font-weight: 700;
}

section {
  text-align: center;
}

.section-header {
  text-align: center;
  padding: 0;
}

/* --- 공통 타이틀 & 서브타이틀 (Hero, Section01 제외) --- */
.section-header__title {
  color: #1c1c1c;
  font-size: 48px;
  font-weight: 700;
  line-height: 72px;
  margin-bottom: 28px;
}

.section-header__subtitle {
  font-size: 22px;
  font-weight: 600;
  line-height: 30px;
  margin-bottom: 24px;
}

.section-header__desc {
  color: #757575;
  font-weight: 400;
  margin-bottom: 28px;
  line-height: 30px;
  font-size: 20px;
}

.section-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 40px;
}

@media (max-width: 1280px) {
  .section-header__desc {
    font-size: 18px;
    line-height: 24px;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 0;
  }

  .footer-container {
    padding: 62px 24px;
  }

  .footer-info__row {
    flex-wrap: wrap;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-bottom__links {
    flex-wrap: wrap;
    gap: 10px;
  }

  .section-header__desc {
    font-size: 15px;
    line-height: 20px;
  }

  .partner-list {
    flex-direction: column;
  }
}

main {
  position: relative;
  padding-top: 80px;
}

main section {
  text-align: center;
}

/* 홈으로 돌아가기 버튼 */
.back-button-section {
  background: #fff;
  padding: 59px 0 52px 0;
}

.back-to-home {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}

.back-to-home span {
  color: #3182f6;
  font-size: 20px;
  line-height: 32px;
}

/* --- 브레드크럼 --- */
.breadcrumbs {
  display: none;
  padding: 120px 0 60px 0;
}

.breadcrumbs .container {
  display: flex;
  align-items: center;
  gap: 9px;
}

.breadcrumbs-home {
  color: #4a5565;
  font-size: 22px;
  font-weight: 700;
  line-height: 26px;
}

.breadcrumbs-separator {
  color: #4a5565;
  font-size: 18px;
  line-height: 26px;
}

.breadcrumbs-page {
  color: #62748e;
  font-size: 18px;
  line-height: 27px;
}

.section-container,
.page-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 20px;
}

.section-container.reverse {
  flex-direction: row-reverse;
}

.page-container {
  padding: 0 20px;
  width: 100%;
}

.page-container h2 {
  font-weight: 500;
  line-height: normal;
  color: #0a0a0a;
  font-size: 40px;
  margin-bottom: 20px;
}

.page-container p {
  color: #4a5565;
  text-align: center;
  font-size: 24px;
  line-height: 37px;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 30px;
}

/* --- page intro image --- */
.page-intro-image {
  position: relative;
  height: 600px;
}

.page-intro-image-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.page-intro-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;

  /* IE 11 대응 */
  /* height: 400px; */
  /* 모던 브라우저 대응 */
  /* height: clamp(400px, 40.62vw, 960px); */
  /* height: 960px; */
}

.page-intro-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  width: 100%;
  z-index: 3;
  user-select: none;
}

.page-intro-title h2 {
  letter-spacing: -0.6px;
  display: flex;
  flex-direction: column;
  gap: 20px;

  color: #fff;
  text-align: center;
  font-family: Pretendard;
  font-size: 48px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
}

.page-intro-title h2 .title-desc {
  color: #fff;
  text-align: center;
  font-size: 40px;
  font-weight: 300;
  line-height: normal;
  padding: 0 20px;
}

.page-intro-title h2 .title-desc.highlight {
  font-weight: 600;
}

.highlight {
  font-weight: 700;
}

.btn-text {
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-spinner {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 50%;
  transform: translateX(-50%);
}

.loading-spinner span {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#header-placeholder {
  position: fixed;
  top: 0;
  background: #fff;
  z-index: 999;
  width: 100%;
}

/* =================================
 * CTA 섹션 스타일
 * ================================= */
.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 50px;
  width: 100%;
}

.btn-cta {
  display: flex;
  height: 42px;
  padding: 8px 33px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 50px;
  background: #4483f9;
  color: #fff;
  font-size: 16.614px;
  font-weight: 700;
  line-height: 24.922px;
}

.cta-text {
  color: #1b1e26;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
}

.cta-text a {
  color: #235bf5;
  padding: 0 3px;
}

@media (max-width: 1280px) {
  /* 선택자 간소화 */
  .main-nav,
  .header-right .link-login {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .btn-consult {
    display: none;
    margin-right: 10px;
  }

  .text-break {
    display: block;
  }

  .section-header__title {
    font-size: 24px;
    margin-bottom: 28px;
  }
  .section-header__subtitle {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 28px;
  }

  .section-cta .section-container {
    padding: 48px;
  }

  .cta-title {
    margin: 0;
    line-height: 32px;
  }
  .cta-content {
    gap: 16px;
  }
  .cta-text {
    font-size: 15px;
  }
}

@media (max-width: 1024px) {
  .page-intro-title h2 {
    font-size: 38px;
  }

  .page-intro-title h2 .title-desc {
    font-size: 26px;
  }

  .page-intro-title h2 .title-desc br {
    display: none;
  }
}

@media (max-width: 768px) {
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p {
    line-height: 1.4;
  }

  /* 모바일 헤더 스타일 (1280px 위로 이동됨) */
  .site-header .header-left {
    gap: 20px;
  }

  .back-button-section {
    padding: 30px 0;
  }

  .breadcrumbs {
    padding: 60px 0;
  }

  .page-container {
    padding: 0 20px;
    max-height: unset;
  }

  .page-container h2 {
    font-size: 22px;
    margin-bottom: 15px;
    line-height: 1.4;
  }

  .page-container p {
    font-size: 16px;
    line-height: 1.8;
  }

  .footer-content {
    flex-direction: column;
    gap: 0;
  }

  .footer-item,
  .footer-logo {
    display: none;
  }

  .footer-logo img {
    width: 50%;
  }

  .footer-logo p {
    font-size: 15px;
  }

  .footer-contact {
    width: 100%;
    gap: 0;
  }

  .footer-contact .item-data {
    line-height: 32px;
  }

  .footer-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .footer-content-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 10px;
    gap: 20px;
  }

  .footer-content-item ul {
    gap: 15px;
    margin-top: 10px;
  }

  .footer-contact-wrapper {
    flex-wrap: wrap-reverse;
    gap: 50px;
  }

  .footer-copyright {
    width: 100%;
    align-items: flex-start;
  }

  .footer-copyright p {
    font-size: 13px;
    font-weight: 300;
  }

  .item-title {
    line-height: 1.4;
  }

  .quick-menu-list .item-data {
    font-weight: 500;
    line-height: 32px;
    width: max-content;
  }

  .page-intro-image-wrapper::before,
  .page-intro-image,
  .page-intro-image img {
    height: 400px;
  }

  .section-container,
  .page-section {
    height: auto;
  }

  .page-section {
    padding: 50px 0;
  }

  .page-intro-title h2 {
    font-size: 25px;
    gap: 5px;
  }

  .page-intro-title h2 .title-desc {
    margin-top: 15px;
    font-size: 20px;
    padding: 0 20px;
    line-height: 1.4;
  }

  .footer-content-item-inner {
    flex-wrap: wrap;
    gap: 50px;
    justify-content: flex-start;
  }

  .footer-quick-menu {
    align-items: flex-start;
    justify-content: flex-start;
    gap: 5px;
  }
}
