:root {
  --ink: #16181c;
  --ink-2: #22252b;
  --ink-3: #2e323a;
  --paper: #ffffff;
  --paper-2: #f4f4f2;
  --text: #1d2026;
  --muted: #5d636e;
  --muted-dark: #a7adb8;
  --orange: #f07a1a;
  --orange-2: #d9650a;
  --line: #e3e3e0;
  --radius: 14px;
  --header-h: 68px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.25; margin: 0; letter-spacing: -0.02em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.pc { display: none; }
@media (min-width: 768px) { .pc { display: inline; } }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 20px; border-radius: 999px;
  font-weight: 700; font-size: 15px; border: 1.5px solid transparent;
  transition: background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn--lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-2); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* 헤더 */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(22,24,28,.94);
  backdrop-filter: saturate(150%) blur(8px);
  color: #fff;
}
.header__inner { display: flex; align-items: center; gap: 24px; height: 100%; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand img { border-radius: 8px; }
.brand__name { font-weight: 800; font-size: 17px; line-height: 1.15; }
.brand__name small { display: block; font-size: 10px; font-weight: 600; color: var(--orange); letter-spacing: .14em; }
.nav { display: flex; gap: 28px; font-size: 15px; font-weight: 600; }
.nav a { color: #d6d9df; }
.nav a:hover { color: #fff; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .header__call { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--ink);
    border-top: 1px solid var(--ink-3);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 16px 20px; border-bottom: 1px solid var(--ink-3); }
}

/* 히어로 */
.hero {
  position: relative; overflow: hidden;
  min-height: min(88vh, 760px);
  display: flex; align-items: center;
  background: var(--ink); color: #fff;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16,17,20,.94) 0%, rgba(16,17,20,.78) 45%, rgba(16,17,20,.35) 100%);
}
.hero__content { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; }
.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--orange); }
.hero h1 { font-size: clamp(44px, 8vw, 84px); font-weight: 900; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero__lead { margin: 20px 0 24px; font-size: clamp(16px, 2.2vw, 20px); color: #dfe2e7; max-width: 560px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 32px; }
.hero__tags li { padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); font-size: 14px; font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* 지표 */
.facts { background: var(--orange); color: #fff; }
.facts__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { padding: 26px 16px; text-align: center; border-right: 1px solid rgba(255,255,255,.25); }
.fact:last-child { border-right: 0; }
.fact strong { display: block; font-size: 26px; font-weight: 900; }
.fact span { font-size: 14px; opacity: .92; }
@media (max-width: 720px) {
  .fact { padding: 20px 8px; }
  .fact strong { font-size: 20px; }
  .fact span { font-size: 12px; }
}

/* 섹션 공통 */
.section { padding: 96px 0; }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark .section__sub, .section--dark p { color: var(--muted-dark); }
.section__head { margin-bottom: 44px; }
.section__head h2, .about h2, .contact h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.section__sub { margin: 12px 0 0; color: var(--muted); font-size: 16px; }
@media (max-width: 720px) { .section { padding: 64px 0; } .section__head { margin-bottom: 28px; } }

/* 서비스 카드 */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { padding: 20px 20px 24px; }
.card h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* 작업 과정 */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius); padding: 28px 24px; }
.steps b { display: block; font-size: 34px; font-weight: 900; color: var(--orange); margin-bottom: 14px; }
.steps h3 { font-size: 19px; margin-bottom: 8px; color: #fff; }
.steps p { margin: 0; font-size: 15px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* 갤러리 */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery a { display: block; border-radius: 10px; overflow: hidden; background: var(--paper-2); }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .35s; }
.gallery a:hover img { transform: scale(1.05); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* 회사소개 */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.about__text > p { color: var(--muted); font-size: 17px; margin: 18px 0 28px; }
.about__list { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.about__list div { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.about__list dt { font-weight: 800; color: var(--orange-2); }
.about__list dd { margin: 0; }
.about__img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 32px; } .about__img { max-height: 360px; } }

/* 연락처 */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact__list { list-style: none; padding: 0; margin: 28px 0; }
.contact__list li { display: grid; grid-template-columns: 88px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--ink-3); font-size: 17px; }
.contact__list span { color: var(--muted-dark); font-size: 15px; }
.contact__list a { font-weight: 800; color: #fff; }
.contact__list a:hover { color: var(--orange); }
.contact__maps { display: flex; gap: 10px; flex-wrap: wrap; }
.contact__banner { border-radius: var(--radius); width: 100%; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 36px; } }

/* 푸터 */
.footer { background: #0f1013; color: #8a909b; font-size: 13px; padding: 32px 0 96px; }
.footer p { margin: 4px 0; }
.footer b { color: #c9cdd4; }
.footer__copy { margin-top: 12px !important; }
@media (min-width: 901px) { .footer { padding-bottom: 32px; } }

/* 모바일 전화 버튼 */
.fab-call {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40;
  display: none; height: 54px; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--orange); color: #fff; font-weight: 800; font-size: 17px;
  box-shadow: 0 10px 24px rgba(240,122,26,.4);
}
@media (max-width: 900px) { .fab-call { display: flex; } }

/* 라이트박스 */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer; border-radius: 999px; width: 48px; height: 48px; font-size: 30px; line-height: 1; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
