/*
  환풍기교체 — ventilation.mnyfixworld.com
  Palette: "Steel & Signal" — 환풍(공기·바람) 업종과 어울리는 스틸 네이비 + 시그널 오렌지 단일 액센트.
  기계설비/공조업계에서 신뢰감을 주는 조합으로 전면 교체(기존 에스프레소브라운+샴페인골드에서 변경).
  Font system: Pretendard(본문/제목) + Space Grotesk(숫자·영문 라벨 전용 액센트).
*/

:root {
  --clr-primary:       #1C3448;
  --clr-primary-light: #2E4F68;
  --clr-primary-dark:  #0F2130;

  --clr-accent:        #D97B3F;
  --clr-accent-light:  #E8A874;
  --clr-accent-dark:   #B25D28;

  --clr-bg-main:       #F5F7F8;
  --clr-bg-section:    #E8EDF1;
  --clr-bg-dark:       #0D1B27;
  --clr-bg-warm:       #E3E9ED;

  --clr-border-light:  #D6DEE4;
  --clr-border-dark:   #8FA3B2;

  --text-on-light:  #14212C;
  --text-on-light-2:#3C505E;
  --text-on-light-muted:#71828F;
  --text-on-dark:   #E7EEF2;

  --font-heading: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --space-xs: .5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;
  --sec-pad: clamp(64px, 9vw, 120px);

  --radius-sm: 0px;
  --radius-md: 2px;
  --radius-lg: 4px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(13,27,39,.08);
  --shadow-md: 0 12px 32px rgba(13,27,39,.14);
  --shadow-lg: 0 24px 60px rgba(13,27,39,.2);

  --ease-out: cubic-bezier(.22,1,.36,1);
  --transition: .35s cubic-bezier(.22,1,.36,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--clr-bg-main);
  color: var(--text-on-light);
  line-height: 1.7;
  font-size: 17px;
  padding-bottom: 0;
}
@media (max-width: 768px) { body { padding-bottom: 64px; } }

body, p, h1, h2, h3, h4, h5, h6, li, td, th, a, span, div, button {
  word-break: keep-all;
  overflow-wrap: break-word;
}

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

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--text-on-light); line-height: 1.3; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; }
h3 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; letter-spacing: -.01em; }
.section-eyebrow { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 15px; letter-spacing: .01em; color: var(--clr-accent-dark); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; }
.u-mb-lg { margin-bottom: 40px; }
.u-mt-lg { margin-top: 24px; }
section { padding: var(--sec-pad) 0 calc(var(--sec-pad) + 12px); }
/* 히어로 바로 다음 섹션은 히어로가 이미 시각적 구분을 주므로 상단 여백을 좁힌다 */
.section-tight-top { padding-top: clamp(36px, 6vw, 64px); }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--clr-primary); color: #fff; padding: 12px 20px;
  border-radius: var(--radius-md); font-weight: 600; font-size: 14px;
  transition: top var(--transition);
}
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible, .faq-q:focus-visible {
  outline: 2px solid var(--clr-accent-dark); outline-offset: 3px; border-radius: var(--radius-sm);
}

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 100;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
.hdr.is-scrolled { background: rgba(245,247,248,.96); backdrop-filter: blur(8px); box-shadow: var(--shadow-sm); border-color: var(--clr-border-light); }
.hdr-inner { max-width: 1180px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; }
.hdr-brand { display: flex; align-items: center; gap: 10px; }
.hdr-logo { width: 30px; height: 30px; color: var(--clr-primary); flex-shrink: 0; }
.hdr-brand-text { display: flex; flex-direction: column; gap: 0; line-height: 1.15; }
.hdr-name { font-family: var(--font-heading); font-weight: 700; font-size: 20px; color: var(--clr-primary-dark); }
.hdr-sub { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; font-variant: small-caps; color: var(--text-on-light-muted); margin-top: 1px; }
.hdr-nav { display: flex; align-items: center; gap: 28px; }
.hdr-link { font-size: 15px; color: var(--text-on-light-2); }
.hdr-link[aria-current="page"] { color: var(--clr-primary); font-weight: 600; }
.hdr-cta {
  padding: 12px 26px; background: var(--clr-primary); color: var(--text-on-dark);
  border-radius: var(--radius-md); font-size: 15px; font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.hdr-cta:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .hdr-cta:hover { background: var(--clr-primary-dark); transform: translateY(-1px); }
  .hdr-link:hover { color: var(--clr-primary); }
}
.hdr-burger { display: none; flex-direction: column; gap: 5px; width: 28px; }
.hdr-burger span { display: block; height: 2px; background: var(--clr-primary-dark); }
.mob-nav { position: fixed; top: 0; right: -100%; width: 78%; max-width: 320px; height: 100%; background: var(--clr-bg-main); z-index: 200; box-shadow: var(--shadow-lg); transition: right var(--transition); padding: 100px 32px; display: flex; flex-direction: column; gap: 24px; }
.mob-nav.open { right: 0; }
.mob-nav a { font-size: 18px; font-weight: 600; color: var(--text-on-light); }

