@charset "utf-8";
@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=Nanum+Myeongjo:wght@400;700;800&family=Nanum+Brush+Script&display=swap");

/* ─────────────────────────────────────────────────────────────
   라인디자인 v2 — 2026-09-22 고객 수정시안(1024px 목업)을 1440px 기준으로 1.406배 환산해 옮겼다.
   구간 높이 : 헤더 98 / 히어로 741 / 아이콘 띠 187 / 분할 454 / 시공사례 385 / 인용구 134 / 푸터 160
   ───────────────────────────────────────────────────────────── */

:root {
  --ink: #2b2723;          /* 본문 */
  --ink-soft: #6b655e;     /* 보조 글 */
  --dark: #3a2f22;         /* 짙은 버튼 (시안 견적문의 버튼색) */
  --paper: #faf8f6;        /* 아이콘 띠 */
  --paper-2: #f8f7f5;      /* 시공사례 바탕 */
  --sand: #dcd8d2;         /* 분할 구간 왼쪽 판 */
  --panel: #f1ede8;        /* 시공사례 오른쪽 패널 */
  --line: #e3ddd6;
  --white: #fff;
  --serif: "Nanum Myeongjo", "Noto Serif KR", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --brush: "Nanum Brush Script", cursive;
  --gutter: clamp(20px, 4.3vw, 62px);   /* 시안 좌우 여백 44/1024 */
  --wide: 1440px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--white); word-break: keep-all; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; vertical-align: top; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
address, em, i { font-style: normal; }
svg { display: inline-block; }
.blind { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: -1px; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }

/* 공통 활자 */
.eyebrow { display: block; font-size: 12px; letter-spacing: 0.34em; text-transform: uppercase; color: var(--ink-soft); }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }

/* 워드마크 — 시안은 글자 로고. 두 줄, 넓은 자간 */
.mark { display: inline-block; line-height: 1; white-space: nowrap; }
.mark b { display: block; font-weight: 300; font-size: clamp(18px, 1.7vw, 22px); letter-spacing: 0.34em; }
.mark small { display: block; margin-top: 6px; font-size: 8px; letter-spacing: 0.4em; opacity: 0.85; }
.mark.lg b { font-size: 26px; }
.mark.sm b { font-size: 17px; }
.mark.sm small { font-size: 7px; margin-top: 4px; }

