/* =========================================================
   리프이노베이션 수출바우처 랜딩페이지
   - PC: 1200px 이상 / 태블릿: 768~1199px / 모바일: 767px 이하
   ========================================================= */

/* ---------- 1. 디자인 토큰 ---------- */
:root {
  --navy: #0e1733;
  --text: #1b2235;
  --gray: #5f6675;
  --gray-2: #6b7280;
  --line: #e4e7ee;

  --violet: #5a2df2;        /* WE CREATE, 강조 텍스트 */
  --violet-text: #5534ec;
  --primary: #4334e2;       /* 헤더·메인 버튼 */
  --primary-hover: #3627c9;
  --eyebrow: #4636d8;
  --blue-text: #4c5ff0;     /* BEYOND CONTENT 강조 */
  --orange: #d0743a;        /* 서비스 영문 라벨 */
  --peach: #efc39c;         /* 더보기 버튼 테두리 */
  --chevron: #e7c79b;
  --indigo: #3e3ab0;        /* 진행 단계 아이콘 */
  --stat: #3a2ee6;
  --submit: #1f5be6;
  --submit-hover: #184bc4;
  --danger: #d93025;
  --success: #12805c;

  --contact-bg: #0f1a33;
  --challenge-bg: #f3f5fc;

  --container: 1230px;
  --container-wide: 1444px;
  --gutter: 24px;
  --header-h: 64px;
  --radius: 10px;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;
}

/* ---------- 2. 기본 스타일 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 3px solid #7c6cff; outline-offset: 3px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  padding: 10px 16px; background: var(--navy); color: #fff; border-radius: 6px;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
/* WHY LEAP·포트폴리오·마케팅·진행 과정: 제품 사진 470px × 3장(1444px)에 맞춘 넓은 영역 */
.container--wide { max-width: calc(var(--container-wide) + var(--gutter) * 2); }

.text-violet { color: var(--violet-text); }
.text-blue { color: var(--blue-text); }

