/* FINERO 피네로 — 조명시공업체 lic.techhomecity.com
   폰트/radius/그리드 컬럼수는 rb.techhomecity.com 실측값을 베이스로,
   색상은 계열사 사이트(Noir-Gold 골드톤)와 겹치지 않도록 LED 냉백색광 컨셉의
   시안/일렉트릭블루 글로우 톤으로 재구성. */

@import url('https://fonts.googleapis.com/css2?family=Hahmlet:wght@300;400;500;700&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,500&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard-dynamic-subset.min.css');

:root {
  --clr-bg: #0a1016;
  --clr-bg-alt: #0f1820;
  --clr-surface: #131f28;
  --clr-surface-2: #182631;
  --clr-accent: #2dd4e0;
  --clr-accent-deep: #0891a8;
  --clr-accent-glow: #a5f3fc;
  --clr-text: #eaf4f6;
  --clr-text-muted: #93aab2;
  --clr-border: #223038;

  --font-heading: 'Hahmlet', 'Noto Serif KR', Georgia, serif;
  --font-display: 'Cormorant Garamond', 'Hahmlet', Georgia, serif;
  --font-body: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 2px;
  --radius-pill: 999px;
  --section-pad: clamp(64px, 10vw, 128px);
  --container-w: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body, p, h1, h2, h3, h4, h5, h6, li, td, th, a, span, div, button {
  word-break: keep-all;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }

.br-mobile { display: none; }
.br-desktop { display: inline; }
@media(max-width:768px) {
  .br-mobile { display: inline; }
  .br-desktop { display: none; }
}

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 500; margin: 0 0 .6em; line-height: 1.35; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--clr-text-muted); }

.container { max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }
section { padding: var(--section-pad) 0; }
.section-alt { background: var(--clr-bg-alt); }

.eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--clr-accent);
  letter-spacing: .08em;
  display: block;
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border: 1px solid var(--clr-accent);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .98rem;
  background: rgba(10,16,22,.5);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: var(--clr-accent-glow);
  cursor: pointer;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.btn-solid {
  background: linear-gradient(135deg, var(--clr-accent-deep), var(--clr-accent));
  color: #052229;
  border-color: transparent;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: rgba(45,212,224,.12); box-shadow: 0 0 24px rgba(45,212,224,.35); }
  .btn-solid:hover { box-shadow: 0 0 28px rgba(165,243,252,.55); }
  .card:hover { border-color: var(--clr-accent); box-shadow: 0 0 30px rgba(45,212,224,.18); transform: translateY(-4px); }
  .nav-link:hover { color: var(--clr-accent); }
}
.btn:active { transform: scale(.97); }