@media (max-width: 768px) {
  .hdr-nav { display: none; }
  .hdr-burger { display: flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 640px; display: flex; align-items: flex-end; overflow: hidden; padding: 0; }
.hero-sm { min-height: 480px; }
.crumb { font-size: 13px; color: var(--text-on-light-muted); margin-bottom: 18px; }
.crumb a { color: var(--clr-accent-dark); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .crumb a:hover { color: var(--clr-primary); } }
.crumb .sep { margin: 0 6px; }
.crumb-dark { color: rgba(255,255,255,.55); }
.crumb-dark a { color: var(--clr-accent-light); }
@media (hover: hover) and (pointer: fine) { .crumb-dark a:hover { color: #fff; } }

/* ---------- 세부페이지 전용 히어로 — 메인 히어로(풀블리드 슬라이더)와 구분되는 스플릿 레이아웃 ---------- */
.page-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; padding: 0; }
.page-hero-text { background: var(--clr-primary); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 56px clamp(24px, 5vw, 64px); }
.page-hero-text h1 { color: #fff; font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 16px; }
.page-hero-lead { color: var(--clr-accent-light); font-size: 16px; line-height: 1.75; max-width: 460px; margin-bottom: 26px; }
.page-hero-media { position: relative; overflow: hidden; min-height: 320px; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .page-hero { grid-template-columns: 1fr; min-height: auto; }
  .page-hero-media { aspect-ratio: 4/3; min-height: 0; order: -1; }
  .page-hero-text { padding: 40px 24px 48px; }
}
.lede-text { font-size: 17px; color: var(--text-on-light-2); line-height: 1.85; }

/* ---------- Cause chain (원인→진행 흐름 카드) ---------- */
.cause-chain { display: flex; align-items: stretch; gap: 10px; margin-top: 32px; }
.cause-item { flex: 1; background: #fff; box-shadow: var(--shadow-sm); border-radius: var(--radius-lg); padding: 24px 22px; transition: box-shadow var(--transition), transform var(--transition); }
@media (hover: hover) and (pointer: fine) { .cause-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); } }
.cause-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--clr-bg-section); color: var(--clr-primary); font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-bottom: 12px; }
.cause-item h3 { font-size: 16px; margin-bottom: 6px; }
.cause-item p { font-size: 13.5px; color: var(--text-on-light-2); line-height: 1.65; }
.cause-arrow { display: flex; align-items: center; color: var(--clr-border-dark); font-size: 20px; flex-shrink: 0; }
@media (max-width: 768px) {
  .cause-chain { flex-direction: column; gap: 14px; }
  .cause-arrow { display: none; }
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s var(--ease-out); animation: hero-drift 18s ease-in-out infinite; }
.hero-slide.active { opacity: 1; }
@keyframes hero-drift { 0%,100% { transform: scale(1.02) translate(0,0);} 50% { transform: scale(1.08) translate(-1%,-1%);} }
.hero-content { position: relative; z-index: 2; padding: 64px 24px 72px; max-width: 1180px; margin: 0 auto; width: 100%; }
.hero-card { background: rgba(13,27,39,.62); backdrop-filter: blur(3px); padding: 36px 40px; max-width: 620px; border-radius: var(--radius-lg); }
.hero-card h1 { color: #fff; font-size: clamp(34px, 5vw, 54px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 18px; }
.hero-card .hero-lead { color: var(--clr-accent-light); font-size: 17px; line-height: 1.7; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 30px; border-radius: var(--radius-md); font-weight: 600; font-size: 15px; transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition); }
.btn-primary { background: var(--clr-accent); color: var(--clr-primary-dark); }
.btn-outline { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.btn-outline-brand { border: 1px solid var(--clr-primary); color: var(--clr-primary); }
.btn-outline-brand:active { transform: scale(.97); }
.btn-primary:active { transform: scale(.97); }
.btn-text { padding: 14px 4px; color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.5); border-radius: 0; }
.btn-text:active { opacity: .7; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--clr-accent-light); transform: translateY(-2px); }
  .btn-outline:hover { background: rgba(255,255,255,.12); }
  .btn-text:hover { color: var(--clr-accent-light); border-color: var(--clr-accent-light); }
  .btn-outline-brand:hover { background: var(--clr-bg-section); }
}