/* ---------- 3. 공통 컴포넌트 ---------- */
.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--eyebrow);
  text-transform: uppercase;
}
.eyebrow--sm { font-size: 12px; letter-spacing: .3em; }
.eyebrow--wide { font-size: 15px; font-weight: 600; letter-spacing: .35em; }
.eyebrow--light { color: #fff; }

.section-head--center { text-align: center; }
.challenge .section-title { font-size: clamp(30px, 4.4vw, 58px); }
.why .section-title { font-size: clamp(28px, 4.1vw, 54px); }
.marketing .section-title { font-size: clamp(26px, 3.26vw, 43px); }
.faq .section-title { font-size: clamp(28px, 3.56vw, 47px); }
.section-title {
  margin-top: 10px;
  font-size: clamp(26px, 3.05vw, 40px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.025em;
  color: var(--navy);
}
.section-title--lg { font-size: clamp(28px, 3.35vw, 44px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 20px;
  border: 1px solid transparent; border-radius: 6px;
  font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn--lg { min-height: 46px; padding: 0 26px; min-width: 199px; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-hover); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .9); color: #fff; background: rgba(255, 255, 255, .04); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .16); }
.btn--more {
  min-height: 56px; padding: 0 44px; border: 1.5px solid var(--peach); border-radius: 999px;
  background: #fff; color: var(--navy); font-weight: 500; flex-shrink: 0;
}
.btn--more:hover { background: #fff8f1; }
.btn__arrow { font-size: 13px; margin-left: 6px; }

/* ---------- 4. HEADER ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: #fff;
  transition: box-shadow .2s;
}
.header.is-scrolled { box-shadow: 0 2px 16px rgba(14, 23, 51, .08); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.header__logo img { height: 46px; width: auto; }
.header__menu { display: flex; align-items: center; gap: 26px; }
.header__link { font-size: 15px; font-weight: 500; color: var(--navy); padding: 10px 0; }
.header__link:hover { color: var(--primary); }
.header__cta { min-height: 45px; padding: 0 16px; font-size: 14.5px; }
.header__toggle { display: none; }

/* ---------- 5. MAIN (HERO) ---------- */
.hero {
  position: relative;
  height: clamp(540px, calc(32.7vw + 120px), 720px);
  display: flex; align-items: center;
  overflow: hidden;
  color: #fff;
  background: #2b3a2a url("../assets/videos/main/01-poster.jpg") center / cover no-repeat;
}
.hero__media, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__video { object-fit: cover; object-position: center; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 28, .34) 0%, rgba(8, 12, 28, .42) 100%);
}
.hero__content { position: relative; z-index: 1; text-align: center; }
.hero__title {
  font-size: clamp(28px, 3.64vw, 48px);
  font-weight: 700; line-height: 1.33; letter-spacing: -0.02em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .28);
}
.hero__accent { color: #f7c08a; }
.hero__actions { margin-top: 28px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---------- 6. YOUR CHALLENGE ---------- */
.challenge {
  background:
    radial-gradient(120% 60% at 50% 100%, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, #f9fafd 0%, var(--challenge-bg) 55%, #f5f7fd 100%);
  overflow: hidden;
}
.challenge__stage { position: relative; }
.challenge .section-head { position: relative; z-index: 2; }

.challenge__map { position: relative; }
.challenge__map img {
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(180deg, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%), linear-gradient(180deg, #000 82%, transparent 100%);
  mask-composite: intersect;
}
/* 플랫폼 로고 카드: 지도 이미지 위 원래 위치(%)에 원본 로고를 배치 */
.platform {
  position: absolute;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 10px;
  box-shadow: 0 6px 18px rgba(64, 72, 150, .13);
}
.platform img { max-width: 76%; max-height: 58%; width: auto; height: auto; object-fit: contain; -webkit-mask-image: none; mask-image: none; }
.platform--amazon  { left: 5%;    top: 30.6%; width: 18.6%; height: 14%;   transform: rotate(2deg); }
.platform--tiktok  { left: 33%;   top: 37.6%; width: 25%;   height: 18.4%; transform: rotate(5deg); }
.platform--alibaba { left: 76.4%; top: 35.2%; width: 23.6%; height: 19.6%; transform: rotate(5deg); }
.platform--shopee  { left: 10.4%; top: 56.2%; width: 22.2%; height: 17.4%; transform: rotate(5deg); }
.platform--ebay    { left: 44%;   top: 61.8%; width: 20.4%; height: 17.4%; transform: rotate(3deg); }
.platform--qoo10   { left: 70.8%; top: 61.2%; width: 20.6%; height: 17.6%; transform: rotate(4deg); }
.platform--tiktok img { max-width: 82%; }
.platform--alibaba img { max-width: 84%; }

/* 말풍선 */
.bubble {
  position: relative;
  padding: 40px 46px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 18px 44px rgba(70, 80, 160, .12);
}
/* 말풍선 폭과 관계없이 문구는 항상 가운데 정렬 */
.bubble p { text-align: center; font-size: 23px; font-weight: 700; line-height: 1.5; letter-spacing: -0.03em; color: #151b2e; }
.bubble::before, .bubble::after {
  position: absolute; font-family: Georgia, "Times New Roman", serif; font-weight: 700;
  font-size: 58px; line-height: 1; color: #bab4f4;
}
.bubble::before { content: "\201C"; left: 18px; top: 14px; }
.bubble::after  { content: "\201D"; right: 18px; bottom: -6px; }
/* 말꼬리 */
.bubble p::after {
  content: ""; position: absolute; bottom: -24px; width: 36px; height: 30px; background: #fff;
}
.bubble--1 p::after, .bubble--2 p::after { right: 54px; clip-path: polygon(0 0, 100% 0, 78% 100%); }
.bubble--3 p::after, .bubble--4 p::after { left: 54px;  clip-path: polygon(0 0, 100% 0, 22% 100%); }

/* ---------- 7. WHY LEAP ---------- */
.why { padding: 70px 0 20px; }
.why .section-title { margin-bottom: 50px; }
.why__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card__media { aspect-ratio: 1.72; border-radius: var(--radius); overflow: hidden; background: #eef0f6; }
.why-card__media img { width: 100%; height: 100%; object-fit: cover; }
.why-card__media .pos-center { object-position: 50% 52%; }
.why-card__body { padding: 26px 12px 10px 14px; margin-top: 4px; }
.why-card + .why-card .why-card__body { margin-left: -8px; padding-left: 30px; border-left: 1px solid #d6dae3; }
.why-card__title { font-size: 23px; font-weight: 700; letter-spacing: -0.03em; color: var(--navy); }
.why-card__desc { margin-top: 14px; font-size: 17.5px; line-height: 1.75; color: var(--gray); }

/* ---------- 8. OUR SERVICES (WE CREATE) ---------- */
.services { padding: 70px 0 20px; }
.we-create {
  font-size: clamp(56px, 12.9vw, 170px);
  font-weight: 900; line-height: .9; letter-spacing: -0.035em;
  color: var(--navy);
  margin-bottom: 42px;
}
.we-create__create { color: var(--violet); }

.service + .service { margin-top: 70px; }
.service__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.service__title {
  font-size: clamp(26px, 3.64vw, 48px); font-weight: 700; line-height: 1.3; letter-spacing: -0.03em; color: var(--navy);
}
.service__title .text-violet { color: var(--violet); }
.service__desc { margin-top: 8px; font-size: clamp(15px, 1.78vw, 23px); color: var(--gray-2); }

/* 홍보영상 */
.video-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 849fr 365fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}
.video-tile { position: relative; border-radius: 8px; overflow: hidden; background: #111; }
.video-tile video { width: 100%; height: 100%; object-fit: cover; }
.video-tile--main { grid-row: 1 / span 2; aspect-ratio: 849 / 445; }
.video-tile__btn {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; padding: 0; background: transparent;
}
.video-tile__icon {
  position: absolute; top: 16px; right: 16px;
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  transition: opacity .2s, transform .2s;
}
.video-tile__icon::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 16px; height: 18px; background: #111;
  transform: translate(-38%, -50%);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.video-tile__btn:hover .video-tile__icon { transform: scale(1.06); }
/* 재생 중: 일시정지 아이콘, 마우스를 올리거나 포커스할 때만 표시 */
.video-tile.is-playing .video-tile__icon { opacity: 0; }
.video-tile.is-playing .video-tile__icon::before {
  width: 14px; height: 16px; transform: translate(-50%, -50%);
  clip-path: polygon(0 0, 35% 0, 35% 100%, 0 100%, 0 0, 65% 0, 100% 0, 100% 100%, 65% 100%, 65% 0);
}
.video-tile.is-playing .video-tile__btn:hover .video-tile__icon,
.video-tile.is-playing .video-tile__btn:focus-visible .video-tile__icon { opacity: 1; }

/* 제품 촬영 / 상세페이지 */
.media-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.media-card { border-radius: 8px; overflow: hidden; background: #f1f2f6; }
.media-card img { width: 100%; height: 100%; object-fit: cover; }
/* 제품 촬영: 470×470 정사각형
   - 넓은 영역(1444px)이 다 확보되면 3장 한 줄
   - 그보다 좁으면: 2열 + 셋째 장은 아래 줄 가운데 (폭이 부족하면 470px보다 작게) */
.media-grid--photo { display: flex; flex-wrap: wrap; justify-content: center; }
.media-grid--photo .media-card { flex: 0 0 min(470px, calc((100% - 17px) / 2)); aspect-ratio: 1 / 1; }
/* 상세페이지: 세로로 긴 이미지라 높이 700px로 상단부터 노출 */
.media-grid--detail .media-card { height: 700px; box-shadow: 0 2px 10px rgba(14, 23, 51, .06); }
.media-grid--detail img { object-position: top center; }

/* ---------- 9. BEYOND CONTENT ---------- */
.marketing { padding: 100px 0 46px; }
.marketing .section-title { margin-bottom: 30px; }
/* 이미지 원본 폭 비율(434:368:436)로 열을 나눠 세 카드의 이미지 높이를 동일하게 유지 */
.marketing__list { display: grid; grid-template-columns: 434fr 368fr 436fr; gap: 16px; align-items: stretch; }
.mk-card { border-radius: 14px; overflow: hidden; background: #f5f6fa; display: flex; flex-direction: column; }
.mk-card__media { aspect-ratio: 434 / 537; overflow: hidden; }
.mk-card:nth-child(2) .mk-card__media { aspect-ratio: 368 / 537; }
.mk-card:nth-child(3) .mk-card__media { aspect-ratio: 436 / 537; }
.mk-card__media img { width: 100%; height: 100%; object-fit: cover; }
.mk-card__body { padding: 30px 22px 22px 38px; flex: 1; }
.mk-card__title { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; color: var(--navy); }
.mk-card__desc { margin-top: 12px; font-size: 19px; line-height: 1.7; color: #4b5468; }

/* ---------- 10. HOW WE WORK ---------- */
.process { padding: 70px 0 70px; }
.process .section-title { margin-bottom: 28px; font-size: clamp(26px, 3.18vw, 42px); }
.process__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 72px; }
.step { position: relative; }
.step__media { position: relative; }
.step__media img { width: 100%; aspect-ratio: 400 / 211; object-fit: cover; border-radius: 12px; }
/* 단계 아이콘: 이미지 하단 왼쪽에 걸치도록 배치 */
.step__icon {
  position: absolute; left: var(--icon-x, 20%); top: 102.4%; z-index: 2;
  width: calc(20.5% + 8px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  border-radius: 50%; background: var(--indigo);
}
/* 시안 이미지에 포함된 원형 아이콘 위치와 정확히 겹치도록 단계별 보정 */
.step:nth-child(2) .step__icon { --icon-x: 22.5%; }
.step:nth-child(3) .step__icon { --icon-x: 24.4%; }
.step:nth-child(4) .step__icon { --icon-x: 23.8%; }
.step__icon svg { width: 46%; height: 46%; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* 연결선 + 화살표 */
.step__media::before {
  content: ""; position: absolute; left: 0; right: -72px; top: calc(100% + 18px);
  height: 1px; background: #eadfcf;
}
.step:last-child .step__media::before { right: 0; }
.step:not(:last-child) .step__media::after {
  content: ""; position: absolute; top: calc(100% + 18px); left: calc(100% + 36px);
  width: 34px; height: 34px; transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--chevron) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9.5 6 6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.step__no { margin-top: 42px; padding-left: 24px; font-size: 12px; font-weight: 700; letter-spacing: .22em; color: var(--eyebrow); }
.step__title { margin-top: 4px; padding-left: 24px; font-size: 23px; font-weight: 700; letter-spacing: -0.03em; color: var(--navy); }
.step__desc { margin-top: 6px; padding-left: 24px; font-size: 16px; line-height: 1.55; color: var(--gray); }

/* ---------- 11. OUR RESULTS ---------- */
.results { padding: 90px 0 110px; }
.results__list { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { display: flex; flex-direction: column; align-items: center; padding: 18px 12px; }
.stat + .stat { border-left: 1px solid #dfe3eb; }
.stat__label, .stat__value { width: 100%; max-width: 300px; }
.stat__label { font-size: 23px; color: #1f2740; }
.stat__value {
  margin-top: 4px;
  font-size: clamp(40px, 5.2vw, 68px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em;
  color: var(--stat);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------- 12. FAQ ---------- */
.faq { padding: 100px 0 38px; }
.faq__inner { padding-inline: calc(var(--gutter) + 40px); }
.faq .section-title { margin-bottom: 40px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item__btn {
  width: 100%; display: flex; align-items: center; gap: 28px;
  padding: 26px 0 26px 15px;
  border: 0; background: none; text-align: left;
  font-size: 24px; font-weight: 700; letter-spacing: -0.03em; color: var(--navy);
}
.faq-item__btn:hover { color: var(--primary); }
.faq-item__icon {
  flex-shrink: 0; width: 13px; height: 15px; background: var(--violet-text);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transition: transform .25s ease;
}
.faq-item__btn[aria-expanded="true"] .faq-item__icon { transform: rotate(90deg); }
/* JS가 없으면 답변을 펼친 상태로 표시, JS가 있으면 닫힌 상태로 시작 */
.faq-item__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .3s ease; }
.faq-item__inner { overflow: hidden; }
.js .faq-item__panel { grid-template-rows: 0fr; }
.js .faq-item__panel .faq-item__inner { visibility: hidden; transition: visibility 0s .3s; }
.js .faq-item__panel.is-open { grid-template-rows: 1fr; }
.js .faq-item__panel.is-open .faq-item__inner { visibility: visible; transition: none; }
.faq-item__btn[aria-expanded="true"] { padding-bottom: 12px; }
.faq-item__inner p { padding: 0 20px 30px 56px; font-size: 17px; line-height: 1.85; color: var(--gray-2); }

/* ---------- 13. CONTACT ---------- */
.contact { background: var(--contact-bg); color: #fff; padding: 70px 0 80px; }
.contact__inner { display: grid; grid-template-columns: 1fr 644px; gap: 40px; align-items: center; padding-left: calc(var(--gutter) + 20px); }
.contact__title { margin-top: 18px; font-size: clamp(28px, 3.94vw, 52px); font-weight: 700; line-height: 1.36; letter-spacing: -0.03em; }
.contact__lead { margin-top: 16px; font-size: 23px; color: #d3d8e4; }
.contact__tel-label { margin-top: 56px; font-size: 18px; color: #fff; }
.contact__tel { margin-top: 6px; display: inline-flex; align-items: center; gap: 12px; font-size: clamp(30px, 3.26vw, 43px); font-weight: 700; letter-spacing: -0.01em; }
.contact__tel-icon { width: .85em; height: .85em; fill: #fff; }

.form-card { background: #fff; color: var(--text); border-radius: 12px; padding: 22px 26px 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.form-card__head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.form-card__icon { width: 40px; height: 40px; flex-shrink: 0; fill: none; stroke: #2a5ce8; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.form-card__title { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.3; }
.form-card__sub { font-size: 14px; color: var(--gray-2); }

.form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 12px; }
.field__label { display: block; margin-bottom: 7px; font-size: 15px; font-weight: 700; color: var(--text); }
.req { color: var(--danger); }
.field__input {
  width: 100%; height: 42px; padding: 0 14px;
  border: 1.5px solid #cfd8f2; border-radius: 6px; background: #fff;
  font-size: 15px; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field__input::placeholder { color: #9aa1ad; }
.field__input:focus { outline: none; border-color: #4a5ee8; box-shadow: 0 0 0 3px rgba(74, 94, 232, .15); }
.field__input[aria-invalid="true"] { border-color: var(--danger); }
.field__input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(217, 48, 37, .15); }
.field__textarea-wrap { position: relative; }
.field__textarea { height: 100px; min-height: 100px; padding: 12px 14px 26px; resize: vertical; line-height: 1.55; display: block; }
.field__counter { position: absolute; right: 14px; bottom: 8px; font-size: 12px; color: #8a91a0; pointer-events: none; }
.field__error { font-size: 13px; color: var(--danger); margin-top: 5px; }
.field__error:empty { display: none; }

.file {
  position: relative; display: flex; align-items: center; gap: 10px;
  min-height: 42px; padding: 0 14px;
  border: 1.5px solid #cfd8f2; border-radius: 6px; cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.file:hover { border-color: #a9b6e6; }
.file:focus-within { border-color: #4a5ee8; box-shadow: 0 0 0 3px rgba(74, 94, 232, .15); }
.file.is-invalid { border-color: var(--danger); }
.file__icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: #8a91a0; stroke-width: 1.8; stroke-linecap: round; }
.file__text { flex: 1; min-width: 0; font-size: 15px; color: #9aa1ad; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file.has-file .file__text { color: var(--text); }
.file__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file__clear {
  position: relative; z-index: 1; width: 32px; height: 32px; margin-right: -8px;
  border: 0; border-radius: 50%; background: #eef0f5; color: #4b5563; font-size: 18px; line-height: 1;
}

.field--agree { margin-top: 16px; }
.agree { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; min-height: 32px; }
.agree__input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; }
.agree__box {
  width: 20px; height: 20px; flex-shrink: 0;
  border: 1.5px solid #9aa1ad; border-radius: 3px; background: #fff;
  transition: background-color .15s, border-color .15s;
}
.agree__input:checked + .agree__box {
  border-color: var(--submit);
  background: var(--submit) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.agree__input:focus-visible + .agree__box { outline: 3px solid #7c6cff; outline-offset: 2px; }
.agree__input[aria-invalid="true"] + .agree__box { border-color: var(--danger); }
.agree__text { font-size: 15px; font-weight: 700; }

.policy {
  margin-top: 10px; height: 112px; overflow-y: auto; overscroll-behavior: contain;
  padding: 14px 20px; border-radius: 6px; background: #f3f4f6;
  font-size: 13.5px; line-height: 1.6; color: #4b5563;
}
.policy p + p, .policy ul + p, .policy ol + p { margin-top: 4px; }
.policy__title { font-size: 15px; font-weight: 700; color: var(--text); }
.policy__h { margin-top: 10px !important; font-weight: 700; color: #374151; }
.policy__ol { list-style: decimal; padding-left: 20px; }
.policy__ul { list-style: disc; padding-left: 20px; }
.policy a { color: var(--submit); text-decoration: underline; }

.btn--submit {
  width: 100%; min-height: 48px; margin-top: 12px;
  background: var(--submit); color: #fff; font-size: 16px; border-radius: 6px;
}
.btn--submit:hover { background: var(--submit-hover); }
.btn--submit:disabled { opacity: .65; cursor: progress; }
.form__status { margin-top: 10px; font-size: 14px; line-height: 1.5; }
.form__status:empty { display: none; }
.form__status.is-error { color: var(--danger); }
.form__status.is-success { color: var(--success); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 14. TOP 버튼 ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(14, 23, 51, .25);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s, background-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top.is-hidden { opacity: 0; visibility: hidden; }
.to-top:hover { background: var(--primary); }
.to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.to-top__text { font-size: 10px; font-weight: 700; letter-spacing: .08em; line-height: 1; margin-top: 1px; }
.to-top.is-on-dark { background: #fff; color: var(--navy); }

/* =========================================================
   PC (1200px 이상): 해외 진출 고민 영역 — 시안 구도 그대로 배치
   ========================================================= */
@media (min-width: 1200px) {
  .challenge__stage { height: 743px; }
  .challenge .section-head { padding-top: 79px; }
  .challenge .section-title { margin-top: 18px; }
  .challenge__map { position: absolute; left: 24.4%; top: 257px; width: 51.1%; z-index: 1; }
  .challenge__bubbles .bubble { position: absolute; z-index: 3; }
  .bubble--1 { left: 0;  top: 162px; width: 24%; transform: rotate(5deg); }
  .bubble--2 { left: 1%; top: 446px; width: 23%; transform: rotate(-6deg); }
  .bubble--3 { right: 0; top: 154px; width: 24%; transform: rotate(-6deg); }
  .bubble--4 { right: 0; top: 458px; width: 26.5%; transform: rotate(5deg); padding-inline: 34px; }
}

/* =========================================================
   태블릿 + 모바일 (1199px 이하)
   ========================================================= */
@media (max-width: 1199px) {
  :root { --gutter: 32px; }

  .challenge { padding: 72px 0 72px; }
  .challenge__map { max-width: 640px; margin: 28px auto 0; }
  .challenge__bubbles { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .bubble { padding: 34px 42px; }
  .bubble p { font-size: 18px; }
  .bubble--1, .bubble--4 { transform: rotate(1.5deg); }
  .bubble--2, .bubble--3 { transform: rotate(-1.5deg); }

  .why { padding: 70px 0 40px; }
  .why .section-title { margin-bottom: 50px; }
  .why__list { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .why-card + .why-card .why-card__body { margin-left: 0; padding-left: 14px; border-left: 0; }
  .why-card__desc br, .mk-card__desc br { display: none; }

  .media-grid--detail .media-card { height: auto; aspect-ratio: 412 / 700; }

  .marketing { padding-top: 80px; }
  .mk-card__body { padding: 24px 22px 22px; }
  .mk-card__title { font-size: 20px; }
  .mk-card__desc { font-size: 15px; }

  .process__list { grid-template-columns: repeat(2, 1fr); gap: 48px 40px; }
  .step__media::before, .step:not(:last-child) .step__media::after { display: none; }
  .step__no { margin-top: 54px; }
  .faq-item__btn { font-size: 20px; }

  .results { padding: 70px 0 80px; }
  .stat__label { font-size: 18px; }

  .faq { padding-top: 70px; }
  .faq__inner { padding-inline: var(--gutter); }

  .contact__inner { grid-template-columns: 1fr; gap: 40px; padding-left: var(--gutter); }
  .contact__tel-label { margin-top: 32px; }
  .form-card { width: 100%; max-width: 720px; }
}

/* =========================================================
   모바일 (767px 이하)
   ========================================================= */
@media (max-width: 767px) {
  :root { --gutter: 20px; --header-h: 60px; }

  /* 헤더 · 햄버거 메뉴 */
  .header__logo img { height: 38px; }
  .header__toggle {
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 44px; height: 44px; margin-right: -8px; border: 0; background: none;
  }
  .header__toggle-bar { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .2s; }
  .header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(2) { opacity: 0; }
  .header__toggle[aria-expanded="true"] .header__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header__nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(14, 23, 51, .1);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .header__nav.is-open { display: block; }
  .header__menu { flex-direction: column; align-items: stretch; gap: 8px; }
  .header__link { display: flex; align-items: center; min-height: 52px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .header__cta { width: 100%; min-height: 50px; margin-top: 8px; font-size: 16px; }

  /* 메인 */
  .hero { height: auto; min-height: 600px; padding: 72px 0; }
  .hero__actions { flex-direction: column; align-items: center; gap: 12px; }
  .hero__actions .btn { width: 100%; max-width: 300px; min-height: 50px; }

  /* 해외 진출 고민 */
  .challenge { padding: 56px 0; }
  .challenge__bubbles { grid-template-columns: 1fr; gap: 32px; }
  .bubble { padding: 30px 40px; }
  .bubble p { font-size: 17px; }
  .bubble::before, .bubble::after { font-size: 48px; }
  .platform { border-radius: 6px; }

  /* 강점 */
  .why { padding: 56px 0 24px; }
  .why__list { grid-template-columns: 1fr; gap: 32px; }
  .why-card__body { padding: 20px 4px 0; }
  .why-card + .why-card .why-card__body { padding-left: 4px; }
  .why-card__title { font-size: 19px; }
  .why-card__desc { margin-top: 10px; font-size: 15px; }

  /* 서비스 */
  .services { padding-top: 56px; }
  .service + .service { margin-top: 56px; }
  .we-create { margin-bottom: 28px; }
  .service__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .btn--more { min-height: 48px; padding: 0 26px; }
  .video-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 10px; }
  .video-tile--main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; }
  .video-tile--manual { aspect-ratio: 16 / 9; }
  .video-tile__icon { top: 50%; right: 50%; transform: translate(50%, -50%); width: 44px; height: 44px; }
  .video-tile__btn:hover .video-tile__icon { transform: translate(50%, -50%); }
  .media-grid { grid-template-columns: 1fr; gap: 14px; }
  .media-grid--photo .media-card { flex-basis: 100%; }

  /* 마케팅 */
  .marketing { padding: 64px 0 24px; }
  .marketing__list { grid-template-columns: 1fr; gap: 24px; }

  /* 진행 과정: 세로 배치 + 아래 방향 화살표 */
  .process { padding: 56px 0 40px; }
  .process__list { grid-template-columns: 1fr; gap: 64px; }
  .step:not(:last-child)::after {
    content: ""; position: absolute; left: 50%; bottom: -50px;
    width: 34px; height: 34px; transform: translateX(-50%) rotate(90deg); border-radius: 50%;
    background: var(--chevron) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9.5 6 6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat;
  }
  .step__no, .step__title, .step__desc { padding-left: 4px; }

  /* 실적 */
  .results { padding: 32px 0 48px; }
  .results__list { grid-template-columns: 1fr; }
  .stat { padding: 22px 0; }
  .stat + .stat { border-left: 0; border-top: 1px solid #dfe3eb; }
  .stat__label, .stat__value { text-align: center; }
  .stat__value { font-size: 48px; }

  /* FAQ */
  .faq { padding: 48px 0 24px; }
  .faq .section-title { margin-bottom: 20px; }
  .faq-item__btn { gap: 14px; padding: 20px 0 20px 2px; font-size: 17px; align-items: flex-start; line-height: 1.45; }
  .faq-item__icon { width: 11px; height: 13px; margin-top: 6px; }
  .faq-item__btn[aria-expanded="true"] { padding-bottom: 8px; }
  .faq-item__inner p { padding: 0 0 22px 27px; font-size: 15px; line-height: 1.75; }

  /* 문의 */
  .contact { padding: 56px 0 72px; }
  .contact__lead { font-size: 17px; }
  .contact__tel-label { font-size: 16px; }
  .form-card { padding: 22px 18px 18px; }
  .form-card__title { font-size: 19px; }
  .form__row--2 { grid-template-columns: 1fr; gap: 0; }
  .field__input, .file { min-height: 48px; font-size: 16px; }
  .field__input { height: 48px; }
  .field__textarea { height: 140px; }
  .policy { height: 160px; }
  .btn--submit { min-height: 52px; }
  .to-top { right: 14px; bottom: 14px; width: 48px; height: 48px; }
}

/* ---------- 애니메이션 감소 설정 존중 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