/* ── 헤더 ─────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,16,22,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--clr-border);
}
.hdr-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: var(--container-w); margin: 0 auto; }
.hdr-logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--clr-accent-glow); letter-spacing: .04em; }
.hdr-logo small { display: block; font-family: var(--font-body); font-size: .62rem; color: var(--clr-text-muted); letter-spacing: .18em; font-weight: 400; }
.hdr-nav { display: flex; gap: 30px; }
.nav-link { font-size: .92rem; color: var(--clr-text); transition: color .2s; }
.hdr-phone { border: 1px solid var(--clr-accent); border-radius: var(--radius); padding: 9px 20px; font-size: .88rem; color: var(--clr-accent-glow); }
.hdr-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hdr-burger span { width: 22px; height: 2px; background: var(--clr-accent-glow); }

#mob-nav {
  position: fixed; inset: 0 0 0 30%; z-index: 90;
  background: var(--clr-bg-alt);
  border-left: 1px solid var(--clr-border);
  padding: 90px 28px 28px;
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex; flex-direction: column; gap: 22px;
}
#mob-nav.open { transform: translateX(0); }
#mob-nav a { font-size: 1.1rem; }
#mob-nav .btn { margin-top: 10px; }

/* ── 히어로 ───────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 0;
  padding: calc(var(--section-pad) + 20px) 0;
  overflow: hidden;
  background: var(--clr-bg);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  animation-name: hero-slide-cycle;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
@keyframes hero-slide-cycle {
  0%   { opacity: 0; transform: scale(1.06); }
  6%   { opacity: 1; }
  85%  { opacity: 1; }
  94%  { opacity: 0; transform: scale(1.13); }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; opacity: 1; }
}
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,16,22,.12) 0%, rgba(10,16,22,.08) 40%, rgba(10,16,22,.5) 88%, var(--clr-bg) 100%);
}
.hero::after {
  content: '';
  position: absolute; inset: -20%; z-index: -1;
  background: radial-gradient(circle at 30% 30%, rgba(45,212,224,.14), transparent 55%);
  animation: hero-drift 16s ease-in-out infinite alternate;
  pointer-events: none;
  mix-blend-mode: screen;
}
@keyframes hero-drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(3%, 4%) scale(1.08); }
}
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 780px; margin: 0 auto; }

/* ── 하단 CTA 밴드(사진 배경 + 글래스 패널) ────────── */
.cta-band {
  position: relative; z-index: 0; overflow: hidden;
  background: var(--clr-bg) right center/cover no-repeat;
  min-height: 420px;
  display: flex; align-items: center;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(100deg, rgba(10,16,22,.92) 0%, rgba(10,16,22,.66) 38%, rgba(10,16,22,.18) 68%, transparent 88%);
}
.cta-band::after {
  content: '';
  position: absolute; inset: -20%; z-index: 0;
  background: radial-gradient(circle at 75% 35%, rgba(45,212,224,.18), transparent 55%);
  animation: hero-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
  mix-blend-mode: screen;
}
.cta-band .container { position: relative; z-index: 1; width: 100%; }
.cta-panel {
  max-width: 480px;
  background: rgba(15,24,32,.5);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(234,244,246,.14);
  border-radius: var(--radius);
  padding: 44px 40px;
  text-align: left;
}
.cta-accent-line { display: block; width: 46px; height: 2px; background: var(--clr-accent); margin-bottom: 22px; box-shadow: 0 0 10px rgba(45,212,224,.7); }
.cta-panel h2 { margin-bottom: 14px; }
.cta-panel p { margin-bottom: 0; color: var(--clr-text); }
.cta-panel .hero-cta { justify-content: flex-start; margin-top: 28px; }
@media(max-width:768px) {
  .cta-band { background-position: center; min-height: 0; }
  .cta-band::before { background: linear-gradient(180deg, rgba(10,16,22,.55) 0%, rgba(10,16,22,.9) 100%); }
  .cta-panel { max-width: none; text-align: center; padding: 34px 24px; }
  .cta-panel .hero-cta { justify-content: center; }
}
.hero-inner h1, .hero-sub, .hero-lead {
  text-shadow: 0 2px 6px rgba(0,0,0,.75), 0 6px 24px rgba(0,0,0,.55);
}
.hero-sub { color: var(--clr-accent-glow); font-family: var(--font-display); font-size: 1.3rem; font-style: italic; margin-bottom: 18px; }
.hero-lead { font-size: 1.08rem; max-width: 560px; margin: 0 auto 34px; color: var(--clr-text); }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.phone-display {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.9rem, 4.4vw, 2.7rem);
  color: var(--clr-accent-glow);
  letter-spacing: .02em;
  margin: 4px 0 28px;
  text-shadow: 0 2px 6px rgba(0,0,0,.75), 0 6px 24px rgba(0,0,0,.55);
}
@media (hover: hover) and (pointer: fine) {
  .phone-display:hover { color: var(--clr-accent); }
}

/* ── 카드/그리드 ──────────────────────────────────── */
.dp-g2  { display:grid; grid-template-columns:1fr 1fr; gap:24px }
.dp-g3  { display:grid; grid-template-columns:repeat(3,1fr); gap:24px }
.dp-g4  { display:grid; grid-template-columns:repeat(4,1fr); gap:20px }
.dp-stat3 { display:grid; grid-template-columns:repeat(3,1fr); gap:32px; text-align:center; align-items:center }
@media(max-width:768px) { .dp-g2,.dp-g3,.dp-g4 { grid-template-columns:1fr } }
@media(max-width:600px) { .dp-stat3 { grid-template-columns:1fr; gap:16px } }
@media(max-width:768px) { .area-home-grid .area-home-item:nth-child(n+6) { display: none; } }

.card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.card-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; aspect-ratio: 4/3; }
.area-home-cta { display: flex; flex-direction: column; justify-content: center; border-style: dashed; border-color: var(--clr-accent-deep); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card h3 { color: var(--clr-accent-glow); }
.card .tag {
  display: inline-block; font-size: .74rem; letter-spacing: .06em;
  color: var(--clr-accent); border: 1px solid var(--clr-accent-deep);
  border-radius: var(--radius-pill); padding: 3px 12px; margin-bottom: 12px;
}

.stat-num { font-family: var(--font-display); font-size: 2.6rem; color: var(--clr-accent-glow); font-weight: 600; }
.stat-label { font-size: .88rem; color: var(--clr-text-muted); margin-top: 4px; }

/* ── 프로세스 타임라인 ───────────────────────────────── */
.proc-list { display: flex; gap: 0; position: relative; }
.proc-list::before {
  content: ''; position: absolute; top: 26px; left: 8%; right: 8%; height: 1px;
  background: var(--clr-border); z-index: 0;
}
.proc-step { flex: 1; text-align: center; position: relative; padding: 0 12px; z-index: 1; }
.proc-num {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--clr-accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.3rem; color: var(--clr-accent-glow);
  margin: 0 auto 16px; background: var(--clr-bg);
}
.proc-step p { max-width: 220px; margin-left: auto; margin-right: auto; }
@media(max-width:768px) {
  .proc-list::before { display: none; }
  .proc-list { flex-direction: column; gap: 10px; }
  .proc-step { flex-direction:column; gap:10px; padding: 24px 0; text-align:left; display:flex; align-items:center; flex-direction:row; }
  .proc-num { margin: 0; flex-shrink:0; }
  .proc-step p { max-width: none; margin-left: 0; }
}

/* ── Before/After ─────────────────────────────────── */
.ba-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; border-radius: var(--radius); overflow: hidden; }
.ba-item { position: relative; aspect-ratio: 4/3; }
.ba-item img { width: 100%; height: 100%; object-fit: cover; }
.ba-item .ba-label {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(10,16,22,.75); color: var(--clr-accent-glow);
  font-size: .78rem; letter-spacing: .1em; padding: 5px 14px; border: 1px solid var(--clr-accent-deep);
}
@media(max-width:600px) { .ba-wrap { grid-template-columns: 1fr; } }

