* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  color: #13233f;
  background: #f5f8fc;
  line-height: 1.6;
}

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

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

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

/* header */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #dbe4f0;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 0 14px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d4ea6, #1f74e0);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 34px;
  flex-shrink: 0;
}

.brand-sub {
  margin: 0 0 6px;
  font-size: 15px;
  color: #334e75;
  font-weight: 700;
}

.brand-text h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1.05;
  color: #0d2e66;
  font-weight: 900;
}

.brand-en {
  margin: 6px 0 0;
  font-size: 22px;
  color: #657b9c;
  font-weight: 700;
}

.header-right {
  text-align: right;
}

.header-small {
  margin: 0 0 10px;
  font-size: 18px;
  color: #203d68;
  font-weight: 700;
}

.header-contact {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  align-items: flex-start;
}

.phone-icon {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  font-size: 38px;
  line-height: 1;
  color: #ffffff;
  background: #0c56b6;
  border-radius: 50%;
}

.contact-label {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #34527f;
}

.contact-number {
  margin: 0;
  font-size: 42px;
  font-weight: 900;
  color: #0a49a0;
  line-height: 1.1;
}

.contact-time {
  margin: 6px 0 0;
  font-size: 19px;
  font-weight: 700;
  color: #34527f;
}

.quick-links {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-bottom: 12px;
  font-size: 15px;
  color: #213a64;
  font-weight: 700;
}

