/*
 * IT Platform 테마 - 외국어 서브페이지 (/sub/en, /sub/zh, /sub/ja, /sub/vi, /sub/th)
 *
 * 한국어 사이트의 Vue 번들 CSS 를 쓰지 않는 독립 스타일이다(head.sub.php 의 $intl_standalone).
 * 클래스는 모두 .intl- 로 시작한다. 단색만 쓰고(그라데이션 없음) 외부 폰트·CDN 도 쓰지 않는다.
 * 글꼴은 사용자 기기에 있는 시스템 글꼴(영어·중국어·일본어·베트남어·태국어 글자 모두 표시되는 목록).
 */

html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; }

.intl {
    --navy: #0d1b2e;
    --navy-2: #13263d;
    --blue: #0b4dd8;
    --blue-d: #083aa6;
    --ink: #101828;
    --mute: #475467;
    --line: #d9e0ea;
    --alt: #f5f7fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "Noto Sans SC", "Noto Sans JP", "Noto Sans Thai",
        "PingFang SC", "Microsoft YaHei", "Hiragino Sans", "Yu Gothic UI", Meiryo, "Leelawadee UI", Tahoma,
        "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.7;
    font-size: 16px;
    overflow-wrap: break-word;
}
.intl:lang(ja), .intl:lang(zh-CN) { line-height: 1.85; line-break: strict; }
.intl:lang(th) { line-height: 1.95; }
.intl *, .intl *::before, .intl *::after { box-sizing: border-box; }
.intl :where(h1, h2, h3, p, ul, ol, dl, dd) { margin: 0; }
.intl a { color: var(--blue); }
.intl a:focus-visible, .intl button:focus-visible, .intl input:focus-visible, .intl select:focus-visible, .intl textarea:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
}

.intl-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }

.intl-skip {
    position: absolute; left: 8px; top: -60px; z-index: 50;
    padding: 10px 16px; background: var(--navy); color: #fff !important; border-radius: 0 0 6px 6px; text-decoration: none;
}
.intl-skip:focus { top: 0; }

