:root {
  --bg: #ffffff;
  --bg-panel: #ffffff;
  --bg-panel-2: #f5f7f8;
  --ink: #12222e;
  --ink-soft: #4c6472;
  --line: #2f6b82;
  --line-soft: #a8c6ce;
  --brass: #195eb4;
  --brass-soft: #2ee3e1;
  --cyan-text: #0e8a88;
  --hero-bg: #ffffff;
  --hero-ink: #12222e;
  --hero-line: #2f6b82;
  --card-border: rgba(18,34,46,0.12);
  --sample-tag: #b5442e;
}
/* 화이트 배경으로 고정 (다크모드 분기 없음) */
:root[data-theme="light"], :root[data-theme="dark"] {
  --bg: #ffffff; --bg-panel: #ffffff; --bg-panel-2: #f5f7f8;
  --ink: #12222e; --ink-soft: #4c6472; --line: #2f6b82; --line-soft: #a8c6ce;
  --brass: #195eb4; --brass-soft: #2ee3e1; --cyan-text: #0e8a88; --hero-bg: #ffffff; --hero-ink: #12222e;
  --hero-line: #2f6b82; --card-border: rgba(18,34,46,0.12); --sample-tag: #b5442e;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

.brand-stripe {
  position: fixed; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brass) 0%, var(--brass-soft) 100%);
  z-index: 1000;
}

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 68px; }

/* 상단 네비게이션 */
.site-nav {
  position: sticky; top: 4px; z-index: 900;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--card-border);
}
.site-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1.5rem;
  gap: 1.5rem;
}
.site-nav-logo {
  display: flex; align-items: center; gap: 0.5rem;
  text-decoration: none;
  color: var(--brass);
  font-weight: 800; font-size: 1.05rem;
  white-space: nowrap;
}
.site-nav-logo svg { width: 24px; height: 24px; flex-shrink: 0; }
.site-nav-links {
  display: flex; gap: 1.6rem;
  overflow-x: auto;
}
.site-nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.site-nav-links a:hover {
  color: var(--brass);
  border-bottom-color: var(--brass-soft);
}
@media (max-width: 640px) {
  .site-nav-inner { padding: 0.7rem 1rem; gap: 0.8rem; }
  .site-nav-logo span { display: none; }
  .site-nav-links { gap: 1.1rem; }
  .site-nav-links a { font-size: 0.85rem; }
}

/* 스크롤해도 뒤에 은은하게 고정되는 배경 */
.bg-fixed {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url('/images/bg-texture.jpg') center 30% / cover no-repeat;
  filter: grayscale(60%) blur(1.5px);
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Pretendard Variable", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.mono {
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
  letter-spacing: 0.06em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--brass);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--brass);
  display: inline-block;
}
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 900; letter-spacing: -0.01em; }
section { padding: 5.5rem 1.5rem; }
.wrap { max-width: 920px; margin: 0 auto; }
.narrow { max-width: 640px; }

/* HERO */
.hero {
  position: relative;
  background: rgba(255,255,255,0.88);
  color: var(--hero-ink);
  padding: 6.5rem 1.5rem 5rem;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, var(--hero-line) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, var(--hero-line) 0 1px, transparent 1px 64px);
  opacity: 0.16;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 78% 20%, rgba(127,196,221,0.16), transparent 70%);
  z-index: -1;
}
.hero .wrap { display: grid; grid-template-columns: 1fr; gap: 2.4rem; justify-items: center; text-align: center; }
.hero .wrap > div:first-child { display: flex; flex-direction: column; align-items: center; }
.brand-name {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  width: 100%;
  font-family: "Pretendard Variable", sans-serif;
  font-weight: 900; font-size: clamp(1.7rem, 6.5vw, 3.6rem);
  color: #0033cc; letter-spacing: -0.02em; line-height: 1.25;
  text-align: center;
}
.hero h1.guarantee {
  margin-top: 1.8rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
}
.guarantee .g-line {
  display: block;
  font-size: clamp(0.95rem, 4.8vw, 2.5rem);
  font-weight: 900;
  line-height: 1.3;
  color: var(--ink);
}
.guarantee .g-nowrap { white-space: nowrap; }
.hero p.lead { color: var(--hero-line); font-size: 1.05rem; max-width: 46ch; margin: 1.3rem auto 0; }
.trust-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin-top: 2rem; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--brass-soft); border-radius: 999px;
  color: var(--brass); font-size: 0.85rem; font-weight: 700;
}
.trust-badge::before { content: "✓"; color: var(--brass-soft); }