/* ---------- Grids ---------- */
.dp-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.dp-g3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.dp-g3-offset { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
.dp-stat3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; text-align: center; align-items: center; }
@media (max-width: 768px) { .dp-g2, .dp-g3, .dp-g3-offset { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .dp-stat3 { grid-template-columns: 1fr; gap: 16px; } }

.card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  padding: 28px; transition: box-shadow var(--transition), transform var(--transition);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-on-light-2); font-size: 15px; }
.card-dark { background: rgba(255,255,255,.05); }
@media (hover: hover) and (pointer: fine) { .card-dark:hover { background: rgba(255,255,255,.09); } }
.card-dark h3 { color: #fff; }
.card-dark p { color: var(--clr-accent-light); }

.card-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.badge { padding: 4px 12px; border-radius: var(--radius-pill); background: var(--clr-bg-section); color: var(--clr-primary-dark); font-size: 12px; font-weight: 600; }
@media (max-width: 768px) { .card-badges { flex-direction: column; align-items: flex-start; gap: 6px; } }

/* link card w/ real thumbnail */
.link-card { display: block; border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: box-shadow var(--transition), transform var(--transition); }
.link-card:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  .link-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
  .link-card:hover img { transform: scale(1.06); }
}
.link-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s var(--ease-out); }
.link-card-body { padding: 18px 20px; }
.link-card-body p.cat { font-size: 12px; color: var(--clr-accent-dark); font-weight: 700; margin-bottom: 6px; letter-spacing: .04em; }
.link-card-body h3 { font-size: 18px; }
.link-card.cta-card { background: var(--clr-primary); color: var(--text-on-dark); display: flex; align-items: center; justify-content: center; min-height: 100%; text-align: center; padding: 40px 24px; }
.link-card.cta-card h3 { color: #fff; }
.link-card.cta-card p { color: var(--clr-accent-light); font-size: 14px; margin-top: 8px; }

.link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) { .link-grid { grid-template-columns: 1fr; } }