.main-nav {
  background: linear-gradient(90deg, #0d4aa6, #0a56c7);
}

.nav-inner {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  padding: 14px 0;
  cursor: pointer;
}

.nav-list {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 0;
  padding: 0;
  margin: 0;
  width: 100%;
}

.nav-list li {
  flex: 1;
  text-align: center;
}

.nav-list a {
  display: block;
  color: #fff;
  padding: 18px 10px;
  font-size: 17px;
  font-weight: 800;
  border-right: 1px solid rgba(255,255,255,0.25);
}

.nav-list li:first-child a {
  border-left: 1px solid rgba(255,255,255,0.25);
}

.nav-list a:hover {
  background: rgba(255,255,255,0.12);
}

/* hero */
.hero {
  background:
    linear-gradient(135deg, #0c3d91 0%, #0f68db 60%, #43b4ff 100%);
  color: #fff;
  overflow: hidden;
}

.hero-inner {
  min-height: 540px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 30px;
  padding: 50px 0 30px;
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 18px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.hero-copy h2 {
  margin: 0 0 18px;
  font-size: 68px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -1.5px;
}

.hero-copy h2 span {
  color: #ffe15a;
}

.hero-desc {
  max-width: 680px;
  margin: 0;
  font-size: 23px;
  line-height: 1.6;
  color: rgba(255,255,255,0.95);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 16px 24px;
  border-radius: 14px;
  font-size: 19px;
  font-weight: 800;
  transition: 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #0b4fb3;
  color: #fff;
  border: 2px solid #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: #0b4fb3;
  border: 2px solid #ffffff;
}

.btn-light {
  background: #fff;
  color: #0b4fb3;
  border: 2px solid #d5e1f3;
}

.hero-visual {
  position: relative;
  min-height: 430px;
}

.globe {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.95), rgba(255,255,255,0.15) 28%, rgba(255,255,255,0) 36%),
    radial-gradient(circle at 50% 50%, #73d3ff, #1679eb 55%, #0c47a6 100%);
  box-shadow:
    0 0 0 10px rgba(255,255,255,0.1),
    0 0 60px rgba(143, 221, 255, 0.55);
}

.globe::before,
.globe::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
}

.globe::after {
  inset: 60px 15px;
  border-width: 1px;
}

.airplane {
  position: absolute;
  right: 10px;
  top: 105px;
  font-size: 100px;
  color: #fff;
  transform: rotate(6deg);
  text-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  background:
    linear-gradient(to top, rgba(7, 48, 115, 0.8), rgba(7, 48, 115, 0.1)),
    repeating-linear-gradient(
      to right,
      transparent 0 16px,
      rgba(255,255,255,0.18) 16px 20px,
      transparent 20px 42px,
      rgba(255,255,255,0.25) 42px 58px,
      transparent 58px 85px
    );
  border-top: 2px solid rgba(255,255,255,0.18);
}

/* services */
.services {
  margin-top: -10px;
  padding: 26px 0 18px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.service-card {
  background: #fff;
  border: 1px solid #d7e2f0;
  border-radius: 18px;
  padding: 26px 18px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(13, 42, 84, 0.05);
  transition: 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(13, 42, 84, 0.08);
}

.service-card .icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: #eef5ff;
  color: #0f54b7;
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 900;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 23px;
  color: #0e2f68;
}

.service-card p {
  margin: 0;
  font-size: 18px;
  color: #384e73;
  line-height: 1.6;
}

/* about */
.about-benefits {
  padding: 14px 0 24px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.about-box,
.benefits-box {
  background: linear-gradient(180deg, #f7fbff, #edf5ff);
  border: 1px solid #d8e4f3;
  border-radius: 20px;
  padding: 32px;
}

.about-box h2,
.benefits-box h2 {
  margin: 0 0 14px;
  font-size: 42px;
  line-height: 1.2;
  color: #0e2e67;
}

.about-box p {
  margin: 0;
  font-size: 21px;
  color: #3c5277;
}

.benefits-box {
  display: grid;
  gap: 18px;
}

.benefit-item {
  padding: 16px 0;
  border-bottom: 1px solid #dbe7f5;
}

.benefit-item:last-child {
  border-bottom: 0;
}

.benefit-item h3 {
  margin: 0 0 6px;
  font-size: 27px;
  color: #0f54b7;
}

.benefit-item p {
  margin: 0;
  font-size: 18px;
  color: #425978;
}

/* contact */
.contact-band {
  padding: 8px 0 28px;
}

.contact-band-inner {
  background: #fff;
  border: 1px solid #d6e2f0;
  border-radius: 20px;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  box-shadow: 0 8px 24px rgba(13, 42, 84, 0.05);
}

.contact-title {
  margin: 0;
  font-size: 24px;
  color: #314f7e;
  font-weight: 800;
}

.contact-big {
  margin: 4px 0;
  font-size: 50px;
  line-height: 1.1;
  color: #0a49a0;
  font-weight: 900;
}

.contact-sub {
  margin: 0;
  font-size: 18px;
  color: #596f91;
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* footer */
.site-footer {
  background: #102b55;
  color: #dce8fa;
  padding: 28px 0;
}

.footer-inner {
  text-align: center;
}

.footer-title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

.footer-text {
  margin: 0 0 14px;
  font-size: 17px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

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

/* responsive */
@media (max-width: 1100px) {
  .brand-text h1 {
    font-size: 38px;
  }

  .brand-en {
    font-size: 18px;
  }

  .contact-number {
    font-size: 32px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy h2 {
    font-size: 52px;
  }

  .hero-desc {
    max-width: 100%;
    font-size: 20px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    min-height: 360px;
  }

  .globe {
    width: 320px;
    height: 320px;
    left: 50%;
    transform: translateX(-50%);
  }

  .airplane {
    left: 58%;
    right: auto;
    top: 95px;
    font-size: 82px;
    transform: translateX(-50%) rotate(5deg);
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-right {
    text-align: left;
    width: 100%;
  }

  .header-contact {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

  .quick-links {
    justify-content: flex-start;
    padding-top: 4px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-bottom: 10px;
  }

  .nav-list.open {
    display: flex;
  }

  .nav-list li,
  .nav-list a {
    width: 100%;
  }

  .nav-list a {
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    text-align: left;
    padding: 14px 8px;
  }

  .brand-text h1 {
    font-size: 34px;
  }

  .brand-en {
    font-size: 16px;
  }

  .header-small {
    font-size: 16px;
  }

  .contact-number {
    font-size: 30px;
  }

  .hero-inner {
    min-height: auto;
    padding: 36px 0 24px;
  }

  .hero-copy h2 {
    font-size: 40px;
  }

  .hero-desc {
    font-size: 18px;
  }

  .btn {
    width: 100%;
    min-width: 0;
    font-size: 17px;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .service-card h3 {
    font-size: 20px;
  }

  .service-card p,
  .about-box p,
  .benefit-item p,
  .contact-sub,
  .footer-text {
    font-size: 16px;
  }

  .about-box h2,
  .benefit-item h3 {
    font-size: 30px;
  }

  .contact-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-big {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, 1200px);
  }

  .logo-mark {
    width: 56px;
    height: 56px;
    font-size: 26px;
  }

  .brand-link {
    align-items: flex-start;
  }

  .brand-sub {
    font-size: 13px;
  }

  .brand-text h1 {
    font-size: 30px;
  }

  .brand-en {
    font-size: 14px;
  }

  .contact-number {
    font-size: 26px;
  }

  .contact-time {
    font-size: 13px;
  }

  .hero-copy h2 {
    font-size: 33px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-visual {
    min-height: 260px;
  }

  .globe {
    width: 240px;
    height: 240px;
    top: 0;
  }

  .airplane {
    top: 65px;
    font-size: 60px;
  }

  .skyline {
    height: 80px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .about-box,
  .benefits-box {
    padding: 24px;
  }

  .about-box h2,
  .benefit-item h3 {
    font-size: 25px;
  }

  .contact-actions {
    width: 100%;
  }

  .contact-actions .btn {
    width: 100%;
  }
}


.contact-sub {
  font-size: 20px;
  font-weight: 700;
  color: #34527f;
}


/* 상단 전화 상담 영역 정렬 */

.header-contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.phone-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #0c56b6;
  color: #ffffff;
  border-radius: 50%;
  font-size: 38px;
  line-height: 1;
}

.phone-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.phone-info .contact-label {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #34527f;
}

.phone-info .contact-number {
  display: block;
  margin: 3px 0;
  font-size: 40px;
  font-weight: 900;
  line-height: 1.2;
  color: #0a49a0;
  white-space: nowrap;
}

.phone-info .contact-time {
  margin: 3px 0 0;
  font-size: 19px;
  font-weight: 700;
  color: #34527f;
  white-space: nowrap;
}

/* 모바일 화면 */

@media (max-width: 480px) {
  .header-contact {
    justify-content: flex-start;
    gap: 10px;
  }

  .phone-icon {
    width: 46px;
    height: 46px;
    font-size: 29px;
  }

  .phone-info .contact-number {
    font-size: 27px;
  }

  .phone-info .contact-time {
    font-size: 14px;
  }
}


/* 글로벌서류센터 소개 영역 개선 */

.about-box h2 {
  font-size: 34px;
  letter-spacing: -1px;
  line-height: 1.3;
  margin-bottom: 18px;
}

.about-box p {
  font-size: 19px;
  line-height: 1.8;
  letter-spacing: -0.5px;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-align: left;
}

@media (max-width: 768px) {
  .about-box h2 {
    font-size: 27px;
  }

  .about-box p {
    font-size: 17px;
    line-height: 1.7;
  }
}

.service-card p {
  font-size: 17px;
  letter-spacing: -0.5px;
  line-height: 1.6;
  word-break: keep-all;
}



/* 새로운 메인 배경 이미지 */

.hero {
  background:
    linear-gradient(
      90deg,
      rgba(4, 38, 94, 0.92) 0%,
      rgba(5, 55, 120, 0.82) 35%,
      rgba(5, 55, 120, 0.18) 72%,
      rgba(5, 55, 120, 0.03) 100%
    ),
    url("../images/main-visual.webp");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-inner {
  display: flex;
  align-items: center;
  min-height: 520px;
  padding: 55px 0;
}

.hero-copy {
  width: 100%;
  max-width: 650px;
  position: relative;
  z-index: 1;
}

.hero-copy h2 {
  font-size: clamp(34px, 4vw, 54px);
}

.hero-desc {
  font-size: 19px;
}

/* 스마트폰 반응형 */

@media (max-width: 768px) {
  .hero {
    background:
      linear-gradient(
        90deg,
        rgba(4, 38, 94, 0.92),
        rgba(4, 38, 94, 0.72)
      ),
      url("../images/main-visual.webp");

    background-size: cover;
    background-position: 65% center;
  }

  .hero-inner {
    min-height: 420px;
    padding: 45px 0;
  }

  .hero-copy h2 {
    font-size: 34px;
  }

  .hero-desc {
    font-size: 17px;
  }
}




/* PC 메인 배경 이미지 위치 조정 */

@media (min-width: 769px) {
  .hero {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #104b94;
  }

  .hero-inner {
    min-height: 650px;
    padding: 50px 0;
  }
}




/* 전화번호 줄바꿈 방지 */

.contact-number,
.contact-big {
  white-space: nowrap;
}

/* 가로 화면에서 전화번호 크기 자동 조절 */

@media (min-width: 481px) and (max-width: 900px) {
  .contact-number {
    font-size: 28px;
  }

  .contact-big {
    font-size: 34px;
  }
}







/* 중국비자 드롭다운: 기존 네비게이션 디자인 보존 */
.nav-list > li.visa-dropdown { position: relative; display: flex; align-items: stretch; justify-content: center; }
.nav-list > li.visa-dropdown > a { flex: 1; min-width: 0; padding-right: 27px; }
.nav-list > li.visa-dropdown > .visa-dropdown-toggle {
  position: absolute; right: 0; top: 0; height: 100%; width: 32px; z-index: 3;
  border: 0; border-right: 1px solid rgba(255,255,255,.25);
  background: transparent; color: #fff; cursor: pointer; font-size: 17px;
}
.nav-list > li.visa-dropdown > .visa-dropdown-toggle:hover,
.nav-list > li.visa-dropdown > .visa-dropdown-toggle:focus-visible { background: rgba(255,255,255,.14); }
.nav-list .visa-submenu {
  display: none; position: absolute; left: 0; top: 100%; z-index: 200;
  min-width: 210px; width: max-content; max-width: min(90vw, 290px);
  list-style: none; padding: 6px 0; margin: 0;
  background: #fff; border: 1px solid #d9e5f3; border-radius: 0 0 12px 12px;
  box-shadow: 0 13px 28px rgba(17,47,93,.18);
}
.nav-list .visa-submenu li { display: block; width: 100%; text-align: left; }
.nav-list .visa-submenu a {
  display: block; width: 100%; padding: 11px 17px;
  color: #194b8b; background: #fff; border: 0 !important;
  font-size: 15px; font-weight: 700; line-height: 1.5;
}
.nav-list .visa-submenu a:hover,
.nav-list .visa-submenu a:focus-visible,
.nav-list .visa-submenu a[aria-current="page"] { color: #0a4da3; background: #e9f2ff; }
@media (min-width: 769px) {
  .nav-list > li.visa-dropdown:hover > .visa-submenu,
  .nav-list > li.visa-dropdown:focus-within > .visa-submenu,
  .nav-list > li.visa-dropdown.visa-open > .visa-submenu { display: block; }
}
@media (max-width: 768px) {
  .nav-list > li.visa-dropdown { display: block; width: 100%; }
  .nav-list > li.visa-dropdown > a { padding-right: 54px; }
  .nav-list > li.visa-dropdown > .visa-dropdown-toggle {
    width: 48px; height: 49px; border-left: 1px solid rgba(255,255,255,.18); border-right: 0;
  }
  .nav-list > li.visa-dropdown > .visa-submenu {
    position: static; min-width: 0; max-width: none; width: 100%;
    box-shadow: none; border-radius: 0; border: 0; padding: 0; background: #eaf2ff;
  }
  .nav-list > li.visa-dropdown.visa-open > .visa-submenu { display: block; }
  .nav-list > li.visa-dropdown > .visa-submenu a {
    background: #eaf2ff; border-bottom: 1px solid #d6e4f7 !important;
    color: #123b79; padding: 12px 20px; font-size: 15px; text-align: left;
  }
  .nav-list > li.visa-dropdown > .visa-submenu a:hover,
  .nav-list > li.visa-dropdown > .visa-submenu a[aria-current="page"] { background: #d6e8ff; }
}
