/* ============================================================
   Sailing-IT — 다크 리디자인 (2026)
   기준 캔버스 1440px / 콘텐츠 컨테이너 1200px
   섹션: Hero·About·Value·Process·CTA·Footer = 다크
         Service·FAQ·Portfolio = 화이트
   ============================================================ */

:root {
  --page:        #ffffff;
  --hero-bg:     #05070e;
  --about-bg:    #0a1322;
  --value-bg:    #071a24;
  --process-bg:  #011d2b;
  --cta-bg:      #05141c;
  --footer-bg:   #121212;

  --ink:         #0b1220;   /* 라이트 위 진한 텍스트 */
  --ink-sub:     #5c6b78;   /* 라이트 위 보조 텍스트 */
  --white:       #ffffff;
  --on-dark:     rgba(255,255,255,0.72); /* 다크 위 보조 텍스트 */

  --accent:      #286fff;
  --accent-2:    #0052ff;
  --grad-btn:    linear-gradient(180deg, #469df8 0%, #2888f2 50%, #1b68fa 100%);

  --card-light:  #ffffff;
  --card-gray:   #f3f5f8;
  --line:        rgba(255,255,255,0.12);

  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  background: var(--page);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-break: keep-all;   /* 한글이 단어(어절) 단위로만 줄바꿈되도록 → '의' 등 낱글자 고아 방지 */
}
/* height:auto 가 있어야 <img> 의 width/height 속성(CLS 방지용)이
   반응형 축소 시 비율을 깨뜨리지 않는다. */
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* 공통 버튼 (파란 그라데이션 알약) */
.btn-grad {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 34px;
  background: var(--grad-btn);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(40,111,255,0.35);
  transition: transform .2s, box-shadow .2s;
}
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(40,111,255,0.45); }

/* 섹션 공통 헤딩 */
.sec-eyebrow {
  color: var(--accent-2);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.sec-title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.accent { color: var(--accent); }

/* ============================================================
   HEADER (floating)
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 26px 0;
  background: transparent;
  transition: transform .4s cubic-bezier(.4,0,.2,1), background .3s, padding .3s;
  will-change: transform;
}
.site-header.scrolled {
  background: rgba(5,7,14,0.85);
  backdrop-filter: blur(10px);
  padding: 16px 0;
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}
.site-header.hide { transform: translateY(-130%); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo img { height: 30px; width: auto; }
.logo-word { font-weight: 800; font-size: 22px; letter-spacing: 3px; color: #fff; }
.gnb { display: flex; align-items: center; gap: 44px; }
.gnb a {
  color: rgba(255,255,255,0.85);
  font-size: 16px;
  font-weight: 500;
  transition: color .2s;
}
.gnb a:hover, .gnb a.is-active { color: #fff; }
.gnb a.cta-link { color: #fff; font-weight: 600; }
.hamburger { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--hero-bg);
  background-image:
    radial-gradient(1200px 500px at 50% 40%, rgba(40,111,255,0.12), transparent 70%),
    url('images/bg-hero.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.hero::after { /* 하단 페이드 */
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,7,14,0.2) 0%, transparent 30%, rgba(5,7,14,0.5) 100%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; padding: 0 24px; }
.hero-lead {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -1px;
  color: #fff;
}
.hero-title {
  margin-top: 12px;
  font-size: 62px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -3px;
}
.hero-title .accent { color: #4d8bff; }
.hero-cta { margin-top: 32px; }
.scroll-cue {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 26px; height: 40px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 14px;
  display: flex; justify-content: center;
}
.scroll-cue span {
  width: 4px; height: 8px;
  margin-top: 7px;
  background: #fff;
  border-radius: 2px;
  animation: scrollDot 1.5s infinite;
}
@keyframes scrollDot { 0%{opacity:0;transform:translateY(-4px)} 50%{opacity:1} 100%{opacity:0;transform:translateY(10px)} }

/* ============================================================
   ABOUT (다크 + 네트워크 메시)
   ============================================================ */
.about {
  background: var(--about-bg);
  background-image: url('images/bg-about.webp');
  background-size: cover;
  background-position: right center;
  color: #fff;
  padding: 130px 0;
}
.about-head {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 56px;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.about-card {
  background: #fff;
  border-radius: 18px;
  padding: 36px 34px 40px;
  color: var(--ink);
  min-height: 300px;
}
.about-card .num {
  font-size: 34px;
  font-weight: 700;
  color: #9db8e6;
  margin-bottom: 18px;
}
.about-card h3 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
}
.about-card .divider { height: 1px; background: #e5e9f0; margin: 22px 0; }
.about-card p {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink-sub);
}

/* ============================================================
   SERVICE (화이트 · 벤토 포토 그리드)
   ============================================================ */
.service {
  background: var(--page);
  padding: 130px 0;
}
.service-head {
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 60px;
}
.service-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 400px;
  gap: 24px;
}
.svc-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #0b1a24 center/cover no-repeat;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  isolation: isolate;
}
.svc-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,15,25,0.15) 0%, rgba(6,15,25,0.85) 100%);
  z-index: -1;
}
.svc-card img.bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.svc-card h3 { font-size: 20px; font-weight: 700; }          /* 좁은 카드 기본(Figma 20px) */
.svc-1 h3, .svc-4 h3 { font-size: 28px; }                    /* 넓은 카드(Figma 28px) */
.svc-card p { margin-top: 12px; font-size: 16px; font-weight: 500; line-height: 1.55; color: rgba(255,255,255,0.8); }
/* 4장 배치(Figma 좌표): 좌상 넓은(792)·우상 좁은(384) / 좌하 좁은(384)·우하 넓은(792)
   1200px 컨테이너를 3등분(384) + gap 24, 넓은 카드는 2칸 span(384+24+384=792) */
