/* =========================================================
   서브페이지 공통 파워 히어로 + 페이지별 강화
   ========================================================= */

/* 헤더: 어두운 히어로 위에서는 투명 */
body.hero-dark .site-header:not(.scrolled) { background: transparent; backdrop-filter: none; }
body.hero-dark .site-header:not(.scrolled) .logo img { filter: brightness(0) invert(1); }
body.hero-dark .site-header:not(.scrolled) .gnb > li > a { color: rgba(255,255,255,.85); }
body.hero-dark .site-header:not(.scrolled) .gnb > li.active > a { color: #fff; background: rgba(255,255,255,.14); }
body.hero-dark .site-header:not(.scrolled) .gnb > li > a:hover { color: #fff; background: rgba(255,255,255,.1); }
body.hero-dark .site-header:not(.scrolled) .btn-primary { background: #fff; color: var(--blue-700); }
body.hero-dark .site-header:not(.scrolled) .menu-toggle span { background: #fff; }

/* 히어로 */
.page-hero.fx {
  isolation: isolate; margin-top: calc(-1 * var(--header-h)); min-height: 520px; display: flex; align-items: flex-end;
  background:
    radial-gradient(800px 480px at 82% 20%, rgba(0,182,250,.42), transparent 62%),
    radial-gradient(700px 500px at 0% 110%, rgba(26,134,214,.5), transparent 60%),
    linear-gradient(140deg, #041a33 0%, var(--blue-900) 45%, var(--blue-800) 100%);
}
.page-hero.fx::before { z-index: 0; }
.page-hero.fx canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .75; }
.page-hero.fx .hero-glow { position: absolute; z-index: 0; left: 0; top: 0; width: 560px; height: 560px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(0,182,250,.32), transparent 65%); transform: translate3d(var(--gx, 78vw), var(--gy, 30%), 0) translate(-50%, -50%); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.page-hero.fx .bgword {
  position: absolute; z-index: 0; right: -2%; bottom: -.12em; white-space: nowrap; pointer-events: none;
  font-size: clamp(72px, 12vw, 190px); font-weight: 900; letter-spacing: -.03em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14);
}
.page-hero.fx .container { z-index: 1; width: 100%; padding-top: calc(var(--header-h) + 72px); padding-bottom: 88px; }
.page-hero.fx h1 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 900; letter-spacing: -.035em; line-height: 1.1; }
.page-hero.fx h1::after { content: ""; display: block; width: 72px; height: 4px; margin-top: 22px; border-radius: 4px; background: linear-gradient(90deg, var(--sky-400), transparent); }
.page-hero.fx p { font-size: clamp(16px, 1.5vw, 20px); }
.page-hero.fx .hero-stats { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px 40px; }
.page-hero.fx .hero-stats div { display: flex; align-items: baseline; gap: 10px; }
.page-hero.fx .hero-stats b { font-size: clamp(32px, 3.4vw, 48px); font-weight: 900; letter-spacing: -.03em; line-height: 1; color: transparent; background: linear-gradient(180deg, #fff, #9fe3ff); -webkit-background-clip: text; background-clip: text; font-variant-numeric: tabular-nums; }
.page-hero.fx .hero-stats span { font-size: 15px; color: rgba(255,255,255,.72); }

.rise { opacity: 0; transform: translateY(36px); filter: blur(6px); animation: rise 1s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }
.reveal { transition-delay: var(--rd, 0s); }

/* 히어로 아래 겹쳐 올라오는 카드 */
.lift { position: relative; z-index: 3; margin-top: -56px; }
.lift > .toolbar, .lift.toolbar { background: #fff; box-shadow: 0 24px 60px rgba(6,42,77,.14); border-color: transparent; padding: 22px; }

/* ---------- 정부지원사업 ---------- */
.support-item { position: relative; overflow: hidden; transition: border-color .25s, box-shadow .25s, transform .25s; }
.support-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--sky-400), var(--blue-700)); transform: scaleY(0); transform-origin: top; transition: transform .3s; }
.support-item:hover { transform: translateX(6px); box-shadow: 0 16px 40px rgba(6,42,77,.1); }
.support-item:hover::before { transform: none; }
/* 전국 뱃지 강조는 style.css (.badge.nat) */
.support-item h3 a:hover { color: var(--blue-700); text-decoration: underline; }
.support-item .acts { flex: none; display: flex; gap: 8px; }
.support-item .ext { transition: background .25s, color .25s, border-color .25s; }
.support-item .ext:hover { border-color: var(--blue-700); color: var(--blue-700); }
.support-item .ask { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--blue-700); color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; transition: background .25s, box-shadow .25s; }
.support-item .ask svg { width: 16px; height: 16px; }
.support-item .ask:hover { background: var(--blue-800); box-shadow: 0 8px 20px rgba(0,97,174,.3); }
@media (max-width: 760px) {
  .support-item .acts > a { flex: 1; justify-content: center; }
}

/* 문의 폼: 선택한 지원사업 카드 */
.qf-program { display: flex; gap: 16px; align-items: flex-start; margin: 20px 40px 0; padding: 20px 22px; border-radius: 16px; color: #fff; background: radial-gradient(300px 160px at 100% 0%, rgba(0,182,250,.45), transparent 70%), linear-gradient(120deg, #041a33, var(--blue-700)); box-shadow: 0 16px 40px rgba(6,42,77,.18); }
.qf-program .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.14); }
.qf-program .ic svg { width: 22px; height: 22px; }
.qf-program .tx { flex: 1; min-width: 0; }
.qf-program small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--sky-400); }
.qf-program b { display: block; margin-top: 4px; font-size: 17px; line-height: 1.45; }
.qf-program .links { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; }
.qf-program .links a, .qf-program .links button { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: rgba(255,255,255,.8); font: inherit; cursor: pointer; text-decoration: underline; }
.qf-program .links svg { width: 13px; height: 13px; }
@media (max-width: 760px) { .qf-program { margin: 14px 20px 0; padding: 16px; } .qf-program b { font-size: 15px; } }
.badge.hot { background: #ffeef0; color: #d62d45; }
.fade-in { animation: fadeUp .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--rd, 0s); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }

/* ---------- 정보마당 ---------- */
.featured {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end;
  margin-bottom: 28px; padding: 40px 44px; border-radius: 24px; color: #fff;
  background: radial-gradient(500px 300px at 100% 0%, rgba(0,182,250,.5), transparent 70%), linear-gradient(120deg, #041a33, var(--blue-700));
  box-shadow: 0 24px 60px rgba(6,42,77,.2); transition: transform .35s, box-shadow .35s;
}
.featured:hover { transform: translateY(-4px); box-shadow: 0 32px 80px rgba(6,42,77,.28); }
.featured .k { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--sky-400); }
.featured .k i { width: 8px; height: 8px; border-radius: 50%; background: var(--sky-400); box-shadow: 0 0 0 4px rgba(0,182,250,.25); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }
.featured h2 { margin-top: 14px; font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; line-height: 1.35; }
.featured .m { margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.7); }
.featured .go { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 24px; border-radius: 999px; background: #fff; color: var(--blue-700); font-weight: 700; white-space: nowrap; }
.featured .go svg { width: 18px; height: 18px; transition: transform .25s; }
.featured:hover .go svg { transform: translateX(4px); }
.board-list a { position: relative; transition: background .25s, padding-left .25s; }
.board-list a::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; border-radius: 3px; background: var(--sky-400); transform: scaleY(0); transition: transform .25s; }
.board-list a:hover { padding-left: 22px; }
.board-list a:hover::before { transform: none; }
.event-card { transition: transform .35s, box-shadow .35s; }
.event-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(6,42,77,.16); }
.event-card .top { background: radial-gradient(300px 200px at 100% 0%, rgba(0,182,250,.6), transparent 70%), linear-gradient(135deg, #041a33, var(--blue-700)); padding: 32px 28px; }
.event-card .top .date { font-size: 44px; font-weight: 900; }

/* 게시글 상세 */
.post-head h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 900; letter-spacing: -.02em; }

/* ---------- 기업홍보관 ---------- */
.company-grid.fx { gap: 24px; }
.company-grid.fx .company-card { position: relative; border: 0; border-radius: 0; background: #0b1d33; box-shadow: 0 18px 40px rgba(6,42,77,.18); transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, opacity .35s; }
.company-grid.fx .company-card .thumb { aspect-ratio: 803 / 720; border-radius: 0; background: #0b1d33; } /* 홍보 이미지 원본 비율 */
.company-grid.fx .company-card .thumb img { filter: saturate(.85) brightness(.85); transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .4s; }
.company-grid.fx .company-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,42,77,0) 40%, rgba(6,42,77,.95)); pointer-events: none; }
.company-grid.fx .company-card .no { position: absolute; z-index: 1; top: 16px; left: 18px; font-size: 14px; font-weight: 800; letter-spacing: .1em; color: rgba(255,255,255,.85); text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.company-grid.fx .company-card .info { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 22px; color: #fff; }
.company-grid.fx .company-card h3 { font-size: 20px; font-weight: 800; }
.company-grid.fx .company-card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--sky-400); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.company-grid.fx .company-card .more svg { width: 14px; height: 14px; }
.company-grid.fx:hover .company-card { opacity: .55; }
.company-grid.fx .company-card:hover { opacity: 1; transform: translateY(-10px) scale(1.03); box-shadow: 0 30px 70px rgba(0,97,174,.35), 0 0 0 2px var(--sky-400); }
.company-grid.fx .company-card:hover .thumb img { transform: scale(1.08); filter: none; }
.company-grid.fx .company-card:hover .more { opacity: 1; transform: none; }

/* 기업 상세: 커버 이미지가 깔린 히어로 */
.page-hero.fx.cover-hero .cover-bg { position: absolute; inset: -20px; z-index: -1; background-size: cover; background-position: center; filter: blur(14px) brightness(.35) saturate(1.1); transform: scale(1.05); }
.page-hero.fx.cover-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4,26,51,.3), rgba(4,26,51,.85)); }

