/* 강남클린 — 휴대폰 화면 우선 스타일 */
:root {
  /* 회사 색: 로고와 같은 빨강(분홍빛 레드) */
  --brand: #fd4678;       /* 로고 색 그대로: 버튼, 강조 */
  --brand-dark: #e0336a;  /* 작은 글씨 링크용 (흰 바탕에서 더 잘 읽히게 조금 진하게) */
  --brand-light: #ffb6cd; /* 로고의 연한 물결 색 */
  --brand-soft: #fff1f5;  /* 아주 연한 바탕 */
  --ink: #2b2f36;         /* 제목 글씨 */
  --kakao: #fee500;
  --text: #222;
  --muted: #666;
  --line: #e3e6ea;
  --bg-soft: #f6f8fa;
  --radius: 10px;
  --header-h: 56px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  word-break: keep-all;
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.35; color: var(--ink); }
h1 { font-size: 1.6rem; margin: 0 0 .5rem; }
h2 { font-size: 1.35rem; margin: 0 0 1rem; }
h3 { font-size: 1.1rem; margin: 0 0 .4rem; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.section { padding: 48px 0; }
.section.soft { background: var(--bg-soft); }
.lead { color: var(--muted); margin-top: 0; }

/* ---------- 상단 고정 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--line);
}
.topbar {
  display: flex; align-items: center; gap: 8px;
  height: var(--header-h); max-width: 1080px; margin: 0 auto; padding: 0 12px;
}
.logo {
  font-weight: 900; font-size: 1.15rem; color: var(--brand); text-decoration: none;
  margin-right: auto; white-space: nowrap; letter-spacing: -0.02em;
  display: inline-flex; align-items: center; gap: 6px;
}
.logo-mark { height: 30px; width: auto; flex-shrink: 0; } /* images/logo-mark.png: 로고 GN 마크만 잘라낸 것 */
.quick { display: flex; gap: 6px; flex-shrink: 0; }
.quick a {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 10px; border-radius: 18px;
  font-size: .9rem; font-weight: 700; text-decoration: none;
}
.btn-call { background: var(--brand); color: #fff; gap: 5px; }
.q-icon { width: 16px; height: 16px; flex-shrink: 0; } /* 전화기 그림 */
.btn-kakao { background: var(--kakao); color: #3c1e1e; gap: 5px; }
.menu-toggle {
  height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; font: inherit; font-size: .9rem; cursor: pointer;
}
.site-nav {
  display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 8px 16px rgba(0,0,0,.08);
}
.site-nav.open { display: block; max-height: calc(100vh - var(--header-h)); overflow-y: auto; } /* 펼침 목록이 길어 화면 안에서 스크롤 */
/* 좁은 휴대폰: 전화·카카오톡 상담 버튼이 길어져 한 줄에 안 들어가므로 둘째 줄로 내림 */
@media (max-width: 599px) {
  :root { --header-h: 98px; }
  .topbar { flex-wrap: wrap; height: auto; min-height: var(--header-h); padding: 8px 12px; row-gap: 8px; }
  .quick { order: 3; width: 100%; gap: 8px; }
  .quick a { flex: 1; height: 38px; font-size: .95rem; }
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 14px 16px; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
  font-size: 1.05rem; font-weight: 700;
}
.site-nav a:hover { color: var(--brand); }
/* 서비스영역 펼침 목록 — 휴대폰: 메뉴 안에 들여쓰기로 항상 보임 */
.site-nav .sub-menu { list-style: none; margin: 0; padding: 0; background: var(--bg-soft); }
.site-nav .sub-menu a { padding: 11px 16px 11px 32px; font-size: .95rem; font-weight: 600; color: #555; }
.site-nav .sub-menu a::before { content: "· "; color: var(--brand); }
.site-nav .sub-menu a[aria-current="page"] { color: var(--brand); }
.site-nav a[aria-current="page"] { color: var(--brand); font-weight: 800; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-block; padding: 12px 20px; border-radius: var(--radius);
  font-weight: 700; text-decoration: none; text-align: center;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-outline { border: 1px solid var(--brand); color: var(--brand-dark); background: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* ---------- 첫 화면 (작업 전후) ---------- */
.hero { padding: 24px 0 40px; background: var(--brand-soft); }
.hero h1 { font-size: 1.5rem; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; }
.ba-item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; }
.ba-item .label {
  position: absolute; top: 8px; left: 8px; padding: 2px 10px; border-radius: 12px;
  background: rgba(0,0,0,.6); color: #fff; font-size: .8rem; font-weight: 700;
}
.ba-item.after .label { background: var(--brand); }

/* ---------- 첫 화면 배경 영상 ---------- */
.hero-video {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  min-height: 72vh; padding: 48px 0;
  background: linear-gradient(135deg, #1b1e23, #3a3d44); /* 영상이 없거나 불러오는 동안 보이는 색 */
  color: #fff;
}
/* 영상·사진 슬라이드: 겹쳐 두고 지금 차례인 것만 서서히 나타남 */
.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity .8s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-photo { background-size: cover; background-position: center; }
/* 사진을 영상처럼: 천천히 확대되며 살짝 움직임 (사진마다 방향을 다르게) */
.hero-photo.is-active, .hero-photo.is-leaving { animation: hero-zoom-a 4.5s ease-out forwards; }
.hero-photo:nth-of-type(even).is-active, .hero-photo:nth-of-type(even).is-leaving { animation-name: hero-zoom-b; }
@keyframes hero-zoom-a { from { transform: scale(1); } to { transform: scale(1.12) translate(-2%, -1%); } }
@keyframes hero-zoom-b { from { transform: scale(1.12) translate(2%, 1%); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-photo.is-active { animation: none; } }
.hero-video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.2)); /* 글씨가 잘 보이도록 어둡게 */
}
.hero-video-content { position: relative; z-index: 1; }
.hero-video h1 { color: #fff; font-size: 1.9rem; margin-bottom: 12px; }
.hero-video p { margin: 0; font-size: 1.05rem; opacity: .92; }
.hero-tagline { display: block; } /* 아래 문구와 같은 크기·색, 한 줄 띄워서 표시 */
.btn-ghost { border: 1px solid rgba(255,255,255,.8); color: #fff; background: transparent; }
@media (min-width: 768px) {
  .hero-video { min-height: calc(100vh - 64px); max-height: 900px; }
  .hero-video h1 { font-size: 3rem; }
  .hero-video p { font-size: 1.2rem; }
}

/* ---------- 우리 업체 장점 (영상 바로 아래) ---------- */
.strengths {
  padding: 56px 0 64px; text-align: center;
  min-height: 56vw; /* 내용이 없어도 배경 그림이 보이도록 (그림 비율 16:9에 맞춤) */
  /* 배경 사진 위에 흰색을 얇게 덮어 글씨가 잘 보이게 함 */
  background:
    linear-gradient(rgba(255, 255, 255, .72), rgba(255, 255, 255, .6)),
    #f3f5f8 url("../images/services-bg.jpg") center / cover no-repeat;
}
@media (min-width: 768px) { .strengths { min-height: min(56vw, 100vh); } }

/* 주요 서비스 영역 (배경 그림 위) */
.area-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; text-align: left; }
.area-item {
  display: block; padding: 18px 14px; border-radius: 6px;
  background: rgba(255, 255, 255, .88); border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
  color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s;
}
.area-item:hover { border-color: var(--brand); transform: translateY(-2px); }
/* 칸 위쪽 사진 (images/services/cards/ 카드 사진과 같음) */
.area-img { display: block; height: 72px; margin: -18px -14px 12px; background: #e9ecef center / cover no-repeat; border-radius: 6px 6px 0 0; }
@media (min-width: 1024px) { .area-img { height: 130px; margin: -28px -22px 16px; } }
.area-no { display: block; color: var(--brand); font-weight: 800; font-size: 1.1rem; margin-bottom: 4px; }
.area-item h3 { font-size: 1rem; margin: 0 0 6px; }
.area-item p { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.5; }
@media (min-width: 1024px) {
  .area-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .area-item { padding: 28px 22px; }
  .area-no { font-size: 1.5rem; }
  .area-item h3 { font-size: 1.15rem; }
  .area-item p { font-size: .92rem; }
}
.strengths-title { font-size: 1.45rem; color: #2a2f36; margin-bottom: 8px; }
.strengths-title em { font-style: normal; color: var(--brand); }
.strengths-lead { margin: 0 0 32px; color: var(--muted); }
.strength-grid { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 980px; margin: 0 auto; }
.strength-card {
  background: #fff; padding: 28px 20px; border-radius: 4px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .10);
}
.strength-label { margin: 0 0 14px; color: var(--brand); font-weight: 800; }
.strength-icon { width: 72px; height: 72px; color: var(--ink); margin: 0 auto 14px; display: block; }
.strength-num { margin: 0 0 8px; font-size: 1.7rem; font-weight: 800; color: #111; line-height: 1.2; }
.strength-num small { font-size: 1rem; font-weight: 700; margin-left: 2px; }
.strength-desc { margin: 0; color: var(--muted); font-size: .95rem; }
@media (min-width: 768px) {
  .strengths { padding: 88px 0 120px; }
  .strengths-title { font-size: 2.2rem; }
  .strengths-lead { margin-bottom: 56px; font-size: 1.1rem; }
  .strength-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .strength-card { padding: 32px 24px 36px; }
  .strength-num { font-size: 2.2rem; }
}

/* 4번째 화면: 왜 강남클린종합환경일까요 (카드 4개) */
.why { text-align: center; }
.strength-desc { line-height: 1.6; }
@media (min-width: 768px) { .strength-grid.four { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (min-width: 1024px) { .strength-grid.four { grid-template-columns: repeat(4, 1fr); max-width: 1080px; } }

/* 5번째 화면: 작업 절차 (PC에서는 가로로 5단계) */
.process { text-align: center; }
.process .steps { text-align: left; max-width: 420px; margin: 0 auto; }
.process-cta { justify-content: center; margin-top: 24px; }
@media (min-width: 1024px) {
  .process .steps.steps-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; max-width: none; text-align: center; }
  .steps-row li { padding: 56px 8px 0; }
  .steps-row li::before { left: 50%; transform: translateX(-50%); width: 44px; height: 44px; font-size: 1.1rem; }
  .steps-row li:not(:last-child)::after { /* 단계 사이 연결선 */
    content: ""; position: absolute; top: 22px; left: calc(50% + 30px); right: calc(-50% + 20px);
    border-top: 2px dashed var(--brand-light);
  }
  .steps-row strong { font-size: 1.1rem; margin-bottom: 4px; }
  .process-cta { margin-top: 40px; }
}

/* 사진 준비 전 자리표시 */
.photo-placeholder {
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(45deg, #dfe5ea, #dfe5ea 10px, #e9eef2 10px, #e9eef2 20px);
  color: #6b7785; font-size: .85rem; text-align: center; padding: 8px;
}

/* ---------- 카드 ---------- */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.card {
  display: block; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--text); text-decoration: none;
}
a.card:hover { border-color: var(--brand); }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.card .photo-placeholder { margin: -18px -18px 12px; border-radius: var(--radius) var(--radius) 0 0; }
.meta { font-size: .85rem; color: var(--muted); }

/* ---------- 서비스 페이지: 사진 + 업무내용 소개 ---------- */
.svc-intro { display: grid; gap: 24px; margin-bottom: 40px; }
.svc-photo { min-height: 240px; background-size: cover; background-position: center; }
.svc-title { font-size: 1.5rem; color: var(--ink); padding-bottom: 14px; margin-bottom: 20px; position: relative; }
.svc-title::after { /* 제목 아래 짧은 빨간 줄 */
  content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: var(--brand);
}
.svc-sub { color: var(--brand); font-size: 1.15rem; margin: 20px 0 8px; }
.dot-list { margin: 0; padding-left: 1.1em; color: #555; }
.dot-list li { margin-bottom: 6px; }
.dot-list li::marker { color: #444; }

/* 빨간 머리 카드 4개 */
.feature-cards { display: grid; grid-template-columns: 1fr; gap: 14px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-bottom: 3px solid var(--brand); text-align: center; }
.feature-card h3 {
  position: relative; margin: 0; padding: 16px 10px;
  background: var(--brand); color: #fff; font-size: 1.1rem;
}
.feature-card h3::after { /* 머리 아래 작은 삼각형 */
  content: ""; position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%);
  border: 10px solid transparent; border-bottom: 0; border-top-color: var(--brand);
}
.feature-card p { margin: 0; padding: 26px 12px 24px; color: #555; line-height: 1.8; }

/* ---------- 회사소개 (about.html): CEO / CI / 회사개요 ---------- */
.eyebrow { margin: 0 0 4px; color: var(--brand); font-weight: 800; letter-spacing: .12em; font-size: .85rem; }
.ceo-photo { margin: 0 auto; width: 100%; max-width: 320px; }
.ceo-photo img {
  width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: top;
  border-bottom: 4px solid var(--brand); box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}
.ceo-msg p { margin: 0 0 14px; color: #444; line-height: 1.85; }
.ceo-sign { margin: 24px 0 0; text-align: right; color: var(--muted); }
.ceo-sign strong { color: var(--ink); font-size: 1.2rem; margin-left: 6px; letter-spacing: .1em; }
.ci-wrap { display: grid; gap: 28px; }
.ci-logo { background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 32px; }
.ci-logo img { width: 100%; max-width: 240px; height: auto; }
.ci-info p { margin: 0; color: #444; }
.ci-letters { display: flex; gap: 12px; margin: 4px 0 12px !important; }
.ci-letters p { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 16px; background: #fff; border: 1px solid var(--line); flex: 1; }
.ci-letters b { font-size: 2rem; line-height: 1; color: var(--brand); font-weight: 900; }
.ci-letters span { display: flex; flex-direction: column; font-size: .9rem; color: var(--muted); line-height: 1.3; }
.ci-letters strong { color: var(--ink); font-size: 1.05rem; }
.ci-slogan { font-size: 1.2rem; font-weight: 700; color: var(--ink) !important; }
.ci-colors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ci-color { display: flex; flex-direction: column; gap: 2px; font-size: .9rem; }
.ci-color span { display: block; height: 56px; border-radius: 4px; margin-bottom: 6px; border: 1px solid rgba(0,0,0,.06); }
.ci-color small { color: var(--muted); }
.overview-table th { width: 32%; background: var(--brand-soft); color: var(--ink); white-space: nowrap; }
.svc-tabs.three { grid-template-columns: repeat(3, 1fr); }
/* 서비스 지역 (시·도별 시·군·구) */
.region-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 20px; }
@media (min-width: 768px) { .region-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .region-grid { grid-template-columns: repeat(3, 1fr); } }
.region { padding: 18px 20px; border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: var(--radius); background: #fff; }
.region h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--ink); }
.region p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.7; }
.region a { color: var(--brand); font-weight: 700; }
/* 지역 페이지 (areas/) */
.area-feature-grid, .area-svc-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
@media (min-width: 768px) { .area-feature-grid, .area-svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .area-svc-grid { grid-template-columns: repeat(4, 1fr); } }
.area-feature { padding: 20px 22px; background: #fff; border-left: 4px solid var(--brand); border-radius: var(--radius); }
.area-feature h3 { margin: 0 0 8px; font-size: 1.08rem; color: var(--ink); }
.area-feature p { margin: 0; color: var(--muted); }
.area-svc { display: block; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: inherit; text-decoration: none; }
.area-svc:hover { border-color: var(--brand); }
.area-svc strong { display: block; color: var(--ink); margin-bottom: 6px; }
.area-svc span { color: var(--muted); font-size: .92rem; }
.dong-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 14px 0 0; }
.dong-list li { padding: 6px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .95rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { padding: 16px 18px; font-weight: 700; cursor: pointer; color: var(--ink); }
.faq details p { margin: 0; padding: 0 18px 16px; color: var(--muted); }
.profile-dl {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
  margin-top: 28px; padding: 22px 24px; background: var(--brand-soft); border-left: 4px solid var(--brand);
}
.profile-dl strong { display: block; font-size: 1.1rem; color: var(--ink); }
.profile-dl span { color: var(--muted); font-size: .92rem; }
.case-empty { grid-column: 1 / -1; margin: 0; padding: 24px; text-align: center; color: var(--muted); background: #fff; border: 1px dashed var(--line); }
@media (min-width: 1024px) {
  .ceo-intro { grid-template-columns: 360px 1fr; gap: 64px; align-items: start; }
  .ceo-photo { max-width: none; }
  .ci-wrap { grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
  .ci-logo { padding: 56px; }
  .ci-logo img { max-width: 300px; }
  .overview-table th { width: 24%; padding: 14px 20px; }
  .overview-table td { padding: 14px 20px; }
}

/* ---------- 서비스영역 목록 (services/index.html) ---------- */
/* 분야 바로가기 8개: 항상 한 줄. 휴대폰은 옆으로 밀어서 보기, PC는 한 줄에 꽉 차게 */
.cat-bar {
  display: flex; flex-wrap: nowrap; gap: 6px; padding-top: 24px; padding-bottom: 8px;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.cat-bar::-webkit-scrollbar { display: none; }
.cat-bar a {
  flex: 0 0 auto; white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-weight: 700; font-size: .92rem; text-decoration: none;
}
.cat-bar a span { color: var(--brand); font-size: .85rem; }
.cat-bar a:hover { border-color: var(--brand); background: var(--brand); color: #fff; }
.cat-bar a:hover span { color: #fff; }
.cat-section { scroll-margin-top: var(--header-h); }
.cat-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.cat-no { display: block; color: var(--brand); font-weight: 800; font-size: 1rem; }
.cat-head h2 { margin: 0 0 4px; }
.cat-head p { margin: 0; color: var(--muted); }
.cat-meta { font-size: .9rem; white-space: nowrap; color: var(--muted); }
/* 분야 제목 전체가 링크 → 누르면 그 분야 페이지로 */
.cat-link { display: block; color: inherit; text-decoration: none; }
.cat-link h2 { display: inline-flex; align-items: center; gap: 8px; transition: color .15s; }
.cat-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff;
  font-size: 1.2rem; line-height: 1; padding-bottom: 2px; transition: transform .15s;
}
.cat-link:hover h2 { color: var(--brand); }
.cat-link:hover .cat-arrow { transform: translateX(4px); }
.sub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.sub-card {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--brand);
  padding: 16px 14px; color: var(--text); text-decoration: none;
}
/* 카드 위쪽 사진(또는 그림) — 모두 같은 비율 16:10 */
.sub-img {
  margin: -16px -14px 12px; aspect-ratio: 16 / 10;
  background: var(--brand-soft) center / cover no-repeat;
}
.sub-img.icon {
  display: flex; align-items: center; justify-content: center; color: var(--brand);
  background: linear-gradient(135deg, #fff5f8, #ffe1ea);
}
.sub-img.icon svg { width: 34%; height: auto; max-width: 72px; }
.sub-card h3 { font-size: 1rem; margin: 0 0 6px; color: var(--ink); }
.sub-card p { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.5; }
a.sub-card:hover { border-color: var(--brand); }
@media (min-width: 768px) { .sub-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1024px) {
  .sub-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .sub-card { padding: 22px 18px; }
  .sub-img { margin: -22px -18px 14px; }
  .sub-card h3 { font-size: 1.08rem; }
  .cat-bar { gap: 0; }
  .cat-bar a { flex: 1 1 auto; font-size: .88rem; padding: 12px 8px; border-radius: 0; }
  .cat-bar a + a { border-left: 0; }
  .cat-bar a:first-child { border-radius: 6px 0 0 6px; }
  .cat-bar a:last-child { border-radius: 0 6px 6px 0; }
}

/* 시설미화관리 4개 분야 바로가기 */
.svc-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; padding-top: 20px; }
.svc-tabs a {
  display: block; padding: 12px 8px; text-align: center; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; font-size: .95rem;
}
.svc-tabs a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.svc-block { scroll-margin-top: var(--header-h); }
@media (min-width: 1024px) {
  .svc-tabs { grid-template-columns: repeat(4, 1fr); gap: 0; padding-top: 32px; }
  .svc-tabs a { padding: 16px 8px; font-size: 1.05rem; }
  .svc-tabs a + a { border-left: 0; }
  .svc-tabs:not(.three) a:nth-child(4n+1) { border-left: 1px solid var(--line); } /* 분야가 5개 이상이면 줄이 바뀜 */
  .svc-tabs:not(.three) a:nth-child(n+5) { border-top: 0; }
  .svc-intro.reverse .svc-photo { order: 2; }
}
@media (min-width: 768px) {
  .feature-cards { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 1024px) {
  .svc-intro { grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
  .svc-photo { min-height: 460px; }
  .svc-title { font-size: 1.8rem; }
  .feature-cards { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* ---------- 작업 절차 ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step; position: relative;
  padding: 0 0 20px 48px;
}
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.steps strong { display: block; color: var(--ink); }

/* ---------- 안내 박스 ---------- */
.notice {
  padding: 16px; border-left: 4px solid var(--brand); background: var(--bg-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.check-list { padding-left: 1.2em; }
.check-list li { margin-bottom: 6px; }

/* ---------- 페이지 제목 ---------- */
.page-head { padding: 32px 0 24px; background: var(--brand-soft); }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 6px; }
.breadcrumb a { color: var(--muted); }

/* ---------- 표 ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { border: 1px solid var(--line); padding: 10px; text-align: left; }
th { background: var(--bg-soft); }

/* ---------- 폼 ---------- */
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 4px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px; border: 1px solid #cfd5db; border-radius: 8px; font: inherit;
}
.form-row textarea { min-height: 120px; }
.agree { font-size: .9rem; }
.agree input { width: auto; margin-right: 6px; }

/* ---------- 견적문의 팝업 ---------- */
/* 휴대폰: 아래에서 올라오는 창 / PC: 오른쪽 아래 작은 창 (페이지를 가리지 않음) */
.popup {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: flex-end; justify-content: center;
  background: rgba(0, 0, 0, .5);
}
.popup[hidden] { display: none; }
.popup-panel {
  position: relative; width: 100%; max-height: 88vh; overflow-y: auto;
  background: #fff; border-radius: 16px 16px 0 0; padding: 24px 16px 20px;
  animation: popup-up .25s ease-out;
}
.popup-panel h2 { margin: 0 0 4px; font-size: 1.25rem; }
.popup-desc { margin: 0 0 12px; color: var(--muted); font-size: .95rem; }
.popup-close {
  position: absolute; top: 8px; right: 8px; width: 40px; height: 40px;
  border: 0; background: none; font-size: 1.8rem; line-height: 1; color: #888; cursor: pointer;
}
.popup-quick { margin: 0 0 16px; }
.popup-quick .btn { flex: 1; padding: 10px; }
.btn-kakao-lg { background: var(--kakao); color: #3c1e1e; }
.popup-form .form-row { margin-bottom: 12px; }
.popup-form input, .popup-form select, .popup-form textarea { padding: 10px; }
.popup-form textarea { min-height: 80px; resize: vertical; }
.form-row input[type="file"] { padding: 8px; font-size: .9rem; background: var(--bg-soft); }
.popup-form .form-row label { font-size: .95rem; }
/* 현장사진 미리보기 (js/main.js initPhotoPicker) */
.photo-list { display: flex; flex-wrap: wrap; gap: 8px; }
.photo-list:not(:empty) { margin-top: 8px; }
.photo-item { position: relative; width: 64px; height: 64px; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; display: block; background: var(--bg-soft); }
.photo-item button { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; background: var(--ink); color: #fff; font-size: 15px; line-height: 1; cursor: pointer; }
.req { color: #d33; }
.form-help { margin: 4px 0 0; font-size: .8rem; color: var(--muted); }
.btn-block { width: 100%; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
body.popup-open { overflow: hidden; }
@keyframes popup-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (min-width: 768px) {
  .popup {
    inset: auto; right: 24px; bottom: 64px; /* 아래 Netlify 표시를 피함 */
    display: block; background: none;
  }
  .popup-panel {
    width: 360px; max-height: calc(100vh - 88px);
    border-radius: 16px; padding: 22px 20px 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .22); border: 1px solid var(--line);
  }
}

/* PC 오른쪽 아래 작은 견적 버튼 (누르면 견적 창이 열림). 휴대폰은 아래 고정 버튼 사용 */
.quote-fab { display: none; }
@media (min-width: 768px) {
  .quote-fab {
    display: block; position: fixed; right: 24px; bottom: 64px; z-index: 190;
    padding: 13px 22px; border: 0; border-radius: 999px; background: var(--brand); color: #fff;
    font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  }
  .quote-fab:hover { filter: brightness(.94); }
  .quote-fab[hidden] { display: none; }
}

/* ---------- 휴대폰 아래 고정 버튼 (js/main.js initBottomBar) ---------- */
.bottom-bar { display: none; }
@media (max-width: 767px) {
  .bottom-bar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
    height: 58px; padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -4px 14px rgba(0, 0, 0, .12);
  }
  .bottom-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    font-size: .85rem; font-weight: 800; text-decoration: none;
  }
  .bottom-bar svg { width: 20px; height: 20px; }
  .bb-call { background: var(--brand); color: #fff; }
  .bb-kakao { background: var(--kakao); color: #3c1e1e; }
  .bb-quote { background: var(--ink); color: #fff; }
  body.has-bottom-bar { padding-bottom: 58px; }       /* 맨 아래 내용이 버튼에 가리지 않게 */
  html.snap-page { scroll-padding-bottom: 58px; }
  /* Netlify 무료 요금제 표시(#nl-badge-frame)가 있을 때만 버튼을 그 위로 올림. 표시가 없어지면 저절로 원래 자리로 */
  html:has(#nl-badge-frame) .bottom-bar { bottom: 64px; box-shadow: 0 58px 0 #fff, 0 64px 0 #fff, 0 -4px 14px rgba(0, 0, 0, .12); }
  html:has(#nl-badge-frame) body.has-bottom-bar { padding-bottom: 122px; }
  html.snap-page:has(#nl-badge-frame) { scroll-padding-bottom: 122px; }
}

/* ---------- 하단 문의 띠 ---------- */
.cta-band { background: var(--ink); color: #fff; text-align: center; padding: 40px 0; }
.cta-band h2 { color: #fff; }
.cta-band .btn-row { justify-content: center; }

/* ---------- 푸터 ---------- */
.site-footer { background: #1d232a; color: #b8c0c8; font-size: .85rem; padding: 32px 0 40px; }
.site-footer a { color: #dfe5ea; }
.site-footer .f-name { color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.site-footer dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; }
.site-footer dt { color: #8a949e; }
.site-footer dd { margin: 0; }
.site-footer .f-links { margin: 16px 0 0; }
.site-footer .f-links a { color: #fff; font-weight: 700; text-decoration: none; }
.site-footer .f-links a:hover { text-decoration: underline; }
.site-footer .f-sep { margin: 0 10px; color: #5c656e; }
/* 푸터 4칸 + 서비스 지역 + 사업자 정보 */
.site-footer { padding-top: 40px; }
.site-footer .f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.site-footer .f-brand, .site-footer .f-contact { grid-column: 1 / -1; }
.site-footer .f-name { font-size: 1.2rem; margin-top: 0; }
.site-footer .f-lead { margin: 0 0 14px; line-height: 1.7; }
.site-footer .f-social { display: flex; flex-wrap: wrap; gap: 8px; }
.site-footer .f-social a { padding: 6px 12px; border-radius: 999px; background: #2b333c; color: #fff; font-size: .8rem; font-weight: 700; text-decoration: none; }
.site-footer .f-social a:hover { background: var(--brand); }
.site-footer .f-title { margin: 0 0 10px; color: #fff; font-weight: 700; font-size: .95rem; }
.site-footer .f-col ul { list-style: none; margin: 0; padding: 0; }
.site-footer .f-col li { margin-bottom: 8px; }
.site-footer .f-col a { text-decoration: none; }
.site-footer .f-col a:hover { color: #fff; text-decoration: underline; }
.site-footer .f-contact p:not(.f-title) { margin: 0 0 6px; word-break: break-word; }
.site-footer .f-contact .f-tel { font-size: 1.35rem; font-weight: 800; }
.site-footer .f-contact .f-tel a { color: #fff; }
.site-footer .f-area { margin-top: 28px; padding-top: 20px; border-top: 1px solid #333c45; }
.site-footer .f-area-title { margin: 0 0 10px; color: #fff; font-weight: 700; }
.site-footer .f-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.site-footer .f-chips a { padding: 6px 12px; border-radius: 8px; background: #2b333c; color: #dfe5ea; font-size: .8rem; text-decoration: none; }
.site-footer .f-chips a:hover { color: #fff; background: #3a444e; }
.site-footer .f-legal { margin-top: 20px; padding-top: 20px; border-top: 1px solid #333c45; }
@media (min-width: 768px) {
  .site-footer { padding-top: 56px; }
  .site-footer .f-grid { grid-template-columns: 1.4fr .8fr 1.2fr 1.3fr; gap: 32px; }
  .site-footer .f-brand, .site-footer .f-contact { grid-column: auto; }
  .site-footer .f-area { display: flex; align-items: center; gap: 20px; }
  .site-footer .f-area-title { margin: 0; flex: none; }
  .site-footer dl { grid-template-columns: auto 1fr auto 1fr; }
}/* 개인정보처리방침 본문 */
.policy { max-width: 820px; }
.policy h2 { font-size: 1.15rem; margin: 32px 0 10px; }
.policy ul { padding-left: 1.2em; }
.policy li { margin-bottom: 4px; }
.site-footer .copy { margin-top: 16px; color: #7c868f; }

/* ---------- 태블릿·PC ---------- */
@media (min-width: 768px) {
  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2rem; }
  .section { padding: 64px 0; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid.three { grid-template-columns: repeat(3, 1fr); }
}
/* ---------- 파트너사 ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.partner-logo {
  display: flex; align-items: center; justify-content: center; height: 80px;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  color: #9aa3ad; font-size: .85rem;
}
.partner-logo img { max-width: 80%; max-height: 60%; object-fit: contain; }
@media (max-width: 767px) { .partner-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; } .partner-logo { height: 64px; } }
.partner-dark { background: #22262b; border-color: #22262b; overflow: hidden; } /* 사진에서 잘라낸 어두운 간판 로고 */
.partner-dark img { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: cover; }
.partner-name { flex-direction: column; gap: 4px; text-align: center; padding: 0 6px; }
.partner-name strong { color: var(--ink); font-size: .98rem; font-weight: 800; line-height: 1.3; word-break: keep-all; }
@media (max-width: 767px) { .partner-name strong { font-size: .78rem; } }
.partner-name span { color: var(--brand); font-size: .8rem; font-weight: 700; }
@media (min-width: 1024px) { .partner-grid { grid-template-columns: repeat(5, 1fr); } } /* 20곳 = 5개씩 4줄 */
@media (min-width: 768px) {
  .partner-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .partner-logo { height: 110px; }
}

@media (min-width: 1024px) {
  .menu-toggle { display: none; }
  :root { --header-h: 70px; } /* PC는 머리 부분을 조금 높게 */
  .logo { margin-right: 32px; font-size: 1.55rem; gap: 10px; }
  .logo-mark { height: 44px; }
  .site-nav {
    display: block; position: static; margin-right: auto;
    border: 0; box-shadow: none; background: none;
  }
  .site-nav ul { display: flex; }
  .site-nav a { border: 0; padding: 8px 18px; font-size: 1.15rem; font-weight: 800; }
  /* 지금 보는 메뉴: 빨간 글씨 + 아래 빨간 줄 */
  .site-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--brand); }
  /* PC: 서비스영역에 마우스를 올리면 아래로 펼쳐짐 */
  .site-nav .has-sub { position: relative; }
  .site-nav .sub-menu {
    display: none; position: absolute; top: 100%; left: 0; z-index: 120;
    min-width: 230px; padding: 8px 0; background: #fff;
    border-top: 3px solid var(--brand); box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
  }
  .site-nav .has-sub:hover > .sub-menu,
  .site-nav .has-sub:focus-within > .sub-menu { display: block; }
  .site-nav .sub-menu a {
    padding: 10px 20px; font-size: .98rem; font-weight: 600; color: var(--ink);
    white-space: nowrap; box-shadow: none;
  }
  .site-nav .sub-menu a::before { content: none; }
  .site-nav .sub-menu a:hover { background: var(--brand-soft); color: var(--brand); }
  .site-nav .sub-menu a[aria-current="page"] { box-shadow: none; }
}

/* ---------- 한 화면씩 넘기기 (홈: <html class="snap-page">) ----------
   마우스 휠·손가락으로 한 번 내리면 다음 화면(.snap)으로 넘어감.
   화면: 1 메인 영상 → 2 주요사업영역 → 3 작업사례 → 4 파트너사 → 하단 정보 */
html.snap-page { scroll-snap-type: y mandatory; scroll-padding-top: var(--header-h); }
.snap {
  scroll-snap-align: start; scroll-snap-stop: always;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 40px; padding-bottom: 40px;
}
.snap > .container { width: 100%; }
.snap-end { scroll-snap-align: end; }
.snap-top { scroll-snap-align: start; } /* 페이지 맨 위 제목 부분 (회사소개 등) */
.cases-screen .before-after { max-width: 820px; }
/* 홈 3번째 화면: 분야 버튼 + 현장 사진 4장 + 최근 작업 이력 */
.case-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin: 6px 0 16px; scrollbar-width: none; }
.case-chips::-webkit-scrollbar { display: none; }
.case-chips a { flex: 0 0 auto; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: .85rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.case-chips a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.case-board { display: grid; gap: 14px; }
.case-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.case-photo {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 110px; padding: 10px;
  border-radius: 6px; overflow: hidden; color: #fff; text-decoration: none; background: #555 center / cover no-repeat;
}
.case-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.72)); }
.case-photo > * { position: relative; }
.case-photo strong { font-size: .88rem; line-height: 1.35; }
.case-tag { align-self: flex-start; margin-bottom: 4px; padding: 2px 8px; border-radius: 3px; background: var(--brand); font-size: .72rem; font-weight: 700; }
.case-photo:hover { outline: 3px solid var(--brand); }
.case-history { background: rgba(255,255,255,.94); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: 6px; padding: 16px 18px; }
.case-history h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--ink); }
.case-history ul { list-style: none; margin: 0 0 12px; padding: 0; }
.case-history li { display: grid; grid-template-columns: 52px 1fr auto; gap: 8px; align-items: baseline; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .88rem; }
.ch-year { color: var(--brand); font-weight: 800; }
.ch-name { color: var(--ink); font-weight: 700; }
.ch-work { color: var(--muted); font-size: .82rem; }
.case-history .btn-row { margin: 0; }
@media (max-width: 767px) { .case-history li:nth-child(n+5) { display: none; } } /* 휴대폰은 4줄만 */
/* 블로그 연동 (js/blog.js) */
.case-history li.blog-row { display: block; padding: 0; }
.blog-row a { display: grid; grid-template-columns: 46px 1fr auto; gap: 8px; align-items: baseline; padding: 8px 0; color: inherit; text-decoration: none; }
.blog-row a:hover .ch-name { color: var(--brand); }
.blog-row .ch-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 600; }
.blog-card { display: block; color: inherit; text-decoration: none; }
.blog-card h3 { font-size: 1rem; line-height: 1.45; margin: 10px 0 6px; }
.blog-thumb { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: var(--bg-soft); }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-more { margin: 14px 0 0; text-align: right; font-weight: 700; }
.blog-more a { color: var(--brand); }
/* 현장 블로그 목록 (cases/blog.html) */
.blog-filter button { flex: 0 0 auto; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.blog-filter button.active, .blog-filter button:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.blog-count { margin: 0 0 10px; }
.blog-list { display: grid; gap: 12px; }
.blog-item { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: inherit; text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.blog-item:hover { border-color: var(--brand); box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.bi-thumb { aspect-ratio: 1 / 1; border-radius: 6px; overflow: hidden; background: var(--bg-soft); }
.bi-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bi-body { min-width: 0; }
.bi-body h3 { margin: 6px 0 4px; font-size: .98rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bi-excerpt { display: none; margin: 0 0 6px; color: var(--muted); font-size: .88rem; line-height: 1.55; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bi-body .meta { margin: 0; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 22px 0 0; }
.pager button { min-width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font: inherit; font-weight: 700; cursor: pointer; color: var(--ink); }
.pager button.active { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (min-width: 768px) {
  .blog-item { grid-template-columns: 220px 1fr; gap: 20px; padding: 16px; }
  .bi-thumb { aspect-ratio: 16 / 11; }
  .bi-body h3 { font-size: 1.12rem; margin-top: 8px; }
  .bi-excerpt { display: -webkit-box; }
}
/* 블로그 글 보기 창 (새 창 대신 홈페이지 안에서) */
html.bv-open, html.bv-open body { overflow: hidden; }
.blog-viewer { position: fixed; inset: 0; z-index: 2000; background: rgba(20, 22, 26, .6); display: flex; align-items: flex-end; justify-content: center; }
.blog-viewer[hidden] { display: none; }
.bv-box { width: 100%; height: 92vh; height: 92dvh; background: #fff; border-radius: 14px 14px 0 0; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 -8px 30px rgba(0,0,0,.25); }
.bv-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 16px; border-bottom: 1px solid var(--line); border-top: 4px solid var(--brand); }
.bv-title { flex: 1; margin: 0; font-weight: 700; font-size: .92rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--ink); }
.bv-out { flex: 0 0 auto; font-size: .8rem; font-weight: 700; color: var(--muted); }
.bv-close { flex: 0 0 auto; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--bg-soft); font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink); }
.bv-close:hover { background: var(--brand); color: #fff; }
.bv-frame { flex: 1; width: 100%; border: 0; background: #fff; }
@media (min-width: 768px) {
  .blog-viewer { align-items: center; padding: 24px; }
  .bv-box { max-width: 760px; height: 88vh; border-radius: 10px; }
}
@media (min-width: 1024px) {
  .case-board { grid-template-columns: 1.55fr 1fr; gap: 24px; align-items: stretch; }
  .case-photo { min-height: 190px; padding: 16px; }
  .case-photo strong { font-size: 1.05rem; }
  .case-history { padding: 22px 24px; display: flex; flex-direction: column; }
  .case-history ul { flex: 1; }
  .case-history li { grid-template-columns: 64px 1fr auto; padding: 10px 0; font-size: .95rem; }
}
/* 3번째 화면 작업사례 배경 (images/cases-bg.jpg: PPT 마지막 장 직원 사진) */
.cases-screen {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .55)),
    #f3f5f8 url("../images/cases-bg.jpg") right center / cover no-repeat;
}
@media (min-width: 768px) {
  .hero-video.snap, .strengths.snap { max-height: none; min-height: calc(100vh - var(--header-h)); }
}

/* 접수 완료 화면 (thanks.html) */
.thanks { text-align: center; }
.thanks .btn-row { justify-content: center; }
.thanks-mark { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 2rem; line-height: 64px; font-weight: 800; }
.thanks-home { margin-top: 20px; }