/* 버튼 : 테두리형 / 짙은형. 오른쪽에 화살표 */
.btn { display: inline-flex; align-items: center; gap: 14px; height: 52px; padding: 0 30px; border: 1px solid currentColor; font-size: 15px; letter-spacing: 0.02em; white-space: nowrap; transition: background 0.2s, color 0.2s; }
.btn::after { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") center/contain no-repeat; }
.btn.ghost-w { color: var(--white); border-color: rgba(255, 255, 255, 0.85); }
.btn.ghost-w:hover { background: var(--white); color: var(--ink); }
.btn.ghost { color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--white); }
.btn.dark { color: var(--white); background: var(--dark); border-color: var(--dark); }
.btn.dark:hover { background: #1f1913; }
.btn.tel::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.btn.sm { height: 44px; padding: 0 22px; font-size: 14px; }

/* SNS 알약 : 네이버 초록 N, 인스타 그라데이션 아이콘 */
.pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 clamp(9px, 1.1vw, 14px); border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 8px; font-size: clamp(11px, 1vw, 13px); white-space: nowrap; }
.pill .n { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 4px; background: #03c75a; color: #fff; font-weight: 800; font-size: 12px; font-family: Arial, sans-serif; }
.pill .ig { width: 20px; height: 20px; border-radius: 6px; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); position: relative; }
.pill .ig::before { content: ""; position: absolute; inset: 4px; border: 2px solid #fff; border-radius: 5px; }
.pill .ig::after { content: ""; position: absolute; top: 7px; left: 7px; width: 6px; height: 6px; border: 2px solid #fff; border-radius: 50%; }

/* ── 헤더 : 히어로 위에 얹힌 투명 헤더 ────────────────────── */
#header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; color: var(--white); }
#header .wrap { display: flex; align-items: center; height: clamp(72px, 6.8vw, 98px); gap: clamp(14px, 2.4vw, 40px); }
#header .mark { margin-right: auto; }
#header nav ul { display: flex; gap: clamp(14px, 2.4vw, 40px); }
#header nav a { font-size: clamp(11px, 1.1vw, 14px); letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.92; padding: 8px 0; position: relative; }
#header nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transition: transform 0.25s; }
#header nav a:hover::after, #header nav a.on::after { transform: scaleX(1); }
#header .tools { display: flex; align-items: center; gap: 10px; }
#header .tools .btn { height: 40px; padding: 0 clamp(12px, 1.6vw, 20px); font-size: clamp(12px, 1.1vw, 14px); background: var(--white); color: var(--ink); border-color: var(--white); }
#header .tools .btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
#header .mbtn { display: none; }
/* 서브 페이지도 사진 띠 위에 얹히므로 같은 흰 글자 */

/* 스크롤하면 흰 바로 고정 */
#header.fix { position: fixed; background: rgba(255, 255, 255, 0.96); color: var(--ink); box-shadow: 0 1px 0 var(--line); animation: drop 0.25s; }
#header.fix .wrap { height: 72px; }
#header.fix .tools .btn { background: var(--dark); color: var(--white); border-color: var(--dark); }
#header.fix .pill { border-color: var(--line); }
@keyframes drop { from { transform: translateY(-100%); } to { transform: none; } }

/* ── 메인 히어로 ─────────────────────────────────────────── */
.hero { position: relative; height: clamp(560px, 58.3vw, 840px); color: var(--white); overflow: hidden; background: #2a2622; }
.hero .bg { position: absolute; inset: 0; background: url(../img/main/hero.jpg) center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(38, 34, 30, 0.86) 0%, rgba(38, 34, 30, 0.72) 30%, rgba(38, 34, 30, 0.2) 62%, rgba(38, 34, 30, 0) 100%); }
.hero .wrap { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; padding-bottom: 70px; }
.hero .eyebrow { color: rgba(255, 255, 255, 0.85); margin-bottom: clamp(14px, 1.8vw, 26px); }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 72px); line-height: 1.22; letter-spacing: -0.01em; }
.hero .rule { width: 46px; height: 1px; background: rgba(255, 255, 255, 0.75); margin: clamp(16px, 2.2vw, 32px) 0; }
.hero p { font-size: clamp(15px, 1.35vw, 19px); line-height: 1.8; max-width: 24em; opacity: 0.95; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: clamp(22px, 2.9vw, 42px); }
.hero .cta .btn { height: clamp(42px, 3.6vw, 52px); }
.hero .foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 34px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; }
.hero .foot .tag { text-align: right; font-size: 11px; letter-spacing: 0.3em; line-height: 1.9; text-transform: uppercase; opacity: 0.9; }

/* ── 아이콘 띠 4칸 ──────────────────────────────────────── */
.strip { background: var(--paper); border-bottom: 1px solid var(--line); }
.strip ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip li { padding: 44px 16px; text-align: center; }
.strip li + li { border-left: 1px solid var(--line); }
.strip li a { display: block; }
.strip svg { width: 46px; height: 46px; stroke: var(--ink); fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.strip strong { display: block; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.strip span { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-soft); }

/* ── 분할 : 왼쪽 글 · 오른쪽 사진 ───────────────────────── */
.split { position: relative; min-height: 454px; background: var(--sand); color: var(--ink); overflow: hidden; }
.split .photo { position: absolute; top: 0; right: 0; bottom: 0; width: 72%; background: url(../img/main/split.jpg) center/cover no-repeat; }
.split .photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--sand) 0%, rgba(220, 216, 210, 0.85) 18%, rgba(220, 216, 210, 0) 46%); }
.split .wrap { position: relative; z-index: 2; min-height: 454px; display: flex; flex-direction: column; justify-content: center; padding-top: 56px; padding-bottom: 56px; }
.split .eyebrow { margin-bottom: 22px; color: var(--ink); opacity: 0.8; }
.split h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.5vw, 50px); line-height: 1.24; }
.split p { margin-top: 24px; font-size: 16px; line-height: 1.85; max-width: 22em; }
.split .btn { align-self: flex-start; margin-top: 34px; }
.split .side { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 2; text-align: right; font-size: 11px; letter-spacing: 0.3em; line-height: 2.1; text-transform: uppercase; color: var(--ink); opacity: 0.8; }

