@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");

@font-face {
  font-family: "InkLipquid";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/InkLipquid.woff") format("woff");
  font-display: swap;
}

:root {
  --navy: #0b005c;
  --ink: #212121;
  --sub: #363636;
  --muted: #757575;
  --line: #d5d5d5;
  --gray-bg: #f2f2f2;
  --gray-bg-2: #f5f5f5;
  --mint: #b9f7c9;
  --white: #fff;
  --max: 1200px;
  --header-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
/* 원본처럼 화면 전체 폭을 쓰는 구역 */
.service-sec .container, .client-sec .container, .pro-sec .container,
.cta .container, .site-footer .container { max-width: 1920px; padding: 0 20px; }
.hl { background: linear-gradient(transparent 55%, var(--mint) 55%); font-weight: 700; }
.navy { color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
}
.site-header.on-gray { background: rgba(242, 242, 242, 0.96); }
.site-header .inner {
  height: 100%; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.site-header .logo img { height: 52px; width: auto; }
.gnb { display: flex; gap: 40px; font-family: Poppins, sans-serif; font-size: 14px; }
.gnb > li { list-style: none; position: relative; }
.gnb > li > a { display: block; padding: 26px 0; color: #111; transition: color .2s; }
.gnb > li > a:hover, .gnb > li > a.active { color: var(--navy); }
.gnb .sub {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: #fff; min-width: 190px; padding: 10px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  opacity: 0; visibility: hidden; transition: opacity .2s;
}
.gnb li:hover .sub { opacity: 1; visibility: visible; }
.gnb .sub a { display: block; padding: 9px 22px; font-size: 13px; white-space: nowrap; }
.gnb .sub a:hover { color: var(--navy); background: var(--gray-bg-2); }

.menu-btn { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.menu-btn span, .menu-btn::before, .menu-btn::after {
  content: ""; position: absolute; left: 9px; right: 9px; height: 2px; background: #111; transition: transform .25s, opacity .25s;
}
.menu-btn::before { top: 13px; }
.menu-btn span { top: 19px; }
.menu-btn::after { top: 25px; }
.nav-open .menu-btn::before { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-btn span { opacity: 0; }
.nav-open .menu-btn::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Common section heads ---------- */
.sec { padding: 120px 0; }
.sec-title { font-size: 44px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.sec-desc { font-size: 20px; margin-top: 10px; color: var(--ink); }
.center { text-align: center; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .15s; }
.reveal.d2 { transition-delay: .3s; }
.reveal.d3 { transition-delay: .45s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- HOME: Hero ---------- */
.hero { padding: 20px 0 110px; overflow: hidden; }
.hero-word { width: 100%; opacity: .06; transition: opacity 1.6s ease; }
.hero-word.in { opacity: 1; }
.hero-copy { margin-top: 110px; padding: 0 0 0 2px; font-size: 40px; line-height: 1.45; letter-spacing: -0.02em; }
.hero-copy b { font-weight: 700; }

.diagram { background: var(--navy); }
.diagram img { margin: 0 auto; width: 100%; max-width: 1920px; }
.diagram .m { display: none; }

/* ---------- HOME: What we do ---------- */
.wwd-list { max-width: 720px; margin: 70px auto 0; display: grid; gap: 12px; }
.wwd-list li {
  list-style: none; border: 1px solid #333; border-radius: 4px;
  padding: 26px 20px; text-align: center; font-size: 17px;
}
.wwd-list li b { font-weight: 700; }
.wwd-line { width: 1px; height: 54px; background: var(--line); margin: 50px auto 40px; }
.wwd-summary { text-align: center; font-size: 19px; line-height: 1.7; }

/* ---------- HOME: Why ---------- */
.why-list { max-width: 740px; margin: 70px auto 0; border-top: 1px solid #aaa; }
.why-list li {
  list-style: none; display: grid; grid-template-columns: 140px 1fr;
  background: #f8f8f8; border-bottom: 1px solid #aaa; padding: 34px 38px;
}
.why-list .num { color: var(--navy); font-weight: 700; font-size: 20px; line-height: 1.4; }
.why-list h3 { color: var(--navy); font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.why-list p { color: #555; font-size: 15.5px; line-height: 1.7; }

/* ---------- HOME: Service cards ---------- */
.service-sec { background: var(--navy); color: #fff; padding: 100px 0 100px; }
.service-sec .sec-desc { color: #fff; }
.svc-cards { margin-top: 70px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.svc-card {
  background: #fff; color: var(--ink); padding: 40px 32px 30px; display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(0,0,0,.25); }
.svc-card img { width: 40px; height: 40px; object-fit: contain; margin-bottom: 18px; }
.svc-card h3 { color: var(--navy); font-size: 21px; font-weight: 700; }
.svc-card p { font-size: 15px; line-height: 1.7; margin-top: 10px; color: #333; }
.svc-card .more { margin-top: 44px; align-self: flex-end; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- HOME: Clients ---------- */
.client-sec { padding: 120px 0 130px; overflow: hidden; }
.marquee { margin-top: 70px; overflow: hidden; }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { list-style: none; width: 272px; height: 104px; border: 1px solid #e6e6e6; background: #fff; display: flex; align-items: center; justify-content: center; }
.marquee-track img { width: 100%; height: 100%; object-fit: contain; padding: 6px 18px; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }

/* ---------- HOME: Professional ---------- */
.pro-sec { background: var(--gray-bg); padding: 120px 0 130px; }
.pro-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; }
.pro-cards { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 40px; }
.stat {
  background: var(--navy); color: #fff; border-radius: 40px; padding: 56px 36px;
  aspect-ratio: 483 / 377; box-shadow: 0 10px 22px rgba(0,0,0,.25);
}
.stat:nth-child(2) { grid-row: span 2; align-self: center; }
.stat:nth-child(3) { grid-column: 1; }
.stat small { display: block; font-size: 15px; opacity: .9; }
.stat strong { display: block; font-size: 46px; font-weight: 700; margin-top: 8px; line-height: 1.2; }

/* ---------- STORE banner ---------- */
.store-band { padding: 40px 0; }
.store-band a {
  background: var(--navy); color: #fff; display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center;
  padding: 34px 10%; transition: filter .2s;
}
.store-band a:hover { filter: brightness(1.25); }
.store-band strong { font-size: 40px; font-weight: 700; justify-self: center; }
.store-band span { font-family: "InkLipquid", cursive; font-size: 28px; justify-self: center; }
.store-band img { width: 44px; justify-self: center; }

/* ---------- CONTACT CTA ---------- */
.cta { background: var(--gray-bg); padding: 120px 0 110px; }
.cta h2 { color: var(--navy); font-size: 72px; font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; }
.cta p { font-size: 32px; line-height: 1.4; margin-top: 10px; letter-spacing: -0.02em; }
.cta p b { font-weight: 700; }
.btn-ink {
  display: inline-block; margin-top: 44px; background: var(--navy); color: #fff;
  font-family: "InkLipquid", cursive; font-size: 20px; padding: 16px 64px; transition: filter .2s;
}
.btn-ink:hover { filter: brightness(1.4); }

.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.btn-call, .btn-kakao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 240px; padding: 18px 32px; font-size: 19px; font-weight: 700; transition: filter .2s;
}
.btn-call svg, .btn-kakao svg { width: 22px; height: 22px; flex: none; }
.btn-call { background: var(--navy); color: #fff; letter-spacing: .02em; }
.btn-kakao { background: #fee500; color: #191919; }
.btn-call:hover { filter: brightness(1.4); }
.btn-kakao:hover { filter: brightness(.95); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.62); padding: 70px 0 80px; font-size: 14px; }
.site-footer .f-logo { width: 190px; margin-bottom: 26px; }
.site-footer p { line-height: 2; }
.site-footer .sep { margin: 0 6px; }
.site-footer .copy { margin-top: 36px; font-size: 13px; }

/* ---------- SERVICE pages ---------- */
.svc-hero { background: var(--navy); color: #fff; text-align: center; padding: 140px 20px; }
.svc-hero h1 { font-size: 48px; font-weight: 700; letter-spacing: -0.02em; }
.svc-tabs { display: grid; grid-template-columns: repeat(3, 1fr); }
.svc-tabs a {
  padding: 14px 10px; text-align: center; font-size: 17px; background: #e3e3e3; border: 1px solid #c8c8c8;
  transition: background .2s, color .2s;
}
.svc-tabs a:hover { background: #d6d6d6; }
.svc-tabs a.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.worries { position: relative; max-width: 1200px; height: 600px; margin: 0 auto; }
.worries .memoji { position: absolute; left: 50%; top: 230px; width: 280px; transform: translateX(-50%); }
.bubble {
  position: absolute; padding: 16px 30px; border-radius: 6px; font-size: 19px; white-space: nowrap;
  border: 1px solid #8a86b5; background: #fff; color: #111;
}
.bubble.dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.bubble.b1 { left: 50%; top: 110px; transform: translateX(-50%); }
.bubble.b2 { right: calc(50% + 120px); top: 310px; }
.bubble.b3 { right: calc(50% + 120px); top: 410px; }
.bubble.b4 { left: calc(50% + 115px); top: 280px; }
.bubble.b5 { left: calc(50% + 135px); top: 470px; }
.bubble.reveal.b1 { transform: translate(-50%, 30px); }
.bubble.reveal.b1.in { transform: translate(-50%, 0); }

.svc-detail { background: var(--gray-bg-2); padding: 110px 0 120px; }
.svc-detail h2 { color: var(--navy); font-size: 40px; font-weight: 700; text-align: center; }
.svc-detail .lead { text-align: center; font-size: 19px; margin-top: 18px; line-height: 1.6; }
.feat { margin-top: 70px; }
.feat li { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 40px 8px 22px; border-bottom: 1px solid var(--navy); }
.feat h3 { color: var(--navy); font-size: 21px; font-weight: 700; }
.feat p { font-size: 17px; color: #222; }
.feat p b { color: var(--navy); font-weight: 700; }

.cases { margin-top: 90px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.case {
  border: 2px dotted var(--navy); border-radius: 4px; background: linear-gradient(90deg, #fafafa 82%, #fff);
  padding: 44px 26px 50px; transition: background .3s, color .3s;
}
.case h4 { color: var(--navy); font-size: 19px; font-weight: 700; line-height: 1.3; }
.case small { display: block; color: var(--navy); font-size: 14px; margin-top: 2px; padding-bottom: 22px; border-bottom: 1px solid #e3e3e3; }
.case p { color: var(--navy); font-size: 18px; font-weight: 700; margin-top: 34px; }
.case:hover { background: var(--navy); }
.case:hover h4, .case:hover small, .case:hover p { color: #fff; }
.case:hover small { border-color: rgba(255,255,255,.3); }

.process { padding: 110px 0 130px; border-bottom: 1px solid var(--navy); }
.process h2 { color: var(--navy); font-size: 40px; font-weight: 700; text-align: center; }
.process .lead { text-align: center; font-size: 20px; margin-top: 8px; }
.process img { margin: 80px auto 0; width: 100%; max-width: 1160px; }
.process .m { display: none; max-width: 340px; }

/* ---------- CONTACT page ---------- */
.contact-hero { background: var(--gray-bg); padding: 110px 0 100px; }
.form-wrap { border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; }
.form-wrap .inner { max-width: 600px; margin: 0 auto; padding: 70px 50px 60px; border-left: 1px solid #e5e5e5; border-right: 1px solid #e5e5e5; }
.field { margin-bottom: 28px; }
.field > label, .field > .label { display: block; font-size: 14px; margin-bottom: 10px; color: #222; }
.req { color: #ff1700; margin-left: 2px; }
.field input[type="text"], .field input[type="tel"], .field textarea {
  width: 100%; border: 1px solid #d5d5d5; padding: 10px 12px; font-size: 15px; border-radius: 0; background: #fff;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); }
.field textarea { min-height: 96px; resize: vertical; }
.radios label { display: flex; align-items: center; gap: 10px; font-size: 15px; margin-bottom: 8px; cursor: pointer; }
.radios input { width: 18px; height: 18px; accent-color: var(--navy); }
.phone { display: flex; align-items: center; gap: 8px; }
.phone input { width: 80px !important; text-align: center; }
.policy { min-height: 0; overflow-y: auto; border: 1px solid #d5d5d5; padding: 12px 14px; font-size: 14px; line-height: 1.7; color: #333; white-space: pre-line; }
.agree { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 15px; cursor: pointer; }
.agree input { width: 18px; height: 18px; accent-color: var(--navy); }
.submit { width: 100%; background: var(--navy); color: #fff; border: 0; padding: 14px; font-size: 15px; font-weight: 600; cursor: pointer; margin-top: 10px; }
.submit:hover { filter: brightness(1.3); }
.submit:disabled { opacity: .6; cursor: default; }
.form-msg { margin-top: 16px; text-align: center; font-size: 15px; min-height: 1.6em; }
.form-msg.ok { color: var(--navy); font-weight: 600; }
.form-msg.err { color: #c62828; }
.contact-gap { height: 60px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .svc-cards { gap: 20px; }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .worries { transform: scale(.82); transform-origin: top center; height: 520px; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .site-header .logo img { height: 42px; }
  .menu-btn { display: block; }
  .gnb {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff;
    flex-direction: column; gap: 0; padding: 20px 24px; font-size: 18px;
    transform: translateX(100%); transition: transform .3s;
  }
  .nav-open .gnb { transform: none; }
  .gnb > li > a { padding: 16px 0; border-bottom: 1px solid #eee; }
  .gnb .sub { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; padding: 0 0 6px 14px; }
  .gnb .sub a { font-size: 15px; padding: 10px 0; }

  .sec { padding: 80px 0; }
  .sec-title { font-size: 32px; }
  .sec-desc { font-size: 16px; }
  .hero { padding-bottom: 70px; }
  .hero-copy { margin-top: 50px; font-size: 24px; }
  .diagram .d { display: none; }
  .diagram .m { display: block; }
  .wwd-list li { font-size: 15px; padding: 20px 14px; }
  .wwd-summary { font-size: 16px; }
  .why-list li { grid-template-columns: 1fr; padding: 26px 22px; }
  .why-list .num { margin-bottom: 6px; }
  .why-list br, .wwd-summary br.pc { display: none; }
  .svc-cards { grid-template-columns: 1fr; margin-top: 44px; }
  .client-sec { padding: 80px 0; }
  .marquee { margin-top: 44px; }
  .marquee-track li { width: 190px; height: 74px; }
  .pro-sec { padding: 80px 0; }
  .pro-grid { grid-template-columns: 1fr; }
  .pro-cards { grid-template-columns: 1fr; gap: 18px; }
  .stat, .stat:nth-child(2), .stat:nth-child(3) { grid-row: auto; grid-column: auto; aspect-ratio: auto; padding: 36px 30px; border-radius: 28px; }
  .stat strong { font-size: 38px; }
  .store-band a { grid-template-columns: 1fr auto; gap: 10px; padding: 26px 24px; }
  .store-band strong { font-size: 28px; justify-self: start; }
  .store-band span { grid-column: 1 / -1; grid-row: 2; justify-self: start; font-size: 20px; }
  .store-band img { grid-column: 2; grid-row: 1; width: 36px; }
  .cta { padding: 80px 0; }
  .cta h2 { font-size: 46px; }
  .cta p { font-size: 22px; }
  .cta-btns { flex-direction: column; margin-top: 32px; }
  .btn-call, .btn-kakao { width: 100%; font-size: 17px; padding: 16px 20px; }
  .contact-hero { padding: 70px 0; }
  .form-wrap .inner { padding: 50px 20px; border: 0; }
  .site-footer { padding: 50px 0 60px; font-size: 13px; }
  .site-footer .sep { display: none; }
  .site-footer .item { display: block; }

  .svc-hero { padding: 90px 20px; }
  .svc-hero h1 { font-size: 28px; }
  .svc-tabs a { font-size: 13px; padding: 12px 4px; }
  .worries { transform: none; height: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 60px 16px 70px; }
  .worries .memoji { position: static; transform: none; width: 180px; order: -1; margin-bottom: 14px; }
  .bubble, .bubble.reveal.b1, .bubble.reveal.b1.in { position: static; transform: none; white-space: normal; text-align: center; font-size: 15px; padding: 12px 18px; width: 100%; max-width: 420px; }
  .bubble.reveal:not(.in) { transform: translateY(20px); }
  .svc-detail { padding: 80px 0; }
  .svc-detail h2, .process h2 { font-size: 30px; }
  .svc-detail .lead, .process .lead { font-size: 16px; }
  .feat li { grid-template-columns: 1fr; gap: 8px; padding: 26px 4px 18px; }
  .feat h3 { font-size: 18px; }
  .feat p { font-size: 15px; }
  .cases { grid-template-columns: 1fr; margin-top: 50px; gap: 14px; }
  .case { padding: 30px 24px 34px; }
  .process { padding: 80px 0; }
  .process .d { display: none; }
  .process .m { display: block; margin-top: 50px; }
}