/* ---------- 5-Image Mosaic (홈 세부서비스 그리드, 5개 발행 시에만 활성) ---------- */
.mosaic5 { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 200px); gap: 14px; }
.mosaic5-item { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow var(--transition); }
.mosaic5-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.mosaic5-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13,27,39,.78) 100%); }
.mosaic5-label { position: absolute; left: 14px; bottom: 12px; z-index: 1; color: #fff; font-weight: 700; font-size: 15px; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
@media (hover: hover) and (pointer: fine) { .mosaic5-item:hover { box-shadow: var(--shadow-md); } .mosaic5-item:hover img { transform: scale(1.06); } }
.m5-1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.m5-2 { grid-column: 3; grid-row: 1; }
.m5-3 { grid-column: 4; grid-row: 1; }
.m5-4 { grid-column: 3; grid-row: 2; }
.m5-5 { grid-column: 4; grid-row: 2; }
@media (max-width: 900px) {
  .mosaic5 { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 160px); }
  .m5-1 { grid-column: 1 / 3; grid-row: 1; }
  .m5-2 { grid-column: 1; grid-row: 2; }
  .m5-3 { grid-column: 2; grid-row: 2; }
  .m5-4 { grid-column: 1; grid-row: 3; }
  .m5-5 { grid-column: 2; grid-row: 3; }
}
@media (max-width: 560px) {
  .mosaic5 { grid-template-columns: 1fr; grid-template-rows: none; }
  .m5-1, .m5-2, .m5-3, .m5-4, .m5-5 { grid-column: 1; grid-row: auto; height: 220px; }
}

/* ---------- Process / Timeline ---------- */
.proc-list { display: flex; list-style: none; margin: 0; padding: 0; }
.proc-list-narrow { max-width: 720px; margin: 0 auto; }
.proc-step { flex: 1; position: relative; padding: 0 12px; text-align: center; }
.proc-step:not(:last-child)::after {
  content: ''; position: absolute; top: 24px; left: 50%; width: 100%; height: 2px;
  background: var(--clr-border-light); z-index: 0;
}
.proc-num {
  position: relative; z-index: 1; margin: 0 auto 14px; width: 48px; height: 48px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--clr-primary); color: #fff; font-family: var(--font-display); font-size: 20px; font-weight: 700;
}
.proc-step p.proc-title { font-weight: 700; margin-bottom: 6px; }
.proc-step p.proc-desc { font-size: 13.5px; color: var(--text-on-light-muted); }
@media (max-width: 768px) {
  .proc-list { flex-direction: column; gap: 10px; }
  .proc-step { padding: 24px 0; }
  .proc-step::after { display: none; }
}