/* ── 시공사례 4장 + 오른쪽 패널 ─────────────────────────── */
.works { background: var(--paper-2); }
.works .wrap { display: grid; grid-template-columns: minmax(0, 1fr) clamp(250px, 23vw, 320px); gap: 0; padding-right: 0; }
.works .left { padding: 48px clamp(24px, 3.3vw, 48px) 48px 0; }
.works .head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.works .head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.3; margin-top: 12px; }
.works .head .btn { height: 44px; padding: 0 22px; font-size: 12px; letter-spacing: 0.16em; }
.works .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.works .card { display: block; }
.works .card .img { aspect-ratio: 16 / 10; overflow: hidden; background: #ddd; }
.works .card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.works .card:hover img { transform: scale(1.05); }
.works .card strong { display: block; margin-top: 14px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.works .card small { display: block; margin-top: 4px; font-size: 11px; letter-spacing: 0.2em; color: var(--ink-soft); text-transform: uppercase; }
.works .panel { background: var(--panel); padding: 48px clamp(22px, 2.8vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.works .panel .hand { font-family: var(--brush); font-size: clamp(27px, 2.4vw, 34px); line-height: 1.35; letter-spacing: -0.01em; }
.works .panel p { margin-top: 22px; font-size: 14px; line-height: 1.8; color: var(--ink-soft); }
.works .panel .links { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.works .panel .pill { height: 46px; border-color: #cfc8bf; background: var(--white); font-size: 14px; justify-content: flex-start; padding: 0 16px; }
.works .panel .pill::after { content: "→"; margin-left: auto; font-size: 14px; }

/* ── 인용구 띠 ───────────────────────────────────────────── */
.quote { position: relative; min-height: 134px; color: var(--white); background: url(../img/main/quote.jpg) center/cover no-repeat; }
.quote::before { content: ""; position: absolute; inset: 0; background: rgba(48, 38, 28, 0.62); }
.quote .wrap { position: relative; min-height: 134px; display: flex; align-items: center; justify-content: center; padding-top: 28px; padding-bottom: 28px; }
.quote blockquote { font-family: var(--serif); font-size: clamp(17px, 1.7vw, 24px); line-height: 1.6; text-align: center; }
.quote blockquote::before { content: "“"; opacity: 0.7; }
.quote blockquote::after { content: "”"; opacity: 0.7; }
.quote .mark { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); }

/* ── 푸터 ────────────────────────────────────────────────── */
#footer { background: #f9f6f5; border-top: 1px solid var(--line); font-size: 13px; }
#footer .row { display: flex; align-items: center; gap: clamp(10px, 1.5vw, 26px); padding: 26px 0; flex-wrap: wrap; font-size: clamp(11px, 0.9vw, 13px); }
#footer .row .mark { margin-right: 6px; }
#footer .row .it { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
#footer .row .it svg { width: 16px; height: 16px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#footer .row .sns { display: flex; gap: 4px; }
#footer .row .pill { height: 32px; padding: 0 4px; border: 0; background: transparent; font-size: inherit; }
#footer .row .btn { margin-left: auto; height: 44px; padding: 0 clamp(16px, 1.8vw, 26px); font-size: 14px; }
#footer .base { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0 22px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; flex-wrap: wrap; }
#footer .base a { text-decoration: underline; text-underline-offset: 3px; }

/* 전화걸기 : 화면 오른쪽 아래 (고객 필수 요청) */
.call { position: fixed; right: 28px; bottom: 28px; z-index: 60; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--dark); color: var(--white); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22); }
.call svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.call span { position: absolute; right: 66px; top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--ink); color: var(--white); font-size: 13px; line-height: 32px; padding: 0 12px; opacity: 0; visibility: hidden; transition: 0.2s; }
.call:hover span, .call:focus-visible span { opacity: 1; visibility: visible; }
.top { position: fixed; right: 28px; bottom: 96px; z-index: 60; width: 44px; height: 44px; border-radius: 50%; background: var(--white); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14); opacity: 0; visibility: hidden; transition: 0.3s; display: flex; align-items: center; justify-content: center; }
.top svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.top.on { opacity: 1; visibility: visible; }

/* ── 서브 페이지 공통 ────────────────────────────────────── */
.sub-hero { position: relative; height: clamp(300px, 30vw, 420px); color: var(--white); background: #2a2622 center/cover no-repeat; display: flex; align-items: flex-end; }
.sub-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 26, 22, 0.45) 0%, rgba(30, 26, 22, 0.25) 45%, rgba(30, 26, 22, 0.72) 100%); }
.sub-hero .wrap { position: relative; width: 100%; padding-bottom: 44px; }
.sub-hero .eyebrow { color: rgba(255, 255, 255, 0.85); margin-bottom: 14px; }
.sub-hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.2; }
.sub-hero.h-about { background-image: url(../img/sub/about.jpg); }
.sub-hero.h-portfolio { background-image: url(../img/sub/portfolio.jpg); }
.sub-hero.h-service { background-image: url(../img/sub/service.jpg); }
.sub-hero.h-process { background-image: url(../img/sub/process.jpg); }
.sub-hero.h-contact { background-image: url(../img/sub/contact.jpg); }