/* ── FAQ 아코디언 ─────────────────────────────────── */
.faq-list { border-top: 1px solid var(--clr-border); }
.faq-item { border-bottom: 1px solid var(--clr-border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; color: var(--clr-text);
  font-family: var(--font-heading); font-size: 1.05rem; padding: 22px 4px;
  display: flex; justify-content: space-between; align-items: center; cursor: pointer;
}
.faq-q .plus { color: var(--clr-accent); font-size: 1.3rem; transition: transform .3s; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 4px 22px; color: var(--clr-text-muted); }

/* ── 표 ───────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 480px; }
th, td { padding: 12px 16px; border-bottom: 1px solid var(--clr-border); text-align: left; font-size: .92rem; }
th { color: var(--clr-accent); font-weight: 600; }

/* ── 타임라인(가이드) ─────────────────────────────── */
.timeline { position: relative; padding-left: 30px; border-left: 1px solid var(--clr-border); }
.tl-item { position: relative; padding-bottom: 40px; }
.tl-item::before {
  content: ''; position: absolute; left: -35px; top: 4px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--clr-accent); box-shadow: 0 0 10px rgba(45,212,224,.7);
}

/* ── 스크롤 리빌 ──────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.stagger.in > * { animation: stagger-in .6s ease forwards; }
.stagger.in > *:nth-child(1) { animation-delay: .05s; }
.stagger.in > *:nth-child(2) { animation-delay: .15s; }
.stagger.in > *:nth-child(3) { animation-delay: .25s; }
.stagger.in > *:nth-child(4) { animation-delay: .35s; }
.stagger.in > *:nth-child(5) { animation-delay: .45s; }
.stagger.in > *:nth-child(6) { animation-delay: .55s; }
@keyframes stagger-in { from { opacity:0; transform: translateY(18px);} to { opacity:1; transform:translateY(0);} }

/* ── 푸터 ─────────────────────────────────────────── */
.site-footer { background: var(--clr-bg-alt); border-top: 1px solid var(--clr-border); padding: 56px 0 100px; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.ftr-title { color: var(--clr-accent-glow); font-family: var(--font-heading); margin-bottom: 14px; }
.ftr-legal { color: var(--clr-text-muted); font-size: .82rem; margin-top: 40px; border-top: 1px solid var(--clr-border); padding-top: 24px; }
@media(max-width:768px) { .ftr-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ── 모바일 고정 CTA ──────────────────────────────── */
#mob-bar { display: none; }
#float-cta {
  position: fixed; right: 28px; bottom: 28px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-accent-deep), var(--clr-accent));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 22px rgba(45,212,224,.45);
  animation: pulse-glow 2.6s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%,100% { box-shadow: 0 4px 22px rgba(45,212,224,.45); }
  50% { box-shadow: 0 4px 32px rgba(165,243,252,.75); }
}

@media(max-width:1024px) {
  .hdr-nav { gap: 18px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:768px) {
  .hdr-nav, .hdr-phone { display: none; }
  .hdr-burger { display: flex; }
  #float-cta { display: none; }
  #mob-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--clr-surface); border-top: 1px solid var(--clr-accent-deep);
  }
  #mob-bar a {
    flex: 1; text-align: center; padding: 15px 0; font-size: .92rem; font-weight: 600;
  }
  #mob-bar a:first-child { color: var(--clr-text); border-right: 1px solid var(--clr-border); }
  #mob-bar a:last-child { color: #052229; background: linear-gradient(135deg, var(--clr-accent-deep), var(--clr-accent)); }
  body { padding-bottom: 64px; }
  .proc-list { flex-direction: column; }
}
@media(max-width:480px) {
  .dp-stat3, .dp-g2, .dp-g3, .dp-g4 { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
}