.hero-photo {
  width: 100%; max-width: 380px; margin: 0 auto;
  aspect-ratio: 1; border-radius: 12px; overflow: hidden;
  box-shadow: 0 20px 40px -16px rgba(18,34,46,0.25);
  border: 1px solid var(--card-border);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* INTRO */
.intro { background: rgba(255,255,255,0.88); }
.intro p { font-size: 1.08rem; color: var(--ink-soft); margin-top: 1.3rem; text-align: center; }
.intro strong { color: var(--ink); font-weight: 700; }

/* FEATURES */
.features { background: rgba(255,255,255,0.88); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.6rem; }
.feature-card {
  background: var(--bg-panel);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 1.9rem 1.6rem;
  position: relative;
  text-align: center;
  box-shadow: 0 2px 10px -4px rgba(18,34,46,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px -12px rgba(25,94,180,0.22);
}
.feature-card::before {
  content: "";
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  width: 32px; height: 3px;
  background: var(--brass);
}
.feature-card svg { width: 34px; height: 34px; stroke: var(--line); margin: 0 auto 1rem; display: block; }
.feature-card h3 { font-size: 1.08rem; margin-bottom: 0.7rem; }
.feature-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* PROCESS */
.process { background: rgba(245,247,248,0.88); }
.process-list { margin-top: 2.6rem; display: flex; flex-direction: column; }
.process-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--card-border);
}
.process-item:last-child { border-bottom: 1px solid var(--card-border); }
.process-item .step-num {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 1.5rem;
  color: var(--cyan-text);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.process-item h3 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.process-item p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* EQUIPMENT */
.equipment { background: rgba(255,255,255,0.88); }
.eq-table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.4rem; }
.eq-row {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  gap: 0.5rem;
  padding: 2rem 1.4rem 1.7rem;
  background: var(--bg-panel-2);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 2px 10px -4px rgba(18,34,46,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.eq-row::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brass) 0%, var(--brass-soft) 100%);
}
.eq-row:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 30px -12px rgba(25,94,180,0.26);
}
.eq-icon {
  width: 88px; height: 88px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(25,94,180,0.12), rgba(46,227,225,0.14));
  color: var(--brass);
  overflow: hidden;
  border: 2px solid rgba(25,94,180,0.15);
}
.eq-icon svg { width: 28px; height: 28px; stroke: currentColor; }
.eq-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.eq-row .eq-name { font-weight: 800; font-size: 1.02rem; color: var(--ink); }
.eq-row .eq-desc { color: var(--ink-soft); font-size: 0.88rem; line-height: 1.6; margin-top: 0.2rem; }

/* BRANCHES */
.branches { background: rgba(255,255,255,0.88); color: var(--hero-ink); }
.branches .eyebrow { color: var(--brass); }
.branches .eyebrow::before { background: var(--brass); }
.branch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; margin-top: 2.4rem; }
.branch-card {
  border: 1px solid var(--card-border);
  background: var(--bg-panel-2);
  padding: 1.7rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px -4px rgba(18,34,46,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}
.branch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px -12px rgba(25,94,180,0.22);
}
.branch-card h3 { font-size: 1.15rem; color: var(--hero-ink); margin-bottom: 0.6rem; }
.branch-card .coverage { font-size: 0.88rem; color: var(--hero-line); margin-top: 0.8rem; line-height: 1.8; }
.branch-note { margin-top: 1.8rem; color: var(--hero-line); font-size: 0.95rem; text-align: center; }

/* REVIEWS */
.reviews { background: var(--bg); }
.reviews-note {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  background: var(--bg-panel-2);
  border-left: 3px solid var(--sample-tag);
  padding: 0.9rem 1.1rem;
  border-radius: 2px;
}
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem; }
.review-card {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--card-border);
  border-radius: 4px;
  padding: 1.5rem 1.4rem 1.3rem;
}
.review-card .sample-flag {
  position: absolute; top: 0; right: 0;
  background: var(--sample-tag);
  color: #fff;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.55rem;
  font-family: ui-monospace, Consolas, monospace;
}
.review-card .stars { color: var(--brass); letter-spacing: 0.1em; margin-bottom: 0.7rem; }
.review-card p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

/* CTA */
.cta { background: rgba(245,247,248,0.88); text-align: center; }
.cta-box {
  display: flex; flex-direction: column; align-items: center; gap: 1.4rem;
}
.cta h2 { font-size: 1.7rem; }
.cta p { color: var(--ink-soft); margin-top: 0.6rem; }
.cta-btn {
  background: var(--brass);
  color: #fff;
  border: none;
  padding: 0.95rem 1.8rem;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}
.cta-btn:focus-visible { outline: 2px solid var(--line); outline-offset: 3px; }

footer { padding: 2.2rem 1.5rem; text-align: center; font-size: 0.8rem; color: var(--ink-soft); background: rgba(255,255,255,0.88); }
footer a { color: var(--ink-soft); }