.sec { padding: 96px 0; }
.sec.tint { background: var(--paper-2); }
.sec-head { margin-bottom: 44px; }
.sec-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.3; margin-top: 12px; }
.sec-head p { margin-top: 14px; color: var(--ink-soft); font-size: 16px; }
.lead { font-family: var(--serif); font-size: clamp(20px, 1.9vw, 28px); line-height: 1.55; }
.body p { font-size: 16px; line-height: 1.9; color: #3d3833; }
.body p + p { margin-top: 18px; }

/* 회사소개 */
.about-top { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-top .pic { aspect-ratio: 14 / 9; background: #ddd center/cover no-repeat; }
.about-top .body { margin-top: 28px; }
.promise { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.promise li { background: var(--white); border: 1px solid var(--line); padding: 30px 22px; }
.promise li em { display: block; font-size: 11px; letter-spacing: 0.3em; color: var(--ink-soft); margin-bottom: 14px; }
.promise li strong { display: block; font-size: 18px; font-weight: 600; line-height: 1.4; }
.promise li p { margin-top: 10px; font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.info-grid iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; background: #eee; }
.info-table { width: 100%; border-top: 1px solid var(--ink); font-size: 15px; }
.info-table th { text-align: left; font-weight: 500; width: 30%; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.info-table td { padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-grid .cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }

/* 갤러리 */
.tabs { display: flex; gap: 8px; margin-bottom: 36px; flex-wrap: wrap; }
.tabs a { display: inline-block; padding: 10px 22px; border: 1px solid var(--ink); border-radius: 999px; font-size: 14px; letter-spacing: 0.02em; }
.tabs a.on, .tabs a:hover { background: var(--ink); color: var(--white); }
.tabs .cnt { margin-left: auto; align-self: center; font-size: 13px; color: var(--ink-soft); }
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
.gal .card { display: block; }
.gal .card[hidden] { display: none; }
.gal .card .img { aspect-ratio: 16 / 10; overflow: hidden; background: #ddd; }
.gal .card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.gal .card:hover img { transform: scale(1.05); }
.gal .card .cate { display: inline-block; margin-top: 16px; font-size: 11px; letter-spacing: 0.2em; color: var(--ink-soft); text-transform: uppercase; }
.gal .card strong { display: block; margin-top: 6px; font-size: 19px; font-weight: 600; }
.gal .card p { margin-top: 6px; font-size: 14px; line-height: 1.7; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 현장 상세 */
.view-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--ink); margin-bottom: 40px; }
.view-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.3; margin-top: 10px; }
.view-head .meta { font-size: 13px; color: var(--ink-soft); white-space: nowrap; }
.view-lead { font-size: 17px; line-height: 1.8; color: #3d3833; max-width: 46em; margin-bottom: 40px; }
.view-imgs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.view-imgs img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; background: #eee; }
.view-imgs img.tall { aspect-ratio: 2 / 3; }
.view-imgs img.wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.view-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; }
.view-nav a { display: inline-flex; flex-direction: column; gap: 6px; }
.view-nav a small { font-size: 11px; letter-spacing: 0.2em; color: var(--ink-soft); }
.view-nav a strong { font-weight: 500; }
.view-nav .next { text-align: right; align-items: flex-end; }
.view-nav .list { align-self: center; }

/* 서비스 */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.svc + .svc { margin-top: 0; }
.svc .pic { aspect-ratio: 4 / 3; background: #ddd center/cover no-repeat; }
.svc .txt { padding: 56px; display: flex; flex-direction: column; justify-content: center; background: var(--paper-2); }
.svc:nth-child(even) .pic { order: 2; }
.svc .txt svg { width: 44px; height: 44px; stroke: var(--ink); fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 20px; }
.svc .txt h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.3; }
.svc .txt small { display: block; margin-top: 8px; font-size: 13px; color: var(--ink-soft); }
.svc .txt p { margin-top: 20px; font-size: 15px; line-height: 1.85; color: #3d3833; }
.svc .txt ul { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc .txt li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; background: var(--white); }

/* 진행방식 */
.steps { counter-reset: st; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps li { counter-increment: st; background: var(--white); border: 1px solid var(--line); padding: 34px 24px 30px; position: relative; }
.steps li::before { content: "0" counter(st); display: block; font-family: var(--serif); font-size: 30px; color: var(--ink-soft); margin-bottom: 18px; }
.steps li strong { display: block; font-size: 18px; font-weight: 600; line-height: 1.4; }
.steps li p { margin-top: 10px; font-size: 14px; line-height: 1.7; color: var(--ink-soft); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.two .box { background: var(--white); border: 1px solid var(--line); padding: 44px 40px; }
.two .box h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.two .box small { display: block; font-size: 11px; letter-spacing: 0.3em; color: var(--ink-soft); margin-bottom: 12px; }
.two .box p { margin-top: 16px; font-size: 15px; line-height: 1.85; color: #3d3833; }
.process-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 44px; }

/* 문의 */
.contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.contact .aside .big { font-family: var(--serif); font-size: clamp(28px, 2.8vw, 40px); margin-top: 8px; letter-spacing: 0.01em; }
.contact .aside p { margin-top: 18px; font-size: 15px; line-height: 1.8; color: var(--ink-soft); }
.contact .aside .cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.contact .aside dl { margin-top: 36px; border-top: 1px solid var(--ink); font-size: 14px; }
.contact .aside dl div { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact .aside dt { width: 5em; color: var(--ink-soft); flex: none; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .f { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form label { font-size: 13px; color: var(--ink-soft); }
.form label small { margin-left: 4px; opacity: 0.7; }
.form input, .form select, .form textarea { width: 100%; height: 50px; padding: 0 16px; border: 1px solid #d5cec6; background: var(--white); border-radius: 0; outline: none; transition: border-color 0.2s; -webkit-appearance: none; appearance: none; }
.form textarea { height: 180px; padding: 14px 16px; line-height: 1.6; resize: vertical; }
.form textarea.notice { height: 140px; font-size: 13px; color: var(--ink-soft); background: var(--paper-2); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); }
.form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.form .agree { display: flex; align-items: center; gap: 10px; font-size: 14px; margin: 4px 0 26px; }
.form .agree input { width: 18px; height: 18px; -webkit-appearance: checkbox; appearance: checkbox; }
.form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .submit { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form .submit .btn[disabled] { opacity: 0.5; cursor: default; }
.form .result { font-size: 14px; min-height: 1.5em; }
.form .result.ok { color: #6a4a2c; font-weight: 600; }
.form .result.no { color: #b23b2c; }

/* 개인정보처리방침 */
.privacy h3 { font-size: 19px; font-weight: 600; margin: 40px 0 12px; }
.privacy h3:first-child { margin-top: 0; }
.privacy p, .privacy li { font-size: 15px; line-height: 1.8; color: #3d3833; }
.privacy ul { padding-left: 1.2em; list-style: disc; }

/* 전체 메뉴(모바일) */
#menu { display: none; }

/* ─────────────── 반응형 ─────────────── */
@media (max-width: 1100px) {
  .promise { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  #header .tools .pill span { display: none; }
  #header .tools .pill { padding: 0 10px; }
  .works .wrap { grid-template-columns: 1fr; padding-right: var(--gutter); }
  .works .left { padding-right: 0; }
  .works .panel { margin: 0 calc(var(--gutter) * -1); padding: 44px var(--gutter); }
}
@media (max-width: 860px) {
  body { font-size: 15px; }
  #header .wrap { height: 72px; }
  #header nav, #header .tools .pill, #header .tools .btn { display: none; }
  #header .mbtn { display: block; width: 40px; height: 40px; position: relative; }
  #header .mbtn::before, #header .mbtn::after, #header .mbtn span { content: ""; position: absolute; left: 8px; right: 8px; height: 2px; background: currentColor; transition: 0.25s; }
  #header .mbtn::before { top: 12px; } #header .mbtn span { top: 19px; } #header .mbtn::after { top: 26px; }
  #header.open .mbtn::before { top: 19px; transform: rotate(45deg); }
  #header.open .mbtn::after { top: 19px; transform: rotate(-45deg); }
  #header.open .mbtn span { opacity: 0; }
  #header.fix .wrap { height: 64px; }
  #menu { display: block; position: fixed; inset: 0; z-index: 49; background: var(--white); color: var(--ink); padding: 100px var(--gutter) 40px; transform: translateX(100%); transition: transform 0.3s; overflow: auto; }
  #menu.on { transform: none; }
  #menu li a { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 24px; }
  #menu li a small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: 0.2em; color: var(--ink-soft); margin-top: 4px; }
  #menu .links { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
  #menu .pill { border-color: var(--line); }
  #header.open { position: fixed; color: var(--ink); }

  .hero { height: auto; min-height: 640px; }
  .hero .bg { background-image: url(../img/main/hero-m.jpg); }
  .hero::before { background: linear-gradient(180deg, rgba(38, 34, 30, 0.35) 0%, rgba(38, 34, 30, 0.72) 100%); }
  .hero .wrap { padding-top: 130px; padding-bottom: 120px; justify-content: flex-end; min-height: 640px; }
  .hero h1 { font-size: clamp(34px, 9.4vw, 48px); }
  .hero .foot { bottom: 24px; }
  .hero .foot .tag { display: none; }

  .strip ul { grid-template-columns: 1fr 1fr; }
  .strip li { padding: 30px 12px; }
  .strip li:nth-child(3) { border-left: 0; }
  .strip li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .strip strong { font-size: 17px; }

  .split { min-height: 0; }
  .split .photo { position: relative; width: auto; aspect-ratio: 16 / 10; }
  .split .photo::before { background: linear-gradient(0deg, var(--sand) 0%, rgba(220, 216, 210, 0) 30%); }
  .split .wrap { min-height: 0; padding-top: 12px; padding-bottom: 56px; }
  .split .side { display: none; }

  .works .grid { grid-template-columns: 1fr 1fr; }
  .works .head { flex-direction: column; align-items: flex-start; }
  .quote .mark { display: none; }
  .quote blockquote br { display: none; }

  #footer .row { flex-direction: column; align-items: flex-start; gap: 14px; }
  #footer .row .btn { margin-left: 0; }
  #footer .base { flex-direction: column; padding-bottom: 96px; }

  .call { left: 0; right: 0; bottom: 0; width: auto; height: 60px; border-radius: 0; gap: 10px; font-size: 17px; font-weight: 600; padding-bottom: env(safe-area-inset-bottom); box-sizing: content-box; }
  .call span { position: static; transform: none; background: none; opacity: 1; visibility: visible; padding: 0; font-size: inherit; line-height: 1; }
  .top { bottom: 80px; right: 16px; }

  .sec { padding: 64px 0; }
  .about-top, .info-grid, .contact, .two, .svc { grid-template-columns: 1fr; }
  .about-top, .info-grid, .contact { gap: 36px; }
  .promise { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .gal { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .view-imgs { grid-template-columns: 1fr; }
  .view-imgs img.tall { aspect-ratio: 3 / 4; }
  .svc:nth-child(even) .pic { order: 0; }
  .svc .txt { padding: 36px 24px; }
  .form .row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 480px) {
  .works .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .works .card strong { font-size: 15px; }
  .gal { grid-template-columns: 1fr; }
  .promise, .steps { grid-template-columns: 1fr; }
  .strip strong { font-size: 16px; }
  .strip span { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #header.fix { animation: none; }
  .works .card img, .gal .card img { transition: none; }
}