/* 헤더 */
.intl-header { background: #fff; border-bottom: 1px solid var(--line); }
.intl-header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.intl-brand { font-size: 22px; font-weight: 800; letter-spacing: .06em; color: var(--navy) !important; text-decoration: none; }
.intl-nav { display: flex; align-items: center; gap: 4px; }
.intl-nav a { padding: 8px 12px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; border-radius: 6px; }
.intl-nav a:hover { background: var(--alt); }
.intl-nav .intl-nav-cta { background: var(--blue); color: #fff; }
.intl-nav .intl-nav-cta:hover { background: var(--blue-d); }

.intl-langbar { background: var(--alt); border-top: 1px solid var(--line); }
.intl-langbar-row { display: flex; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.intl-langbar-label { font-size: 13px; color: var(--mute); }
.intl-langs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }
.intl-langs a {
    display: inline-block; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
    color: var(--ink); font-size: 14px; text-decoration: none;
}
.intl-langs a:hover { border-color: var(--blue); color: var(--blue); }
.intl-langs a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* 버튼 */
.intl-btn {
    display: inline-block; padding: 13px 26px; border: 1px solid var(--blue); border-radius: 6px; background: var(--blue);
    color: #fff !important; font: inherit; font-weight: 700; text-decoration: none; text-align: center; cursor: pointer;
}
.intl-btn:hover { background: var(--blue-d); border-color: var(--blue-d); }
.intl-btn-ghost { background: transparent; color: var(--blue) !important; }
.intl-btn-ghost:hover { background: var(--blue-d); color: #fff !important; }

/* 히어로 */
.intl-hero { background: var(--navy); color: #fff; padding: 64px 0 72px; }
.intl-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: #9db9ee; margin-bottom: 14px; }
.intl-hero h1 { font-size: clamp(27px, 4.6vw, 46px); line-height: 1.3; font-weight: 800; max-width: 24em; }
.intl:lang(th) .intl-hero h1 { line-height: 1.5; }
.intl-hero-sub { margin-top: 18px; max-width: 46em; font-size: 17px; color: #d5deec; }
.intl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.intl-hero .intl-btn-ghost { color: #fff !important; border-color: rgba(255, 255, 255, .55); }
.intl-hero .intl-btn-ghost:hover { background: #fff; color: var(--navy) !important; border-color: #fff; }

/* 공통 섹션 */
.intl-section { padding: 56px 0; }
.intl-alt { background: var(--alt); }
.intl-section h2 { font-size: clamp(23px, 3.2vw, 30px); line-height: 1.35; font-weight: 800; color: var(--navy); }
.intl-lead { margin-top: 10px; color: var(--mute); }

/* 소개 */
.intl-about { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.intl-about p { margin-top: 14px; color: var(--mute); }
.intl-facts { border-top: 2px solid var(--navy); }
.intl-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 2px; border-bottom: 1px solid var(--line); }
.intl-facts dt { color: var(--mute); font-size: 14px; }
.intl-facts dd { font-weight: 700; text-align: right; }

/* 카드 */
.intl-grid { list-style: none; padding: 0; margin-top: 28px; display: grid; gap: 16px; }
.intl-grid-4 { grid-template-columns: repeat(4, 1fr); }
.intl-grid-2 { grid-template-columns: repeat(2, 1fr); }
.intl-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
.intl-card-line { border-left: 4px solid var(--blue); }
.intl-num { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 800; color: var(--blue); }
.intl-card h3 { font-size: 18px; line-height: 1.4; color: var(--navy); }
.intl-card p { margin-top: 8px; font-size: 15px; color: var(--mute); }

/* 진행 단계 */
.intl-steps { list-style: none; padding: 0; margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.intl-steps li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px; }
.intl-step-no {
    display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 12px;
    border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800;
}
.intl-steps h3 { font-size: 17px; line-height: 1.4; color: var(--navy); }
.intl-steps p { margin-top: 6px; font-size: 15px; color: var(--mute); }

/* 문의 */
.intl-contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.intl-info { margin-top: 24px; border-top: 2px solid var(--navy); }
.intl-info div { padding: 14px 2px; border-bottom: 1px solid var(--line); }
.intl-info dt { font-size: 13px; color: var(--mute); margin-bottom: 2px; }
.intl-info dd { font-weight: 600; }

.intl-form { display: block; }
.intl-field { margin-bottom: 16px; }
.intl-field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.intl-req { color: #b42318; }
.intl-field input, .intl-field select, .intl-field textarea {
    display: block; width: 100%; padding: 12px 14px; border: 1px solid #b9c3d3; border-radius: 6px; background: #fff;
    color: var(--ink); font: inherit; font-size: 16px;
}
.intl-field textarea { resize: vertical; min-height: 140px; }
.intl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.intl-consent { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 18px; }
.intl-consent input { flex: none; width: 20px; height: 20px; margin-top: 4px; }
.intl-consent label { font-size: 14px; color: var(--mute); }
.intl-btn-submit { min-width: 200px; }
.intl-btn-submit[disabled] { opacity: .6; cursor: default; }
.intl-status { margin-top: 14px; min-height: 1.6em; font-weight: 600; }
.intl-status.is-ok { color: #067647; }
.intl-status.is-err { color: #b42318; }

/* 서비스 상세 */
.intl-crumbs { background: #fff; border-bottom: 1px solid var(--line); font-size: 13px; }
.intl-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0 auto; padding-top: 10px; padding-bottom: 10px; color: var(--mute); }
.intl-crumbs li + li::before { content: "/"; margin-right: 8px; color: #98a2b3; }
.intl-crumbs a { color: var(--mute); text-decoration: none; }
.intl-crumbs a:hover { color: var(--blue); text-decoration: underline; }

.intl-grid-3 { grid-template-columns: repeat(3, 1fr); }
.intl-card-links { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.intl-card-links a { font-size: 14px; font-weight: 700; text-decoration: none; }
.intl-card-links a:hover { text-decoration: underline; }

.intl-bullets { list-style: none; padding: 0; margin-top: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 32px; }
.intl-bullets li { position: relative; padding-left: 22px; }
.intl-bullets li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }

.intl-faq { margin-top: 24px; border-top: 1px solid var(--line); }
.intl-faq details { border-bottom: 1px solid var(--line); }
.intl-faq summary { position: relative; padding: 16px 32px 16px 0; font-weight: 700; color: var(--navy); cursor: pointer; list-style: none; }
.intl-faq summary::-webkit-details-marker { display: none; }
.intl-faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 22px; line-height: 1.4; color: var(--blue); }
.intl-faq details[open] summary::after { content: "2"; }
.intl-faq p { padding: 0 0 18px; color: var(--mute); }

.intl-cta { background: var(--navy); color: #fff; padding: 48px 0; text-align: center; }
.intl-cta h2 { color: #fff; font-size: clamp(22px, 3vw, 28px); line-height: 1.4; }
.intl-cta p { max-width: 40em; margin: 10px auto 22px; color: #d5deec; }

.intl-chips { list-style: none; padding: 0; margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.intl-chips a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; text-decoration: none; }
.intl-chips a:hover { border-color: var(--blue); color: var(--blue); }

.intl-footer-nav { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.intl-footer-title { margin-bottom: 8px; font-weight: 700; color: #fff; }
.intl-footer-nav ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.intl-footer-nav a { color: #c8d3e3; text-decoration: none; }
.intl-footer-nav a:hover { color: #fff; text-decoration: underline; }

/* 푸터 */
.intl-footer { background: var(--navy); color: #c8d3e3; padding: 26px 0; font-size: 14px; }
.intl-footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.intl-footer a { color: #fff; }

@media (max-width: 1024px) {
    .intl-grid-4, .intl-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .intl-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .intl-about, .intl-contact { grid-template-columns: 1fr; gap: 32px; }
    .intl-nav a:not(.intl-nav-cta) { display: none; }
}
@media (max-width: 600px) {
    .intl-hero { padding: 44px 0 52px; }
    .intl-hero-sub { font-size: 16px; }
    .intl-section { padding: 42px 0; }
    .intl-grid-4, .intl-grid-3, .intl-grid-2, .intl-steps, .intl-bullets { grid-template-columns: 1fr; }
    .intl-actions .intl-btn { flex: 1 1 100%; }
    .intl-facts div { flex-direction: column; gap: 2px; }
    .intl-facts dd { text-align: left; }
    .intl-btn-submit { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