/* 기업 상세: 영상 + 정보 중심 */
.co-hero.fx .container { padding-bottom: 210px; }
.co-hero h1 { font-size: clamp(40px, 6vw, 84px); }
.co-hero p { font-size: clamp(17px, 1.8vw, 22px); color: rgba(255,255,255,.88); }
.co-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.co-actions .btn svg { width: 18px; height: 18px; }
.co-video-wrap { position: relative; z-index: 3; margin-top: -170px; }
.co-video { max-width: 1040px; margin: 0 auto; border-radius: 24px; overflow: hidden; background: #000; box-shadow: 0 40px 100px rgba(6,42,77,.35), 0 0 0 1px rgba(255,255,255,.08); }
.co-video .yt-facade { margin: 0; border-radius: 0; }
.co-video .yt-facade img { opacity: .75; }
.co-video .yt-facade .play { width: 96px; height: 68px; border-radius: 20px; }
.co-video .yt-facade .play::after { left: 38px; top: 20px; border-width: 14px 0 14px 24px; }
.co-video .yt-facade .label { position: absolute; left: 50%; top: calc(50% + 62px); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; }
.co-video .yt-facade .label svg { width: 12px; height: 12px; }
.co-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.co-profile { padding-top: 96px; }
.co-profile.no-video { padding-top: 0; margin-top: -120px; position: relative; z-index: 3; }
.co-profile.no-video .container { background: #fff; border-radius: 24px; padding-top: 48px; padding-bottom: 48px; box-shadow: 0 30px 80px rgba(6,42,77,.14); }
.co-desc { max-width: 900px; margin-bottom: 40px; color: var(--ink-700); font-size: 17px; line-height: 1.85; }
.co-desc .lead { font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; color: var(--ink-900); line-height: 1.5; margin-bottom: 12px; }
.co-desc p + p { margin-top: 8px; }
.co-points { margin-top: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.co-points li { position: relative; padding-left: 30px; font-size: 16px; }
.co-points li svg { position: absolute; left: 0; top: 3px; width: 20px; height: 20px; color: var(--sky-400); }
.co-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.co-item { display: flex; gap: 18px; align-items: flex-start; padding: 26px; border-radius: 18px; background: var(--bg-soft); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s, border-color .3s, background .3s; }
.co-item.wide { grid-column: span 3; }
.co-item:hover { transform: translateY(-4px); background: #fff; border-color: transparent; box-shadow: 0 20px 50px rgba(6,42,77,.12); }
.co-item .ic { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--blue-700), var(--sky-400)); }
.co-item .ic svg { width: 24px; height: 24px; }
.co-item small { display: block; font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--ink-500); }
.co-item p { margin-top: 4px; font-size: 19px; font-weight: 700; color: var(--ink-900); line-height: 1.5; word-break: break-all; }
.co-item.wide p { font-size: 21px; word-break: keep-all; }
.co-item a { color: var(--blue-700); }
.co-item a:hover { text-decoration: underline; }
.co-item a.sub { display: inline-flex; align-items: center; gap: 4px; margin-left: 12px; font-size: 14px; font-weight: 600; }
.co-item a.sub svg { width: 13px; height: 13px; }

/* ---------- 문의 폼 (단계형) ---------- */
.qf { padding: 0; overflow: visible; }
.contact-grid > * { min-width: 0; }
.qf-top { position: sticky; top: var(--header-h); z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 40px 22px; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.qf-progress { display: flex; align-items: center; gap: 12px; min-width: 180px; }
.qf-progress b { font-size: 15px; color: var(--blue-700); font-variant-numeric: tabular-nums; min-width: 40px; text-align: right; }
.qf-progress span { flex: 1; height: 8px; border-radius: 8px; background: var(--bg-soft); overflow: hidden; }
.qf-progress i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blue-700), var(--sky-400)); transition: width .45s cubic-bezier(.2,.8,.2,1); }
.qf.ready .qf-progress b { color: #12a150; }
.qf-draft { display: flex; align-items: center; gap: 10px; margin: 20px 40px 0; padding: 12px 16px; border-radius: 12px; background: var(--sky-100); color: var(--blue-800); font-size: 14px; }
.qf-draft svg { width: 18px; height: 18px; }
.qf-draft button { margin-left: auto; border: 0; background: none; color: var(--blue-700); font-weight: 700; text-decoration: underline; cursor: pointer; }

.qf-step { margin: 0; padding: 32px 40px; border: 0; border-bottom: 1px solid var(--line); min-width: 0; }
.qf-step legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding: 0; font-size: 20px; font-weight: 800; }
.qf-step legend + * { clear: both; }
.qf-step legend .no { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 800; color: var(--blue-700); background: var(--blue-50); border: 2px solid #d6e6f6; transition: all .3s; }
.qf-step.done legend .no { color: transparent; background: #12a150 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 16px no-repeat; border-color: #12a150; }
.qf-step legend .req { color: #e0364f; }
.qf .form-grid { margin-top: 0; }
.qf small.opt { margin-left: 4px; padding: 2px 7px; border-radius: 6px; font-size: 11px; font-weight: 700; color: var(--ink-500); background: var(--bg-soft); }

/* 분야 카드 */
.qf-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.qf-topics > .qf-topic:last-child:nth-child(odd) { grid-column: 1 / -1; } /* 마지막 홀수 칸(기타)은 가로 전체 */
.qf .qf-topic { position: relative; display: flex; align-items: center; gap: 14px; margin: 0; padding: 16px 18px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s, transform .2s; }
.qf .qf-topic:hover { border-color: #a9cbea; transform: translateY(-1px); }
.qf .qf-topic input { position: absolute; opacity: 0; pointer-events: none; }
.qf .qf-topic .ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--blue-700); background: var(--blue-50); transition: all .2s; }
.qf .qf-topic .ic svg { width: 22px; height: 22px; }
.qf .qf-topic .tx { flex: 1; min-width: 0; }
.qf .qf-topic b { display: block; font-size: 16px; }
.qf .qf-topic small { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qf .qf-topic .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--ink-300); color: transparent; transition: all .2s; }
.qf .qf-topic .tick svg { width: 14px; height: 14px; }
.qf .qf-topic:has(input:checked) { border-color: var(--blue-700); background: var(--blue-50); box-shadow: 0 0 0 3px rgba(0,97,174,.12); }
.qf .qf-topic:has(input:checked) .ic { color: #fff; background: linear-gradient(145deg, var(--blue-700), var(--sky-400)); }
.qf .qf-topic:has(input:checked) .tick { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
.qf .qf-topic:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(0,97,174,.25); }
.field.invalid .qf-topic { border-color: #f3b5bf; }

/* 입력칸 + 완료 체크 */
.qf-input { position: relative; }
.qf-input .input { height: 54px; font-size: 16px; padding-right: 44px; }
.qf-input .ok { position: absolute; right: 14px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; display: grid; place-items: center; background: #12a150; color: #fff; transform: scale(0); transition: transform .25s cubic-bezier(.3,1.6,.5,1); }
.qf-input .ok svg { width: 13px; height: 13px; }
.field.valid .qf-input .ok { transform: scale(1); }
.field.valid .input { border-color: #9bd7b3; }
.field.invalid .hint { display: none; }
.qf-domains { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.qf-domains button { height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid #d6e6f6; background: var(--blue-50); color: var(--blue-700); font-size: 14px; font-weight: 600; cursor: pointer; }
.qf-domains button:hover { background: var(--blue-700); color: #fff; }

/* 시간 선택 */
.qf-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.qf .qf-slots label { margin: 0; cursor: pointer; }
.qf-slots input { position: absolute; opacity: 0; pointer-events: none; }
.qf-slots span { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 64px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; text-align: center; transition: all .2s; }
.qf-slots b { font-size: 15px; color: var(--ink-900); }
.qf-slots small { font-size: 12px; color: var(--ink-500); }
.qf-slots input:checked + span { border-color: var(--blue-700); background: var(--blue-700); }
.qf-slots input:checked + span b, .qf-slots input:checked + span small { color: #fff; }
.qf-slots input:focus-visible + span { box-shadow: 0 0 0 4px rgba(0,97,174,.25); }
.qf-date { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.qf-toggle { display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; font-size: 15px !important; font-weight: 600 !important; color: var(--ink-700) !important; cursor: pointer; }
.qf-toggle input { width: 18px; height: 18px; accent-color: var(--blue-700); }
.qf-date .input { width: auto; min-width: 200px; height: 46px; }
.qf-date .hint { width: 100%; margin: 0; color: #c2410c; }

/* 문의 내용 */
.qf-guides { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
.qf-guides > span { font-size: 13px; color: var(--ink-500); margin-right: 4px; }
.qf-guides button { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px dashed #a9cbea; background: #fff; color: var(--blue-700); font-size: 13px; font-weight: 700; cursor: pointer; transition: all .2s; }
.qf-guides button:hover { background: var(--blue-50); border-style: solid; }
.qf-guides button:disabled { opacity: .4; cursor: default; text-decoration: line-through; }
.qf .textarea { min-height: 180px; font-size: 16px; line-height: 1.7; resize: none; overflow: hidden; }
.qf-count { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; font-size: 13px; color: var(--ink-500); }
.qf-count .hint { margin: 0; }

/* 동의 */
.qf-agree { border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s; }
.field.invalid .qf-agree { border-color: #f3b5bf; }
.qf .qf-agree .check { display: flex; margin: 0; padding: 18px 20px; font-size: 16px; color: var(--ink-900); }
.qf-agree .check input { width: 22px; height: 22px; }
.qf-agree .check b { color: var(--blue-700); }
.qf-agree details { border-top: 1px solid var(--line); background: var(--bg-soft); }
.qf-agree summary { padding: 12px 20px; font-size: 14px; font-weight: 600; color: var(--ink-500); cursor: pointer; }
.qf-agree details table { width: calc(100% - 40px); margin: 0 20px; border-collapse: collapse; font-size: 13px; }
.qf-agree details th, .qf-agree details td { padding: 8px; border: 1px solid var(--line); background: #fff; text-align: left; }
.qf-agree details th { width: 90px; background: #eef2f6; }
.qf-agree details p { margin: 10px 20px 16px; font-size: 13px; color: var(--ink-500); }

/* 제출 */
.qf-submit { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 40px 32px; }
.qf-left { margin: 0; font-size: 14px; color: var(--ink-500); }
.qf-left b { color: #e0364f; }
.qf-left .go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #12a150; }
.qf-left .go svg { width: 16px; height: 16px; }
.qf-submit .btn { min-width: 200px; height: 56px; font-size: 17px; transition: background .3s, box-shadow .3s, transform .2s; }
.qf.ready .qf-submit .btn { box-shadow: 0 12px 30px rgba(0,97,174,.35); }
.qf-submit .btn.loading { opacity: .8; pointer-events: none; }
.qf-submit .btn.loading [data-icon] svg { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.qf.shake .qf-submit .btn { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.qf-summary { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 20px 0 0; padding: 16px 18px; border-radius: 12px; background: var(--bg-soft); text-align: left; font-size: 14px; }
.qf-summary dt { color: var(--ink-500); }
.qf-summary dd { margin: 0; font-weight: 700; }

/* ---------- 문의 ---------- */
.contact-grid.lift { margin-top: -72px; }
.contact-grid.lift .form-card { box-shadow: 0 30px 80px rgba(6,42,77,.16); border-color: transparent; }

@media (max-width: 1080px) {
  .co-info { grid-template-columns: repeat(2, 1fr); }
  .co-item.wide { grid-column: span 2; }
}
@media (max-width: 760px) {
  .page-hero.fx { min-height: 380px; }
  .page-hero.fx .container { padding-top: calc(var(--header-h) + 48px); padding-bottom: 72px; }
  .page-hero.fx .hero-stats { gap: 12px 24px; }
  .lift { margin-top: -40px; }
  .featured { grid-template-columns: 1fr; padding: 28px 22px; }
  .featured .go { justify-self: start; }
  .company-grid.fx { gap: 12px; }
  .company-grid.fx .company-card h3 { font-size: 15px; }
  .company-grid.fx .company-card .info { padding: 14px; }
  .company-grid.fx .company-card .more { display: none; }
  .company-grid.fx:hover .company-card { opacity: 1; }
  .co-hero.fx .container { padding-bottom: 120px; }
  .co-actions .btn { flex: 1 1 calc(50% - 6px); padding: 0 14px; font-size: 14px; }
  .co-video-wrap { margin-top: -90px; }
  .co-video { border-radius: 14px; }
  .co-video .yt-facade .play { width: 72px; height: 50px; border-radius: 14px; }
  .co-video .yt-facade .play::after { left: 28px; top: 14px; border-width: 11px 0 11px 18px; }
  .co-video .yt-facade .label { top: calc(50% + 44px); font-size: 12px; }
  .co-profile { padding-top: 64px; }
  .co-profile.no-video { margin-top: -80px; }
  .co-profile.no-video .container { border-radius: 16px; padding-top: 28px; padding-bottom: 28px; }
  .co-info, .co-points { grid-template-columns: 1fr; }
  .co-item.wide { grid-column: auto; }
  .co-item { padding: 20px; }
  .co-item p, .co-item.wide p { font-size: 17px; }
  .contact-grid.lift { margin-top: -40px; }
  .qf { padding: 0 !important; }
  .qf-top { padding: 18px 20px 14px; flex-direction: column; align-items: stretch; gap: 10px; }
  .qf-top h2 { font-size: 21px; }
  .qf-top .desc { font-size: 13px; }
  .qf-draft { margin: 14px 20px 0; }
  .qf-step { padding: 26px 20px; }
  .qf-step legend { font-size: 18px; margin-bottom: 16px; }
  .qf-topics { grid-template-columns: minmax(0, 1fr); }
  .qf-topic { padding: 14px; }
  .qf-slots { grid-template-columns: repeat(2, 1fr); }
  .qf-date .input { width: 100%; }
  /* 휴대폰: 제출 버튼을 화면 아래에 고정 */
  .qf-submit { position: sticky; bottom: 0; z-index: 6; flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-top: 1px solid var(--line); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
  .qf-left { text-align: center; font-size: 13px; }
  .qf-submit .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; opacity: 1; transform: none; filter: none; }
  .fade-in, .featured .k i { animation: none; }
}


/* 정부지원사업: 실시간/예시 표시, 신청 마감 D-day */
.src-note { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; font-size: 13px; font-weight: 500; color: var(--ink-500); }
.src-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-300); }
.src-note .dot.live { background: #19b36b; box-shadow: 0 0 0 3px rgba(25,179,107,.18); }
.badge.dday { background: #fff1e3; color: #b85a00; }
.support-item .sub-meta .sep { margin: 0 6px; color: var(--ink-300); }
@media (max-width: 760px) { .src-note { display: flex; margin: 6px 0 0; } }


/* 정부지원사업 공고 상세 */
.sv-head .meta-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.sv-head .meta { flex-wrap: wrap; gap: 6px 18px; }
.sv-info { display: grid; grid-template-columns: 120px minmax(0, 1fr); margin: 28px 0 0; border-top: 2px solid var(--ink-900); font-size: 15px; }
.sv-info dt, .sv-info dd { margin: 0; padding: 14px 16px; border-bottom: 1px solid var(--line); line-height: 1.7; }
.sv-info dt { background: var(--bg-soft); color: var(--ink-700); font-weight: 700; }
.sv-info dd { color: var(--ink-900); overflow-wrap: anywhere; }
.sv-info dd a { color: var(--blue-700); text-decoration: underline; }
.sv-info dd .badge { margin-left: 6px; vertical-align: 1px; }
.sv-h { margin-top: 44px; font-size: 20px; font-weight: 800; }
.sv-body { padding: 16px 0 8px; }
.sv-body p { margin: 0; }
.sv-body table { margin: 12px 0; }
.sv-body td, .sv-body th { padding: 8px 10px; border: 1px solid var(--line); }
.sv-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.sv-actions .btn { flex: 1 1 240px; }
.sv-src { margin-top: 18px; font-size: 13px; color: var(--ink-500); }
@media (max-width: 760px) {
  .sv-info { grid-template-columns: 1fr; }
  .sv-info dt { padding: 10px 14px 4px; border-bottom: 0; background: none; color: var(--ink-500); font-size: 13px; }
  .sv-info dd { padding: 0 14px 12px; }
}
@media (min-width: 761px) { .src-note { white-space: nowrap; } }

/* 사람 확인(Turnstile) 칸: 체크 상자가 필요할 때만 보임 */
.qf-ts { display: flex; justify-content: flex-end; margin: 4px 0 12px; min-height: 0; }
.qf-ts:empty { display: none; }