.svc-1 { grid-column: 1 / span 2; grid-row: 1; }
.svc-2 { grid-column: 3;          grid-row: 1; }
.svc-3 { grid-column: 1;          grid-row: 2; }
.svc-4 { grid-column: 2 / span 2; grid-row: 2; }

/* ============================================================
   VALUE (다크 바닷속 · 지그재그 카드)
   ============================================================ */
.value {
  position: relative;
  background: var(--value-bg);
  background-image: linear-gradient(180deg, rgba(7,26,36,0.2), rgba(7,26,36,0.6)), url('images/bg-value.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 140px 0 160px;
}
/* Figma 좌표: 제목 588px 좌측 열 / 카드 588px 우측 열에서 360px 카드가 우→좌 지그재그 */
.value-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.value-head {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.3;
  margin: 0;
  align-self: start;
  position: sticky;
  top: 140px;
}
.value-list { display: flex; flex-direction: column; gap: 120px; }
.value-card {
  width: 360px;
  height: 470px;
  max-width: 100%;
  align-self: flex-start;
  background: #fff;
  color: var(--ink);
  border-radius: 24px;
  padding: 136px 40px 80px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.value-card:nth-child(odd) { align-self: flex-end; }
.value-card .v-icon { height: 80px; width: auto; margin-bottom: 24px; color: #7a8aa0; }
.value-card .v-icon img { height: 100%; width: auto; object-fit: contain; }
.value-card h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.5px; line-height: 1.5; color: #000; }
.value-card p { margin-top: 12px; font-size: 16px; font-weight: 500; letter-spacing: -0.5px; line-height: 1.6; color: #1d1d1d; }

/* ============================================================
   PROCESS (다크 틸 · 5스텝)
   ============================================================ */
.process {
  background: var(--process-bg);
  background-image:
    radial-gradient(1000px 400px at 50% 120%, rgba(0,57,74,0.7), transparent 70%),
    url('images/bg-process.webp');
  background-size: auto, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  color: #fff;
  padding: 120px 0;
}
.process-head {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.4;
  margin-bottom: 120px;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.pstep { position: relative; }
.pstep .p-icon {
  width: 40px; height: 40px; color: #cfe3ff;
  margin-bottom: 40px;
}
.pstep .p-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; }
.pstep .p-icon img { width: 100%; height: 100%; object-fit: contain; }
.pstep::after { /* 연결선 */
  content: "";
  position: absolute;
  top: 20px; left: 56px; right: -20px;
  height: 1px;
  background: rgba(255,255,255,0.2);
}
.pstep:last-child::after { display: none; }
.pstep h3 { font-size: 28px; font-weight: 700; letter-spacing: -1px; }
.pstep p { margin-top: 12px; font-size: 16px; font-weight: 500; letter-spacing: -0.5px; line-height: 1.6; color: #fff; }

/* ============================================================
   FAQ (화이트 · 아코디언)
   ============================================================ */
.faq { background: var(--page); padding: 120px 0; }
.faq-inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 60px;
  align-items: start;
}
.faq-title { margin-top: 10px; }
.faq-title .sec-title { margin-top: 18px; color: var(--ink); }
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: var(--card-gray);
  border-radius: 14px;
  overflow: hidden;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 28px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}
.faq-q .ic {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  position: relative;
  border-radius: 50%;
  background: #ccd1d8;
  color: #fff;
}
.faq-q .ic::before, .faq-q .ic::after {
  content: ""; position: absolute; background: currentColor; border-radius: 2px;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.faq-q .ic::before { width: 12px; height: 2px; }
.faq-q .ic::after  { width: 2px; height: 12px; transition: transform .25s; }
.faq-item.open .faq-q .ic::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 28px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-sub);
}
.faq-item.open .faq-a { max-height: 320px; padding: 0 28px 26px; }

/* ============================================================
   PORTFOLIO (화이트)
   ============================================================ */
.portfolio { background: var(--page); padding: 120px 0 140px; }
.portfolio-head { text-align: center; font-size: 34px; font-weight: 700; letter-spacing: -1.5px; color: var(--ink); margin-bottom: 48px; }
.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 24px;
}
.pf-card { cursor: pointer; }
.pf-card h3 { margin-top: 24px; font-size: 28px; font-weight: 700; letter-spacing: -1px; color: var(--ink); }
.pf-more { display: inline-block; margin-top: 16px; font-size: 16px; font-weight: 600; color: var(--accent); }
.pf-all { text-align: center; margin-top: 70px; }

/* ============================================================
   CTA + FOOTER (다크)
   ============================================================ */
.cta {
  background: var(--cta-bg);
  background-image: linear-gradient(180deg, rgba(5,20,28,0.4), rgba(5,20,28,0.7)), url('images/bg-cta.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 120px 0;
}
.cta h2 { font-size: 34px; font-weight: 700; }
.cta p { margin-top: 18px; font-size: 16px; font-weight: 500; color: var(--on-dark); }
.cta .btn-grad { margin-top: 40px; }
/* 서비스 분야 페이지 전용 CTA 배경 */
.cta-service {
  background-image: linear-gradient(180deg, rgba(5,20,28,0.4), rgba(5,20,28,0.7)), url('images/bg-cta-service.webp');
}

.site-footer { background: var(--footer-bg); color: #fff; padding: 64px 0 64px; }
/* Figma: 브랜드 좌측 / [회사 90px 연락처] 그룹 우측 (space-between) */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-info { display: flex; flex-wrap: wrap; gap: 90px 60px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.75); transition: color .2s; }
.footer-col ul a:hover { color: #fff; }
.footer-col { width: 230px; }
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand .logo-word { font-size: 20px; letter-spacing: 2px; }
.theme-light .site-footer .logo-word { color: #fff; }
.footer-tagline { font-size: 20px; font-weight: 700; color: #fff; }
.footer-col h2, .footer-col h4 { font-size: 20px; font-weight: 700; margin-bottom: 16px; color: #fff; }
.footer-col p { font-size: 16px; font-weight: 500; line-height: 1.6; color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 26px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

/* ============================================================
   스크롤 진입 애니메이션
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   LIGHT SUB-PAGES (서비스분야 · 체험하기 · 포트폴리오 · 문의하기)
   ============================================================ */
body.theme-light { background: #fff; color: #1d1d1d; }

/* 라이트 헤더 */
.theme-light .site-header { background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(15,23,42,0.06); }
.theme-light .site-header.scrolled { background: rgba(255,255,255,0.96); box-shadow: 0 6px 20px rgba(15,23,42,0.08); }
.theme-light .logo-word { color: #1d1d1d; }
.theme-light .gnb a { color: #1d1d1d; }
.theme-light .gnb a:hover { color: #286fff; }
.theme-light .gnb a.is-active { color: #286fff; font-weight: 700; }
.theme-light .hamburger span { background: #1d1d1d; }
.theme-light .gnb.open { background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,0.12); }
.theme-light .gnb.open a { color: #1d1d1d; }

/* 라이트 페이지 히어로 */
.lp-hero {
  text-align: center;
  padding: 190px 24px 90px;
  background: linear-gradient(180deg, #f4f8ff 0%, #e9f1ff 100%);
}
.lp-hero h1 { color: #286fff; font-size: 62px; font-weight: 700; letter-spacing: -3px; line-height: 1.3; }
.lp-hero p { margin-top: 20px; color: #343a40; font-size: 28px; font-weight: 700; line-height: 1.4; letter-spacing: -1px; }

.lp-section { background: linear-gradient(180deg, #eef4ff 0%, #f7faff 100%); padding: 20px 0 120px; }

/* 포트폴리오 상세 페이지 */
.pd-hero { text-align: left; padding: 160px 24px 60px; background: linear-gradient(180deg, #f4f8ff 0%, #e9f1ff 100%); }
.pd-back { display: inline-block; margin-bottom: 18px; font-size: 15px; font-weight: 700; color: #286fff; text-decoration: none; }
.pd-hero h1 { font-size: 40px; font-weight: 700; letter-spacing: -1px; color: var(--ink); }
.pd-body { padding: 0 0 100px; }
.pd-images { display: flex; flex-direction: column; gap: 24px; }
.pd-image { display: block; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(15,23,42,0.08); }
.pd-image img { width: 100%; display: block; }

/* 카드 공용 아이콘 (파란 라운드 스퀘어) */
.blue-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: #e5efff;
  display: flex; align-items: center; justify-content: center;
  color: #286fff;
  margin-bottom: 22px;
}
.blue-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.blue-icon img { width: 28px; height: 28px; object-fit: contain; }
/* 서비스분야(service.html) 페이지: Figma 스펙 전용 오버라이드 */
.svc-grid-fields .blue-icon { width: 80px; height: 80px; border-radius: 20px; background: #d8e5ff; }
.svc-grid-fields .blue-icon svg,
.svc-grid-fields .blue-icon img { width: 50px; height: 50px; }
.svc-grid-fields .svc-item h3 { letter-spacing: -1px; }
.svc-grid-fields .svc-item p { color: rgba(0,0,0,0.6); letter-spacing: -0.5px; }

/* 서비스분야 / 체험하기 그리드 */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.svc-item {
  background: #fff;
  border-radius: 20px;
  padding: 34px 32px 36px;
  box-shadow: 0 10px 30px rgba(15,23,42,0.06);
  min-height: 240px;
}
/* 상세 페이지가 있는 카드 = 클릭 가능 */
.svc-clickable { display: block; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.svc-clickable:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(15,23,42,0.14); }
.svc-item h3 { font-size: 28px; font-weight: 700; color: #333; }
.svc-item p { margin-top: 14px; font-size: 18px; font-weight: 600; line-height: 1.55; color: #000; }
.svc-link { display: inline-block; margin-top: 18px; font-size: 16px; font-weight: 700; color: #286fff; }
.xp-link { font-size: 18px; }

/* 포트폴리오 stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 70px 0 30px;
}
.stat { text-align: center; }
.stat .num { font-size: 42px; font-weight: 700; color: #2563eb; }
.stat .label { margin-top: 10px; font-size: 18px; font-weight: 600; color: #1c1b1b; }

.proj-section { padding: 40px 0 120px; }
.proj-heading { text-align: center; font-size: 34px; font-weight: 700; color: #000; margin-bottom: 54px; }
.proj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
.proj-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(15,23,42,0.08);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.proj-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(15,23,42,0.14); }
.proj-top {
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2f7de0, #1b53d6);
}
.proj-card:nth-child(2) .proj-top { background: linear-gradient(135deg, #3f8cff, #1f5fe0); }
.proj-card:nth-child(3) .proj-top { background: linear-gradient(135deg, #2a6bd8, #0f3fb0); }
.proj-card:nth-child(4) .proj-top { background: linear-gradient(135deg, #5a97ff, #2e6ae6); }
.proj-top svg { width: 60px; height: 60px; fill: #fff; }
.proj-body { padding: 26px 30px 30px; }
.proj-cat { font-size: 16px; font-weight: 700; color: #286fff; }
.proj-body h3 { margin-top: 8px; font-size: 28px; font-weight: 700; color: #333; }
.proj-body .desc { margin-top: 12px; font-size: 18px; font-weight: 600; color: #000; }
.proj-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 16px; }
.proj-chips span { padding: 6px 14px; background: #f1f3f6; border-radius: 999px; font-size: 15px; font-weight: 500; color: #1c1b1b; }
.proj-more { font-size: 18px; font-weight: 700; color: #286fff; }

/* 포트폴리오 실제 프로젝트 그리드 (썸네일) */
.pf-works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 28px; }
.pf-work { display: block; cursor: pointer; color: inherit; text-decoration: none; }
.pf-work-thumb {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: #eef1f5;
  box-shadow: 0 10px 30px rgba(15,23,42,0.06);
  transition: transform .2s, box-shadow .2s;
}
.pf-work-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pf-work:hover .pf-work-thumb { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(15,23,42,0.14); }
.pf-work h3 { margin-top: 18px; font-size: 20px; font-weight: 700; color: #333; }
.pf-work-more { display: inline-block; margin-top: 8px; font-size: 15px; font-weight: 700; color: #286fff; }

/* 문의 폼 (라이트) */
.contact-wrap { background: linear-gradient(180deg, #eef4ff 0%, #f7faff 100%); padding: 20px 0 120px; }
.contact-form {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  padding: 48px 52px 52px;
  box-shadow: 0 20px 50px rgba(15,23,42,0.08);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.form-field { margin-bottom: 28px; }
.form-row .form-field { margin-bottom: 0; }
.form-field label { display: block; margin-bottom: 12px; font-size: 18px; font-weight: 700; color: #1d1d1d; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; background: #f3f6fb; border: 1px solid #e3e9f2; border-radius: 12px;
  padding: 16px 18px; font-family: inherit; font-size: 17px; color: #1d1d1d; outline: none;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: #286fff; }
.form-field textarea { min-height: 180px; resize: vertical; }
.form-field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.form-consent { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #5c6b78; margin-bottom: 24px; }
.form-consent input { width: 18px; height: 18px; accent-color: #286fff; }
.contact-form .btn-grad { width: 100%; justify-content: center; }
.contact-form .btn-grad:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.form-field label .req { color: #e5484d; margin-left: 2px; }

/* 허니팟: 화면에서 감추되 display:none은 피한다(일부 봇이 건너뛰므로) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin: 16px 0 0; font-size: 15px; line-height: 1.6; text-align: center; min-height: 1.6em; }
.form-status.is-pending { color: #5c6b78; }
.form-status.is-success { color: #14804a; font-weight: 700; }
.form-status.is-error { color: #d13438; font-weight: 700; }

/* ============================================================
   SERVICE DETAIL PAGES (매칭 플랫폼 상세 · 폐쇄형 커머스 상세)
   ============================================================ */
/* 다크 히어로 */
.dp-hero {
  position: relative;
  padding: 220px 0 110px;
  background: var(--hero-bg);
  background-image:
    linear-gradient(90deg, rgba(5,7,14,0.75) 0%, rgba(5,7,14,0.4) 60%, rgba(5,7,14,0.75) 100%),
    url('images/detail_header_bg.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.dp-hero h1 { font-size: 62px; font-weight: 700; letter-spacing: -3px; line-height: 1.3; }
.dp-hero p { margin-top: 22px; font-size: 28px; font-weight: 700; letter-spacing: -1px; line-height: 1.4; color: #fff; max-width: 660px; }

/* Solution Target (다크) */
.dp-target { background: #1a1a1a; color: #fff; padding: 100px 0 110px; }
.dp-target .st-eyebrow { font-size: 48px; font-weight: 700; letter-spacing: -2px; line-height: 1.3; }
.dp-target .st-desc { margin-top: 18px; font-size: 24px; font-weight: 600; letter-spacing: -1px; line-height: 1.4; color: #fff; max-width: 640px; }
.dp-target-grid { margin-top: 179px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dp-target-item { border-top: 2px solid #fff; padding-top: 32px; }
.dp-target-item h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.5px; line-height: 1.5; }
.dp-target-item p { margin-top: 16px; font-size: 18px; font-weight: 500; letter-spacing: -0.5px; line-height: 1.5; color: #fff; }

/* 해결하고자 하는 문제 (라이트) */
.dp-problem { background: #f5f5f5; padding: 110px 0; }
.dp-problem-inner { display: grid; grid-template-columns: 406px 1fr; column-gap: 206px; align-items: center; }
.dp-problem-title h2 { font-size: 48px; font-weight: 700; letter-spacing: -3px; color: var(--ink); line-height: 1.3; }
.dp-problem-title p { margin-top: 12px; font-size: 20px; font-weight: 500; letter-spacing: -0.5px; line-height: 1.5; color: #333333; }
.dp-problem-list { display: flex; flex-direction: column; gap: 20px; }
.dp-pill {
  display: flex; align-items: center; gap: 20px;
  background: #fff; border-radius: 16px; padding: 24px 32px;
  font-size: 28px; font-weight: 700; letter-spacing: -1px; color: #2c2c2c;
  box-shadow: 0 4px 16px rgba(15,23,42,0.08);
}
.dp-pill .chk {
  display: flex; flex: 0 0 auto; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; background: #1a1a1a;
}
.dp-pill .chk svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 3; }

/* 플랫폼 지원 범위 (라이트) */
.dp-scope { background: #f5f5f5; padding: 100px 0; }
.dp-scope h2 { text-align: center; font-size: 48px; font-weight: 700; letter-spacing: -2px; line-height: 1.3; color: var(--ink); margin-bottom: 54px; }
.dp-scope-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1200px; margin-inline: auto; }
.dp-scope-grid.four { grid-template-columns: repeat(2, 1fr); max-width: 792px; }
.dp-scope-card { text-align: center; }
.dp-scope-thumb {
  border-radius: 24px; aspect-ratio: 2 / 1; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #14284e 0%, #0a1730 100%);
  color: rgba(255,255,255,0.85);
}
.dp-scope-thumb svg { width: 54px; height: 54px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.dp-scope-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dp-scope-card h3 { margin-top: 20px; font-size: 28px; font-weight: 700; letter-spacing: -1px; color: #333333; }

/* 다채로운 참여 유도 기능 (다크 · 이미지 카드) */
.dp-feature {
  background: linear-gradient(135deg, #14284e 0%, #0a1730 100%);
  padding: 100px 0; color: #fff;
}
.dp-feature h2 { text-align: center; font-size: 48px; font-weight: 700; letter-spacing: -2px; line-height: 1.3; }
.dp-feature-sub { text-align: center; margin-top: 16px; margin-bottom: 54px; font-size: 20px; font-weight: 500; color: rgba(255,255,255,0.75); }
.dp-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin-inline: auto; }
.dp-feature-card {
  background: #fff; border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,0.28);
}
.dp-feature-img { aspect-ratio: 3 / 2; overflow: hidden; }
.dp-feature-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dp-feature-body { padding: 28px 28px 32px; }
.dp-feature-body h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.5px; color: #1a1a1a; margin-bottom: 10px; }
.dp-feature-body p { font-size: 16px; font-weight: 500; letter-spacing: -0.3px; line-height: 1.5; color: #555; }

/* 견적 정보 (다크) */
.dp-pricing {
  background: #2c2c2c;
  background-image: radial-gradient(900px 400px at 50% 0%, rgba(23,71,181,0.2), transparent 70%);
  color: #fff; padding: 100px 0 110px;
}
.dp-pricing .p-head { text-align: center; margin-bottom: 64px; }
.dp-pricing .p-head h2 { font-size: 48px; font-weight: 700; letter-spacing: -3px; }
.dp-pricing .p-head p { margin-top: 16px; font-size: 20px; color: #fff; }
.dp-price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.dp-price-card {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 16px; padding: 32px;
  display: flex; flex-direction: column;
  color: #121212;
}
.dp-price-card.featured { border: 2px solid #2888f2; box-shadow: 0 20px 50px rgba(40,111,255,0.22); }
.dp-price-card .tier { font-size: 28px; font-weight: 700; letter-spacing: -1px; padding-bottom: 18px; border-bottom: 1px solid #ebebeb; }
.dp-price-card .price { margin-top: 18px; font-size: 28px; font-weight: 700; letter-spacing: -1px; padding-bottom: 18px; border-bottom: 1px solid #ebebeb; }
.dp-price-card .price small { font-size: 16px; font-weight: 500; color: #666666; }
.dp-price-card ul { margin: 26px 0 30px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.dp-price-card li { position: relative; padding-left: 18px; font-size: 16px; line-height: 1.6; color: #666666; }
.dp-price-card li::before {
  content: ""; position: absolute; left: 2px; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: #666666;
}
.dp-price-btn {
  display: block; text-align: center; padding: 15px; border-radius: 999px;
  background: #adb5bd; color: #fff; font-weight: 600; font-size: 18px;
  border: none; transition: background .2s, transform .2s;
}
.dp-price-card.featured .dp-price-btn { background: var(--grad-btn); box-shadow: 0 10px 26px rgba(40,111,255,0.4); }
.dp-price-btn:hover { background: #8a9298; }
.dp-price-card.featured .dp-price-btn:hover { transform: translateY(-2px); background: var(--grad-btn); }

/* 샐링잇의 차별점 (커머스 · 라이트 · 이미지 + 리스트) */
.dp-strength { background: #fff; padding: 100px 0; }
.dp-strength h2 { font-size: 48px; font-weight: 700; letter-spacing: -2px; color: var(--ink); margin-bottom: 48px; }
.dp-strength-inner { display: grid; grid-template-columns: 2fr 3fr; gap: 40px; align-items: stretch; }
.dp-strength-img {
  border-radius: 16px;
  background: linear-gradient(135deg, #14284e 0%, #0a1730 100%);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.8);
}
.dp-strength-img svg { width: 72px; height: 72px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.dp-strength-img { overflow: hidden; }
.dp-strength-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dp-strength-list { display: flex; flex-direction: column; border-bottom: 1px solid #ededed; }
.dp-strength-item { display: flex; flex-direction: column; padding: 0 0 32px; border-top: 1px solid #ededed; }
.dp-strength-item:first-child { border-top: none; }
.dp-strength-item .s-ic { flex: 0 0 auto; width: 24px; height: 24px; margin-bottom: 12px; color: #286fff; }
.dp-strength-item .s-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.dp-strength-item h3 { font-size: 28px; font-weight: 700; letter-spacing: -1px; color: #1a1a1a; margin-bottom: 16px; }
.dp-strength-item p { font-size: 20px; font-weight: 500; letter-spacing: -0.5px; line-height: 1.5; color: #343a40; }

/* 타 솔루션과의 차별점 (라이트 · 지그재그) */
.dp-compare { background: #f5f5f5; padding: 100px 0 120px; }
.dp-compare h2 { text-align: center; font-size: 48px; font-weight: 700; letter-spacing: -2px; line-height: 1.3; color: var(--ink); margin-bottom: 64px; }
.dp-compare-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; margin-bottom: 64px; }
.dp-compare-row:last-child { margin-bottom: 0; }
.dp-compare-row:nth-child(even) .dp-compare-img { order: 2; }
.dp-compare-img {
  border-radius: 16px; aspect-ratio: 4 / 3;
  background: #d9d9d9;
  overflow: hidden;
}
.dp-compare-img svg { display: none; }
.dp-compare-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dp-compare-text h3 { font-size: 28px; font-weight: 700; letter-spacing: -1px; color: #1a1a1a; line-height: 1.4; }
.dp-compare-text p { margin-top: 16px; font-size: 20px; font-weight: 500; letter-spacing: -0.5px; line-height: 1.5; color: #343a40; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .dp-target-grid { grid-template-columns: 1fr; gap: 28px; }
  .dp-problem-inner { grid-template-columns: 1fr; gap: 36px; }
  .dp-scope-grid, .dp-scope-grid.four { grid-template-columns: 1fr 1fr; }
  .dp-feature-grid { max-width: 520px; }
  .dp-price-grid { grid-template-columns: 1fr; }
  .dp-strength-inner { grid-template-columns: 1fr; gap: 40px; }
  .dp-compare-row { grid-template-columns: 1fr; gap: 24px; }
  .dp-compare-row:nth-child(even) .dp-compare-img { order: 0; }
  .dp-hero h1 { font-size: 42px; }
  .hero-title { font-size: 48px; }
  .value-head { font-size: 38px; }
  .about-grid { grid-template-columns: 1fr; }
  .service-bento { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .svc-1,.svc-2,.svc-3,.svc-4 { grid-column: 1 !important; grid-row: auto; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .pstep::after { display: none; }
  .faq-inner { grid-template-columns: 1fr; gap: 32px; }
  .value-inner { grid-template-columns: 1fr; }
  .value-head { position: static; top: auto; margin-bottom: 32px; }
  .value-card { align-self: stretch !important; width: 100%; height: auto; padding: 40px 32px; }
  .value-list { gap: 32px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-info { gap: 48px; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .pf-works { grid-template-columns: 1fr 1fr; }
  .lp-hero h1 { font-size: 48px; }
}
@media (max-width: 720px) {
  .dp-feature-grid { grid-template-columns: 1fr; max-width: 420px; }
  .gnb { display: none; }
  .hamburger {
    display: flex; flex-direction: column; gap: 5px;
    width: 44px; height: 44px; background: none; border: none; cursor: pointer;
    align-items: center; justify-content: center;
  }
  .hamburger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; }
  .gnb.open {
    display: flex; flex-direction: column; gap: 8px;
    position: absolute; top: 100%; right: 24px;
    background: rgba(5,7,14,0.95); padding: 20px 26px; border-radius: 16px;
  }
  .hero-lead { font-size: 20px; }
  .hero-title { font-size: 36px; }
  .sec-title, .about-head, .service-head, .process-head, .portfolio-head, .cta h2 { font-size: 26px; }
  .value-head { font-size: 30px; }
  .pf-grid { grid-template-columns: 1fr; }
  .pf-works { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .about, .service, .value, .process, .faq, .portfolio, .cta { padding: 80px 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 30px; }
  .lp-hero { padding: 130px 20px 60px; }
  .lp-hero h1 { font-size: 38px; }
  .lp-hero p { font-size: 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .form-row .form-field { margin-bottom: 24px; }
  .contact-form { padding: 32px 24px 36px; }
}