/* ---------- Before / After ---------- */
.ba-link { display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow var(--transition); }
.ba-link:active { opacity: .9; }
@media (hover: hover) and (pointer: fine) { .ba-link:hover { box-shadow: var(--shadow-md); } .ba-link:hover img { transform: scale(1.04); } }
.ba-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.ba-item { position: relative; overflow: hidden; }
.ba-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s var(--ease-out); }
.ba-tag { position: absolute; top: 14px; left: 14px; padding: 6px 16px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.ba-tag.before { background: rgba(13,27,39,.75); color: #fff; }
.ba-tag.after { background: var(--clr-accent); color: var(--clr-primary-dark); }
.ba-more { text-align: center; margin-top: 20px; }
.ba-more a { font-weight: 600; color: var(--clr-primary); border-bottom: 1px solid var(--clr-border-dark); padding-bottom: 2px; }
@media (hover: hover) and (pointer: fine) { .ba-more a:hover { color: var(--clr-accent-dark); border-color: var(--clr-accent-dark); } }
@media (max-width: 600px) { .ba-wrap { grid-template-columns: 1fr; } }

/* 방향 불명확한 세트용 — before/after 배지 없이 현장 사진 2장 */
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.photo-pair figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.photo-pair img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photo-pair figcaption { padding: 12px 16px; font-size: 13px; color: var(--text-on-light-muted); background: #fff; }
@media (max-width: 600px) { .photo-pair { grid-template-columns: 1fr; } }

/* ---------- Check list (자동발행 섹션 타입: checklist) ---------- */
.check-list { max-width: 720px; margin: 0 auto; }
.check-list li { position: relative; padding: 14px 0 14px 32px; border-bottom: 1px dashed var(--clr-border-light); font-size: 15.5px; color: var(--text-on-light-2); }
.check-list li::before { content: '\2713'; position: absolute; left: 0; top: 14px; color: var(--clr-accent-dark); font-weight: 700; }
.check-list li:last-child { border-bottom: none; }

/* ---------- Pull quote (자동발행 섹션 타입: quote) ---------- */
.pull-quote { max-width: 720px; margin: 0 auto; border-left: 3px solid var(--clr-accent); padding: 4px 0 4px 24px; }
.pull-quote p { font-family: var(--font-heading); font-style: italic; font-size: 19px; line-height: 1.7; color: var(--clr-primary-dark); }

/* ---------- FAQ ---------- */
.faq-list { margin-top: var(--space-sm); }
.faq-item { border-bottom: 1px solid var(--clr-border-light); }
.faq-q { width: 100%; text-align: left; padding: 22px 4px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 700; font-size: 16px; color: var(--text-on-light); transition: opacity var(--transition); }
.faq-q:active { opacity: .6; }
.faq-q .faq-plus { font-family: var(--font-display); font-size: 22px; color: var(--clr-accent-dark); transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--transition); }
.faq-a p { padding: 0 4px 22px; color: var(--text-on-light-2); font-size: 15px; line-height: 1.75; }

/* ---------- Sections misc ---------- */
.bg-section { background: var(--clr-bg-section); }
.bg-dark { background: var(--clr-bg-dark); color: var(--text-on-dark); }
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark p { color: var(--clr-accent-light); }
.section-head { max-width: 640px; margin: 0 auto var(--space-lg); text-align: center; }
.section-head h2 { margin-top: 10px; }
.section-head p { color: var(--text-on-light-2); margin-top: 14px; }
.bg-dark .section-head p { color: var(--clr-accent-light); }

/* trust band */
.trust-band { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.trust-chip { padding: 10px 22px; border: 1px solid var(--clr-border-dark); border-radius: var(--radius-pill); font-size: 14px; color: var(--text-on-dark); white-space: nowrap; }
.trust-chip-light { color: var(--text-on-light); border-color: var(--clr-border-dark); }

/* ---------- Marquee (시공 범위 — 한 줄로 흐르는 티커) ---------- */
.marquee { overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 14px; animation: marquee-scroll 28s linear infinite; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee-track { animation-play-state: paused; } }

/* CTA banner */
.cta-banner { position: relative; isolation: isolate; overflow: hidden; background: var(--clr-primary) center/cover no-repeat; color: #fff; border-radius: var(--radius-lg); padding: 64px 40px; text-align: center; }
.cta-banner h2 { color: #fff; margin-bottom: 14px; }
.cta-banner p { color: var(--clr-accent-light); margin-bottom: 28px; }
.cta-banner.cta-photo::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(13,27,39,.55) 0%, rgba(13,27,39,.75) 55%, rgba(13,27,39,.92) 100%);
}
.cta-banner.cta-photo > * { position: relative; z-index: 1; }
.cta-banner.cta-photo h2, .cta-banner.cta-photo p { text-shadow: 0 2px 12px rgba(0,0,0,.5); }

/* CTA를 섹션 전체(꽉 채움)로 — 컨테이너/라운드 없이 풀블리드 */
.cta-full { border-radius: 0; padding: var(--sec-pad) 24px; min-height: 360px; display: flex; align-items: center; justify-content: center; }
.cta-full-inner { max-width: 640px; }
.cta-full-inner .btn { margin-top: 4px; }

/* ---------- Footer ---------- */
.ftr { background: var(--clr-bg-dark); color: var(--text-on-dark); padding: 64px 0 100px; }
.ftr-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.2fr .8fr 1.6fr; gap: 40px; }
.ftr-col-title { font-weight: 700; margin-bottom: 14px; color: #fff; }
.ftr-biz-name { font-family: var(--font-heading); font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.ftr-biz p { color: var(--clr-accent-light); font-size: 14px; margin-bottom: 6px; }
.ftr-links { display: flex; flex-direction: column; }
.ftr-links a { color: var(--clr-accent-light); font-size: 14px; padding: 4px 0; }
.ftr-services-row { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.ftr-services-row a { color: var(--clr-accent-light); font-size: 14px; padding: 4px 0; }
@media (hover: hover) and (pointer: fine) {
  .ftr-links a:hover, .ftr-services-row a:hover { color: var(--clr-accent); }
}
@media (max-width: 768px) { .ftr-inner { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Mobile sticky CTA ---------- */
.mob-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 150; padding: 10px 16px; background: #fff; border-top: 1px solid var(--clr-border-light); box-shadow: 0 -6px 20px rgba(0,0,0,.08); }
.mob-bar-cta { display: block; text-align: center; padding: 14px; background: var(--clr-primary); color: #fff; border-radius: var(--radius-md); font-weight: 700; transition: transform var(--transition); }
.mob-bar-cta:active { transform: scale(.97); }
@media (max-width: 768px) { .mob-bar { display: block; } }

#float-cta {
  position: fixed; right: 28px; bottom: 32px; z-index: 90;
  background: var(--clr-primary); color: #fff; padding: 15px 26px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 15px; box-shadow: var(--shadow-lg);
  transition: transform var(--transition), background var(--transition);
}
#float-cta:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { #float-cta:hover { background: var(--clr-primary-dark); transform: translateY(-2px); } }
@media (max-width: 768px) { #float-cta { display: none; } }
.intent-contact #float-cta { display: none; }

/* ---------- Scroll reveal ----------
   기본값은 항상 "보임"이다. main.js가 정상 로드돼 <html>에 .js-anim이
   붙었을 때만 숨긴 뒤 스크롤에 맞춰 리빌한다 — 스크립트 로드가 실패해도
   본문 전체가 opacity:0로 영구히 사라지는 사고를 방지한다. */
html.js-anim .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
html.js-anim .reveal.is-visible { opacity: 1; transform: translateY(0); }
html.js-anim .stagger-item {
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
  transition-delay: calc(var(--i, 0) * .08s);
}
html.js-anim .stagger.is-visible .stagger-item { opacity: 1; transform: translateY(0); }
/* 프로세스 타임라인은 좌→우로 슬라이드해 카드 그리드와 다른 리듬을 준다 */
html.js-anim .proc-list.stagger .stagger-item { transform: translateX(-18px); }
html.js-anim .proc-list.stagger.is-visible .stagger-item { transform: translateX(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Contact page ---------- */
.contact-hero { padding: 72px 0 40px; text-align: center; background: var(--clr-bg-section); }
.contact-hero h1 { font-size: clamp(30px, 4.4vw, 44px); }
.contact-hero .lead { color: var(--text-on-light-2); margin-top: 14px; font-size: 16px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 700px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card { background: #fff; box-shadow: var(--shadow-sm); border-radius: var(--radius-lg); padding: 40px 28px; text-align: center; }
.contact-card .cc-icon { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: var(--clr-bg-section); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 24px; color: var(--clr-primary); }
.contact-card .cc-value { font-family: var(--font-display); font-size: clamp(28px, 5vw, 42px); font-weight: 700; color: var(--clr-primary-dark); margin: 10px 0 6px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.contact-card p.cc-desc { color: var(--text-on-light-muted); font-size: 14px; margin-bottom: 22px; }
.contact-card .btn { width: 100%; }

/* ---------- 404 ---------- */
.err-wrap { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 16px; padding: 40px 24px; }
.err-code { font-family: var(--font-display); font-size: 88px; color: var(--clr-accent-dark); font-weight: 700; }
.err-msg { font-size: 17px; color: var(--text-on-light-2); }
.err-links { display: flex; gap: 14px; margin-top: 10px; }

/* ---------- Responsive base ---------- */
@media (max-width: 1024px) {
  .ftr-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  section { padding: 56px 0; }
  .hero-card { padding: 26px 22px; }
}

table { border-collapse: collapse; width: 100%; }
.table-wrap { overflow-x: auto; }
.table-wrap table { min-width: 480px; }
.table-wrap th, .table-wrap td { padding: 14px 16px; border-bottom: 1px solid var(--clr-border-light); text-align: left; font-size: 14.5px; }
.table-wrap th { background: var(--clr-bg-section); font-weight: 700; color: var(--clr-primary-dark); }