/* CASES */
.cases { background: rgba(255,255,255,0.88); }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-top: 2.4rem; }
.case-card {
  border: 1px solid var(--card-border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-panel-2);
  box-shadow: 0 2px 10px -4px rgba(18,34,46,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px -12px rgba(25,94,180,0.22);
}
.case-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.case-card .case-body { padding: 1.3rem 1.6rem 1.5rem; text-align: center; }
.case-card .case-area {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--cyan-text);
  text-transform: uppercase;
}
.case-card h3 { font-size: 1.02rem; margin-top: 0.5rem; }
.case-card p { font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.5rem; }
.cases-expand { margin-top: 2rem; text-align: center; }
.cases-expand summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 700; font-size: 0.92rem;
  color: var(--brass);
  padding: 0.75rem 1.6rem;
  border: 1.5px solid var(--brass-soft);
  border-radius: 999px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.cases-expand summary:hover { background: rgba(46,227,225,0.12); box-shadow: 0 6px 16px -8px rgba(25,94,180,0.3); }
.cases-expand summary::-webkit-details-marker { display: none; }
.cases-expand summary::after { content: "\25BE"; }
.cases-expand[open] summary::after { content: "\25B4"; }
.cases-expand[open] summary { margin-bottom: 2rem; }
.cases-more { margin-top: 2.2rem; text-align: center; }
.cases-more a {
  display: inline-block;
  color: #fff;
  background: var(--brass);
  font-weight: 700;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  box-shadow: 0 10px 22px -8px rgba(161,95,34,0.5);
}

/* 시공사례 키워드 모음 */
.keyword-hub { max-width: 920px; margin: 0 auto; padding: 1.5rem 1.5rem 0; text-align: center; }
.keyword-hub summary {
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.72rem; font-weight: 500; color: var(--ink-soft);
  list-style: none;
  padding: 0.3rem 0.6rem;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}
.keyword-hub summary:hover { opacity: 0.9; }
.keyword-hub summary::-webkit-details-marker { display: none; }
.keyword-hub summary::after { content: "\25BE"; }
.keyword-hub[open] summary::after { content: "\25B4"; }
.keyword-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 0.9rem;
  margin-top: 1rem; padding-bottom: 0.5rem;
}
.keyword-list a {
  font-size: 0.8rem; color: var(--cyan-text); text-decoration: none;
  border-bottom: 1px dotted var(--cyan-text);
}
.keyword-list a:hover { color: var(--brass); border-color: var(--brass); }

/* 히어로를 제외한 섹션 제목은 가운데 정렬 (본문 텍스트 정렬엔 영향 없음) */
section:not(.hero) > .wrap > .eyebrow {
  display: flex;
  width: fit-content;
  margin: 0 auto;
}
section:not(.hero) > .wrap > h2 {
  text-align: center;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0.9rem;
}
.intro > .wrap > h2 { font-size: clamp(1.4rem, 2.6vw, 1.7rem); }
.cta h2 { font-size: clamp(1.5rem, 2.8vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; }
.hero-photo { margin: 0 auto; }

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .feature-grid, .case-grid { grid-template-columns: 1fr; }
  .branch-grid { grid-template-columns: 1fr; }
  .eq-table { grid-template-columns: 1fr; }
  .process-item { grid-template-columns: 1fr; text-align: center; }
  .process-item .step-num { margin: 0 auto; }
  section { padding: 3.6rem 1.2rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* 상시노출 상담 버튼 그룹 */
.sticky-actions {
  position: fixed;
  z-index: 999;
  right: 1.5rem; bottom: 1.5rem;
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.7rem;
}
.sticky-btn {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 800; font-size: 0.95rem;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 10px 22px -8px rgba(16,26,44,0.35);
}
.sticky-btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.sticky-btn.phone { background: var(--brass); color: #fff; }
.sticky-btn.blog { background: #fff; color: var(--brass); border: 1.5px solid var(--brass); }
.sticky-btn.kakao { background: #FEE500; color: #391B1B; }
.sticky-btn:focus-visible { outline: 2px solid var(--brass-soft); outline-offset: 3px; }

@media (max-width: 640px) {
  .sticky-actions {
    left: 0; right: 0; bottom: 0;
    flex-direction: row; align-items: stretch; gap: 0;
    width: 100%;
  }
  .sticky-btn {
    flex: 1; justify-content: center;
    border-radius: 0;
    padding: 0.85rem 0.4rem;
    font-size: 0.82rem;
    box-shadow: none;
  }
  .sticky-btn.blog { border-top: none; border-bottom: none; }
  body { padding-bottom: 58px; }
}
