/* myname project — 공개 화면 (우리 브랜드 m-* / 프로젝트 독립 사이트 ps-*) · 반응형 */
:root {
  --indigo: #301FA9; --indigo-2: #4335d0; --mint: #00F0C2; --ink: #14132B; --muted: #6b6a80;
  --cloud: #F4F5FA; --line: #E6E7F0; --white: #fff; --kakao: #FEE500;
  --r: 16px; --r-sm: 10px;
  --font: 'Pretendard Variable', Pretendard, -apple-system, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.65; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.3; letter-spacing: -0.02em; margin: 0; }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.m-narrow, .ps-narrow { max-width: 780px; }
.m-muted { color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }

/* buttons */
.m-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 14px 26px; border-radius: 999px; background: var(--indigo); color: #fff; font-weight: 700; font-size: 16px; border: 0; cursor: pointer; transition: transform .15s, background .2s; font-family: inherit; }
.m-btn:hover { background: var(--indigo-2); transform: translateY(-1px); }
.m-btn-sm { padding: 9px 18px; font-size: 14px; }
.m-btn-ghost { background: #fff; color: var(--indigo); box-shadow: inset 0 0 0 1.5px var(--indigo); }
.m-btn-ghost:hover { background: var(--cloud); }
.m-btn-kakao { background: var(--kakao); color: #191600; margin-top: 18px; }
.m-btn-kakao:hover { background: #f5dc00; }
.m-btn-kakao[aria-disabled="true"] { opacity: .7; cursor: default; }

/* header */
.m-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.m-header-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.m-logo img { height: 30px; width: auto; }
.m-nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
.m-nav a:not(.m-btn):hover { color: var(--indigo); }
.m-burger { display: none; width: 48px; height: 48px; color: inherit; border: 0; background: none; cursor: pointer; padding: 10px 8px; }
.m-burger span { display: block; height: 2px; background: currentColor; margin: 6px 0; border-radius: 2px; }

/* hero */
.m-hero { background: radial-gradient(60% 80% at 100% 0%, rgba(48,31,169,.10), transparent 60%), radial-gradient(40% 50% at 0% 100%, rgba(0,240,194,.12), transparent 60%), #fff; padding: 72px 0 88px; overflow: hidden; }
.m-hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.m-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--indigo); margin: 0 0 12px; text-transform: uppercase; }
.m-hero h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; margin-bottom: 26px; }
.m-search { display: inline-flex; align-items: center; gap: 4px; background: var(--indigo); color: #fff; border-radius: 999px; padding: 16px 30px; font-size: clamp(20px, 2.6vw, 30px); font-weight: 800; min-width: min(420px, 100%); margin-bottom: 26px; box-shadow: 0 18px 40px -18px rgba(48,31,169,.6); }
.m-cursor { width: 4px; height: 1.1em; background: var(--mint); border-radius: 3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.m-lead { font-size: 18px; color: #3d3c55; margin: 0 0 30px; max-width: 560px; }
.m-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.m-hero-img img { border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(20,19,43,.35); aspect-ratio: 16/10; object-fit: cover; width: 100%; }

/* sections */
.m-sec { padding: 96px 0; }
.m-sec-tight { padding: 0 0 64px; }
.m-soft { background: var(--cloud); }
.m-sec h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; margin-bottom: 36px; }
.m-sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.m-sec-head h2 { margin-bottom: 0; }
.m-links { display: flex; gap: 18px; font-weight: 600; color: var(--indigo); }
.m-page-top { padding-top: 64px; }
.m-h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin-bottom: 8px; }
.m-crumb { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.m-crumb a:hover { color: var(--indigo); }

.m-cards3, .m-cards4 { display: grid; gap: 20px; }
.m-cards3 { grid-template-columns: repeat(3, 1fr); }
.m-cards4 { grid-template-columns: repeat(4, 1fr); }
.m-card { background: #fff; border-radius: var(--r); padding: 28px; border: 1px solid var(--line); }
.m-problem { background: var(--cloud); }
.m-card b { display: block; color: var(--indigo); font-size: 15px; margin-bottom: 14px; }
.m-card h3 { font-size: 20px; margin-bottom: 8px; }
.m-card p { margin: 0; color: var(--muted); font-size: 15px; }
.m-card-line { border-top: 4px solid var(--indigo); }
.m-num { display: block; font-size: 13px; letter-spacing: .12em; color: var(--indigo); font-weight: 800; margin-bottom: 22px; }

.m-process-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.m-process-img img { border-radius: 24px; aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.m-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.m-steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: start; padding: 20px; border-radius: var(--r); background: var(--cloud); }
.m-steps b { grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--indigo); color: #fff; font-size: 18px; }
.m-steps h3 { font-size: 18px; margin: 2px 0 4px; }
.m-steps p { margin: 0; color: var(--muted); font-size: 15px; }

/* project cards */
.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.p-card { display: block; border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.p-card:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(48,31,169,.35); }
.cover { background: var(--cloud) center/cover no-repeat; }
.cover-icon { display: grid; place-items: center; background: #F5F5FD; }
.cover-icon img { width: 78%; max-width: 300px; }
.p-cover { aspect-ratio: 4/3; }
.p-body { padding: 18px 20px 22px; }
.p-ind { display: inline-block; font-size: 12px; font-weight: 700; color: var(--indigo); background: rgba(48,31,169,.08); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.p-body h3 { font-size: 20px; margin-bottom: 6px; }
.p-body p { margin: 0 0 12px; color: var(--muted); font-size: 14.5px; }
.p-count { font-size: 13px; color: var(--muted); }

/* article list (shared) */
.a-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.a-item { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s; }
.a-item:hover { border-color: var(--indigo); }
.a-item > a:first-child { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 16px; }
.a-thumb { width: 150px; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-sm); }
.a-thumb-empty { display: grid; place-items: center; background: var(--cloud); color: var(--indigo); font-weight: 800; }
.a-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.badge { font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.badge-news { background: rgba(48,31,169,.1); color: var(--indigo); }
.badge-blog { background: rgba(0,240,194,.2); color: #007a63; }
.ext { color: var(--indigo); font-weight: 600; }
.a-body h3 { font-size: 18px; margin-bottom: 4px; }
.a-body p { margin: 0; color: var(--muted); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.a-project { position: absolute; right: 12px; bottom: 8px; display: inline-flex; align-items: center; min-height: 32px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--indigo); }
.a-project:hover { background: var(--cloud); }
.empty { text-align: center; padding: 30px; color: var(--muted); list-style: none; }
.empty img { margin: 0 auto 10px; border-radius: 16px; }
.tabs { display: flex; gap: 6px; background: var(--cloud); padding: 4px; border-radius: 999px; }
.tabs button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
.tabs button.on { background: #fff; color: var(--indigo); box-shadow: 0 2px 8px rgba(20,19,43,.08); }

/* project detail */
.pd-hero { padding: 56px 0; background: linear-gradient(180deg, var(--cloud), #fff); }
.pd-hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.pd-cover { aspect-ratio: 4/3; border-radius: 24px; overflow: hidden; }
.pd-info h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; margin: 4px 0 12px; }
.pd-info .m-lead { margin-bottom: 22px; }
.pd-facts { margin: 28px 0 0; display: grid; gap: 10px; }
.pd-facts div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; font-size: 15px; }
.pd-facts dt { color: var(--muted); }
.pd-facts dd { margin: 0; }
.kw { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; font-size: 13px; margin: 0 6px 6px 0; }
.map-embed { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/7; max-height: 380px; width: 100%; background: var(--cloud); margin-top: 18px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* report */
.m-report { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.m-report-card { background: var(--ink); color: #fff; border-radius: 24px; padding: 28px; }
.m-report-top { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 18px; }
.m-report-card .m-muted { color: #a4a3bd; }
.m-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 22px; }
.m-kpis div { background: rgba(255,255,255,.06); border-radius: 12px; padding: 12px; }
.m-kpis small { display: block; color: #a4a3bd; font-size: 12px; }
.m-kpis b { font-size: 22px; }
.m-bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; }
.m-bars i { flex: 1; background: linear-gradient(180deg, var(--mint), var(--indigo-2)); border-radius: 6px 6px 2px 2px; }

/* faq */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; position: relative; padding-right: 30px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; top: -2px; font-size: 22px; color: var(--indigo); }
details[open] summary::after { content: '–'; }
details p { margin: 10px 0 0; color: #3d3c55; }

/* contact */
.m-contact { background: var(--indigo); color: #fff; }
.m-contact .m-eyebrow { color: var(--mint); }
.m-contact h2 { color: #fff; }
.m-contact-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.m-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: #fff; color: var(--ink); padding: 28px; border-radius: 24px; }
.m-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.m-form .full { grid-column: 1 / -1; }
.m-form input, .m-form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--cloud); width: 100%; }
.m-form input:focus, .m-form textarea:focus { outline: 2px solid var(--indigo); background: #fff; }
.m-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 13px !important; color: var(--muted); }
.m-check input { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.m-form-msg { margin: 0; font-size: 14px; min-height: 1.2em; }

/* footer */
.m-footer { background: var(--cloud); padding: 56px 0 28px; font-size: 14px; color: var(--muted); }
.m-footer-in { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.m-footer-logo { height: 27px; width: auto; margin-bottom: 12px; }
.m-footer-info p { margin: 0 0 4px; }
.m-copy { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; }

/* ================= 프로젝트 독립 사이트 ================= */
.p-site { background: var(--pbg); color: var(--pfg); }
.ps-header { position: sticky; top: 0; z-index: 50; background: var(--pbg); border-bottom: 1px solid var(--pline); }
.ps-header-in { display: flex; align-items: center; gap: 28px; height: 70px; }
.ps-brand { font-weight: 800; font-size: 20px; color: var(--pc); white-space: nowrap; }
.p-dark .ps-brand { color: var(--pfg); }
.ps-brand img { height: 36px; width: auto; }
.ps-nav { display: flex; gap: 22px; font-size: 15px; flex: 1; }
.ps-nav a { color: var(--pmuted); padding: 6px 0; border-bottom: 2px solid transparent; }
.ps-nav a.on, .ps-nav a:hover { color: var(--pfg); border-bottom-color: var(--pc); }
.p-dark .ps-nav a.on, .p-dark .ps-nav a:hover { border-bottom-color: var(--pfg); }
.ps-cta { display: flex; gap: 8px; }
.pc-btn { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1px solid var(--pline); background: var(--pbg); color: var(--pfg); white-space: nowrap; }
.pc-btn:hover { border-color: var(--pc); }
.pc-btn-main { background: var(--pc); border-color: var(--pc); color: #fff; }
.p-dark .pc-btn-main { background: var(--pfg); color: var(--pbg); border-color: var(--pfg); }
.pc-btn-kakao { background: var(--kakao); border-color: var(--kakao); color: #191600; }

.ps-hero { padding: 110px 0 96px; background: var(--psoft); }
.ps-hero-in { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.ps-hero-img { width: 100%; max-width: 440px; justify-self: end; aspect-ratio: 4/5; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.ps-mark { justify-self: end; width: 100%; max-width: 320px; aspect-ratio: 1; border-radius: 32px; display: grid; place-items: center; background: var(--pc); background-image: radial-gradient(circle at 25% 20%, rgba(255,255,255,.22), transparent 55%); }
.ps-mark span { color: #fff; font-size: clamp(72px, 10vw, 132px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.ps-hero-plain { background: var(--psoft); background-image: radial-gradient(900px 400px at 85% 0%, color-mix(in srgb, var(--pc) 12%, transparent), transparent 70%); }
.p-layout-company .ps-hero-in { grid-template-columns: 1fr; }
.p-layout-company .ps-mark { display: none; }
.p-layout-company .ps-hero-img { justify-self: center; max-width: 560px; aspect-ratio: 16/10; order: 2; }
.ps-gallery-sec { padding-top: 0; margin-top: -40px; }
.ps-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ps-gallery figure { margin: 0; }
.ps-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); }
.ps-gallery figcaption { font-size: 14px; color: var(--pmuted); margin-top: 8px; }
.ps-endcta { margin: 48px 0 0; padding: 24px; border-radius: var(--r); background: var(--psoft); border: 1px solid var(--pline); display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.ps-endcta b { display: block; font-size: 18px; }
.ps-endcta span { color: var(--pmuted); font-size: 15px; }
.ps-more-list { margin-top: 48px; }
.ps-more-list h2 { font-size: 20px; margin-bottom: 4px; }
.cover-photo { position: relative; overflow: hidden; }
.cover-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.a-thumb-icon { display: grid; place-items: center; background: #F5F5FD; overflow: hidden; }
.a-thumb-icon img { width: 78%; height: auto; }
.m-link { color: var(--indigo); font-weight: 700; }
.m-copy-link { color: inherit; text-decoration: none; cursor: text; }
.ps-hero h1 { font-size: clamp(36px, 6vw, 68px); font-weight: 800; margin: 6px 0 14px; }
.ps-ind { font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--pc); margin: 0; }
.p-dark .ps-ind { color: var(--pmuted); }
.ps-lead { font-size: clamp(17px, 2vw, 21px); max-width: 640px; margin: 0 0 28px; opacity: .9; }
.ps-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.ps-sec { padding: 80px 0; }
.ps-soft { background: var(--psoft); }
.ps-page { padding-top: 56px; }
.ps-sec h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 20px; }
.ps-page h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 24px; }
.ps-eyebrow { font-size: 13px; font-weight: 800; color: var(--pc); margin: 0 0 8px; letter-spacing: .08em; }
.p-dark .ps-eyebrow { color: var(--pmuted); }
.ps-split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.ps-split p { margin: 0 0 12px; font-size: 17px; }
.ps-big { font-size: 20px !important; font-weight: 700; }
.ps-more { display: inline-block; margin-top: 8px; font-weight: 700; color: var(--pc); }
.p-dark .ps-more { color: var(--pfg); }
.ps-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.ps-card { display: block; padding: 24px; border-radius: var(--r); border: 1px solid var(--pline); background: var(--pbg); }
.ps-card img { border-radius: var(--r-sm); margin-bottom: 14px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.ps-card h3 { font-size: 19px; margin-bottom: 6px; }
.ps-card p { margin: 0; color: var(--pmuted); font-size: 15px; }
.ps-two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.ps-articles { list-style: none; padding: 0; margin: 0 0 8px; }
.ps-articles li a { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--pline); }
.ps-articles b { font-size: 17px; }
.ps-articles span:last-child:not(.ps-a-meta) { color: var(--pmuted); font-size: 15px; }
.ps-a-meta { font-size: 13px; color: var(--pmuted); }
.ps-a-meta a { color: var(--pc); text-decoration: underline; text-underline-offset: 3px; }
.ps-prose { font-size: 17px; line-height: 1.85; }
.ps-prose h2 { font-size: 24px; margin: 40px 0 12px; }
.ps-prose h3 { font-size: 20px; margin: 28px 0 10px; }
.ps-prose img { border-radius: var(--r); margin: 20px 0; width: 100%; max-height: 520px; object-fit: cover; }
.ps-prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; display: block; overflow-x: auto; }
.ps-prose th, .ps-prose td { border-bottom: 1px solid var(--pline); padding: 10px; text-align: left; }
.ps-prose iframe { width: 100%; aspect-ratio: 16/9; border: 0; }
.ps-item { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--pline); }
.ps-lead-dark { font-size: 19px; color: var(--pmuted); }
.ps-map { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.p-site .map-embed { border-color: var(--pline); }
.ps-faq { margin-top: 40px; }

.ps-footer { margin-top: 40px; border-top: 1px solid var(--pline); font-size: 14px; color: var(--pmuted); }
.ps-footer-in { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 40px 0; }
.ps-footer strong { color: var(--pfg); font-size: 16px; }
.ps-footer p { margin: 4px 0 0; }
.ps-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.ps-footer nav a.on { color: var(--pfg); }
.ps-powered { background: var(--cloud); color: var(--muted); }
.ps-powered-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 0; font-size: 13px; }
.ps-powered-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--muted); }
.ps-powered-link img { height: 19px; width: auto; }
.ps-mobile-cta { display: none; }

/* layout variants */
.p-layout-company .ps-hero { text-align: center; }
.p-layout-company .ps-hero .ps-lead { margin-left: auto; margin-right: auto; }
.p-layout-company .ps-hero-cta { justify-content: center; }
.p-layout-pro .ps-hero { padding: 80px 0; border-bottom: 6px solid var(--pc); }

/* ================= 반응형 ================= */
@media (max-width: 1024px) {
  .m-cards4 { grid-template-columns: repeat(2, 1fr); }
  .ps-cta { display: none; }
}
@media (max-width: 860px) {
  .m-burger { display: block; }
  .m-nav, .ps-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.15); }
  .ps-nav { background: var(--pbg); border-color: var(--pline); }
  .m-nav.open, .ps-nav.open { display: flex; }
  .m-nav a, .ps-nav a { padding: 14px 0; min-height: 48px; border-bottom: 1px solid var(--line); }
  .m-nav .m-btn { margin-top: 12px; border-bottom: 0; }
  .m-header-in, .ps-header-in { position: relative; }
  .ps-header-in { justify-content: space-between; }
  .m-hero { padding: 40px 0 56px; }
  .ps-hero-in { grid-template-columns: 1fr; }
  .ps-hero-img { justify-self: stretch; max-width: none; aspect-ratio: 4/3; order: -1; }
  .ps-mark { display: none; }
  .ps-gallery { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .ps-gallery-sec { margin-top: 0; }
  .ps-gallery figcaption { font-size: 12px; }
  .m-hero-in, .m-process-in, .m-report, .m-contact-in, .pd-hero-in, .ps-split, .ps-two { grid-template-columns: 1fr; gap: 32px; }
  .m-hero-img { order: -1; }
  .m-cards3 { grid-template-columns: 1fr; }
  .m-sec { padding: 64px 0; }
  .ps-sec { padding: 56px 0; }
  .ps-hero { padding: 72px 0 64px; }
  .m-process-img img { aspect-ratio: 16/10; }
  .map-embed { aspect-ratio: 4/3; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .m-cards4 { grid-template-columns: 1fr; }
  .m-search { padding: 13px 22px; min-width: 0; width: 100%; }
  .m-hero-cta .m-btn { flex: 1; }
  .m-form { grid-template-columns: 1fr; padding: 20px; }
  .m-kpis { grid-template-columns: repeat(2, 1fr); }
  .a-item > a:first-child { grid-template-columns: 96px 1fr; gap: 14px; padding: 12px; }
  .a-thumb { width: 96px; }
  .a-project { position: static; display: flex; }
  .a-body h3 { font-size: 16px; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; padding: 8px 6px; }
  .pd-facts div { grid-template-columns: 64px 1fr; }
  .ps-mobile-cta { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--pbg); border-top: 1px solid var(--pline); }
  .ps-mobile-cta .pc-btn { justify-content: center; padding: 12px 6px; min-height: 48px; }
  .tabs button, .pc-btn, .m-btn { min-height: 44px; }
  .a-project { padding: 4px 12px 12px 122px; min-height: 40px; }
  body.has-cta { padding-bottom: 74px; }
  .ps-powered-in { justify-content: center; text-align: center; }
}
.pd-map-title { margin: 56px 0 0 !important; font-size: 24px !important; }

/* ---- 숫자 줄 · 프로젝트 상세 소개 (2026-11-21) ---- */
.ps-stats-sec { padding-top: 56px; padding-bottom: 8px; }
.ps-stats, .pd-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ps-stats li, .pd-stats li { padding: 22px 20px; border-radius: var(--r); background: var(--psoft, var(--cloud)); border: 1px solid var(--pline, var(--line)); text-align: center; }
.ps-stats b, .pd-stats b { display: block; font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; color: var(--pc); letter-spacing: -.02em; line-height: 1.15; }
.ps-stats span, .pd-stats span { display: block; margin-top: 6px; font-size: 14px; color: var(--pmuted, var(--muted)); word-break: keep-all; }
.pd-about { padding-top: 72px; }
.pd-stats li { background: #fff; }
.pd-intro { max-width: 760px; margin: 56px 0 8px; }
.pd-intro h2 { margin-bottom: 14px !important; }
.pd-intro p:last-child { font-size: 17px; line-height: 1.8; color: #333; word-break: keep-all; }
.pd-svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.pd-svc-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; transition: transform .2s, box-shadow .2s; }
.pd-svc-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -20px rgba(0,0,0,.3); }
.pd-svc-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.pd-svc-card div { padding: 18px 20px 20px; }
.pd-svc-card h3 { font-size: 18px; margin-bottom: 6px; }
.pd-svc-card p { margin: 0; font-size: 14.5px; color: var(--muted); word-break: keep-all; }
.pd-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.pd-gallery figure { margin: 0; }
.pd-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-sm); }
.pd-gallery figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.pd-about-more { margin: 36px 0 0; }
.p-layout-company .ps-gallery img { aspect-ratio: 16/10; }
.p-layout-company .ps-hero-img { max-width: 760px; }
.ps-card img + h3 { margin-top: 2px; }
@media (max-width: 860px) {
  .ps-stats, .pd-stats { grid-template-columns: repeat(2, 1fr); }
  .pd-svc { grid-template-columns: 1fr 1fr; }
  .pd-gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .pd-svc { grid-template-columns: 1fr; } }

/* ---------- 선택 섹션 (기능 · 후기 · 단계 · 요금 · FAQ) ---------- */
.ps-feature-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.ps-feature-rev .ps-feature-img { order: -1; }
.ps-feature-desc { font-size: 17.5px; margin: 0 0 18px; color: var(--pfg); opacity: .86; }
.ps-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ps-points li { position: relative; padding-left: 30px; font-size: 16px; }
.ps-points li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--pc) 14%, transparent); }
.ps-points li::after { content: ''; position: absolute; left: 7px; top: 8px; width: 5px; height: 9px; border: solid var(--pc); border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }
.ps-note { margin: 16px 0 0; font-size: 13.5px; color: var(--pmuted); }
.ps-feature-img img { width: 100%; max-width: 460px; margin: 0 auto; border-radius: 24px; aspect-ratio: 9/10; object-fit: cover; }
.ps-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.ps-review { margin: 0; padding: 26px; border-radius: var(--r); background: var(--psoft); border: 1px solid var(--pline); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.ps-review blockquote { margin: 0; }
.ps-review blockquote b { display: block; font-size: 18px; line-height: 1.45; }
.ps-review blockquote b::before { content: '“'; color: var(--pc); font-size: 34px; line-height: 0; vertical-align: -12px; margin-right: 4px; }
.ps-review blockquote p { margin: 10px 0 0; font-size: 15px; color: var(--pmuted); }
.ps-review figcaption { font-size: 14px; font-weight: 700; color: var(--pc); }
.ps-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.ps-steps li { background: var(--pbg); border: 1px solid var(--pline); border-radius: var(--r); padding: 26px; }
.ps-steps b { display: inline-block; font-size: 14px; font-weight: 800; color: #fff; background: var(--pc); border-radius: 999px; padding: 3px 12px; margin-bottom: 14px; }
.ps-steps h3 { font-size: 19px; margin-bottom: 6px; }
.ps-steps p { margin: 0; color: var(--pmuted); font-size: 15px; }
.ps-plans-note { margin: -8px 0 24px; color: var(--pmuted); }
.ps-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; align-items: stretch; }
.ps-plan { position: relative; border: 1px solid var(--pline); border-radius: 20px; padding: 28px 26px; background: var(--pbg); }
.ps-plan.best { border: 2px solid var(--pc); box-shadow: 0 30px 60px -40px color-mix(in srgb, var(--pc) 70%, transparent); }
.ps-plan-badge { position: absolute; top: -13px; left: 24px; background: var(--pc); color: #fff; font-size: 12.5px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.ps-plan h3 { font-size: 20px; }
.ps-plan-for { margin: 4px 0 0; font-size: 14px; color: var(--pmuted); }
.ps-plan-price { margin: 14px 0 16px; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.ps-plan.best .ps-plan-price { color: var(--pc); }
.ps-plan-price small { font-size: 14px; font-weight: 600; color: var(--pmuted); margin-left: 4px; }
.ps-plan ul { list-style: none; padding: 16px 0 0; margin: 0; border-top: 1px solid var(--pline); display: grid; gap: 8px; font-size: 15px; }
.ps-plan li { position: relative; padding-left: 18px; }
.ps-plan li::before { content: ''; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--pc); }
.ps-faq-list summary::after { color: var(--pc); }
.ps-faq-list details { border-color: var(--pline); }
.ps-faq-list details p { color: var(--pmuted); }
.pd-plan-line { margin: 26px 0 0; padding: 16px 20px; border-radius: var(--r-sm); background: var(--cloud); font-size: 15px; }
.pd-plan-line b { color: var(--pc); }
@media (max-width: 860px) {
  .ps-feature-in { grid-template-columns: 1fr; gap: 28px; }
  .ps-feature-rev .ps-feature-img { order: 0; }
  .ps-feature-img img { max-width: 360px; }
}


.pd-svc-card img.pd-svc-phone { object-position: center 18%; }
.pd-plan-line { margin: 26px 0 0; padding: 16px 20px; border-radius: var(--r-sm); background: var(--cloud); font-size: 15px; }
.pd-plan-line b { color: var(--pc); }
