:root {
  --navy: #1e293b;
  --navy-light: #475569;
  --orange: #334155;
  --text: #1e293b;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ── Section Divider ── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #cbd5e1 25%, #94a3b8 50%, #cbd5e1 75%, transparent);
}

/* ── Header ── */
.site-header {
  background: #fff;
  color: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.site-logo {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  line-height: 1.3;
}
.site-logo span { display: block; font-size: 0.7rem; font-weight: 400; color: var(--text-muted); margin-top: 1px; }

.main-nav ul { display: flex; align-items: center; list-style: none; gap: 2px; }
.main-nav a {
  color: #334155;
  text-decoration: none;
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.main-nav a:hover { background: #f1f5f9; text-decoration: none; }
.main-nav .nav-phone a {
  background: #1e293b;
  color: #fff;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 20px;
  margin-left: 6px;
}
.main-nav .nav-phone a:hover { background: #334155; }
.main-nav .nav-phone svg { width: 14px; height: 14px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: #0f172a;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1e293b;
  margin: 5px 0;
  transition: all 0.28s;
  border-radius: 2px;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 55%, #e2e8f0 100%);
  color: #0f172a;
  padding: 88px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Film animation overlay */
.hero-film-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  pointer-events: none;
  z-index: 1;
}
.film-pane {
  border: 1px solid rgba(100,116,139,0.1);
  position: relative;
  overflow: hidden;
}
.film-pane::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(100,116,139,0.09) 0%, rgba(71,85,105,0.06) 100%);
  transform: scaleY(0);
  transform-origin: top;
  animation: filmApply 8s ease-in-out infinite;
}
.film-pane::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 48px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  left: -48px;
  animation: filmShine 8s ease-in-out infinite;
}
@keyframes filmApply {
  0% { transform: scaleY(0); opacity: 0; }
  8% { opacity: 1; }
  30% { transform: scaleY(1); opacity: 0.85; }
  100% { transform: scaleY(1); opacity: 0.85; }
}
@keyframes filmShine {
  0%, 28% { left: -48px; opacity: 0; }
  40% { opacity: 1; }
  58% { left: 110%; opacity: 0; }
  100% { left: 110%; opacity: 0; }
}
.film-pane:nth-child(1)::after { animation-delay: 0s; }
.film-pane:nth-child(1)::before { animation-delay: 0.8s; }
.film-pane:nth-child(2)::after { animation-delay: 0.3s; }
.film-pane:nth-child(2)::before { animation-delay: 1.1s; }
.film-pane:nth-child(3)::after { animation-delay: 0.6s; }
.film-pane:nth-child(3)::before { animation-delay: 1.4s; }
.film-pane:nth-child(4)::after { animation-delay: 0.9s; }
.film-pane:nth-child(4)::before { animation-delay: 1.7s; }
.film-pane:nth-child(5)::after { animation-delay: 1.2s; }
.film-pane:nth-child(5)::before { animation-delay: 2.0s; }
.film-pane:nth-child(6)::after { animation-delay: 1.5s; }
.film-pane:nth-child(6)::before { animation-delay: 2.3s; }
.film-pane:nth-child(7)::after { animation-delay: 1.8s; }
.film-pane:nth-child(7)::before { animation-delay: 2.6s; }
.film-pane:nth-child(8)::after { animation-delay: 2.1s; }
.film-pane:nth-child(8)::before { animation-delay: 2.9s; }

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #334155;
  color: #f1f5f9;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 13px;
  border-radius: 50px;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.hero-badge svg { width: 12px; height: 12px; }

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.hero h1 small {
  display: block;
  font-size: 0.38em;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0;
  margin-top: 10px;
}
.hero .hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  color: #475569;
  max-width: 600px;
  margin: 16px auto 36px;
  line-height: 1.75;
}
.hero-tags {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}
.hero-tag {
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}

/* ── Buttons ── */
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #334155;
  color: #fff;
  text-decoration: none;
  padding: 15px 36px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  transition: transform 0.18s, background 0.18s, box-shadow 0.18s;
  box-shadow: 0 4px 20px rgba(30,41,59,0.25);
}
.btn-call:hover {
  transform: translateY(-2px);
  background: #1e293b;
  box-shadow: 0 8px 28px rgba(30,41,59,0.32);
  text-decoration: none;
  color: #fff;
}
.btn-call svg { width: 20px; height: 20px; flex-shrink: 0; }

.btn-outline {
  display: inline-block;
  padding: 11px 28px;
  border: 2px solid #334155;
  border-radius: 50px;
  color: #334155;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.18s, color 0.18s;
  text-decoration: none;
}
.btn-outline:hover { background: #334155; color: #fff; text-decoration: none; }

/* ── Sections ── */
.section { padding: 72px 20px; }
.section-alt { background: var(--bg-alt); }
.section-slate100 { background: #f1f5f9; }
.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  text-align: center;
}
.section-subtitle {
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 44px;
  font-size: 0.92rem;
}

/* ── Service Grid ── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
  margin-top: 16px;
}
.service-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 18px 22px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  text-decoration: none;
  color: var(--text);
  display: block;
}
.service-card:hover {
  box-shadow: 0 6px 24px rgba(30,41,59,0.1);
  transform: translateY(-3px);
  text-decoration: none;
  border-color: #334155;
}
.card-icon {
  width: 58px;
  height: 58px;
  background: #f1f5f9;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  transition: background 0.2s;
}
.service-card:hover .card-icon { background: #334155; }
.service-card:hover .card-icon svg { stroke: #fff; }
.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}
.service-card p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; }
.card-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.83rem;
  font-weight: 600;
  color: #475569;
}

/* ── Worries (고객 걱정) ── */
.worries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 16px;
}
.worry-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 22px 18px;
}
.worry-q {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.worry-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.worry-icon svg { width: 17px; height: 17px; stroke: #475569; }
.worry-q-text { font-size: 0.85rem; font-weight: 700; color: #1e293b; line-height: 1.5; }
.worry-divider { height: 1px; background: #e2e8f0; margin-bottom: 12px; }
.worry-check {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #334155;
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 5px;
}
.worry-check svg { width: 13px; height: 13px; stroke: #334155; flex-shrink: 0; }
.worry-a { font-size: 0.78rem; color: #475569; line-height: 1.7; }

/* ── Reviews Marquee ── */
.reviews-overflow { overflow: hidden; padding: 4px 0 24px; }
.reviews-track {
  display: flex;
  gap: 16px;
  animation: marqueeLeft 60s linear infinite;
  width: max-content;
}
.reviews-track:hover { animation-play-state: paused; }
@keyframes marqueeLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.review-card {
  width: 255px;
  flex-shrink: 0;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 18px 18px;
}
.review-stars { color: #334155; font-size: 0.9rem; margin-bottom: 8px; letter-spacing: 2px; }
.review-text { font-size: 0.78rem; color: #334155; line-height: 1.7; margin-bottom: 12px; }
.review-author { display: flex; align-items: center; gap: 8px; }
.review-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: #e2e8f0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; color: #475569;
  flex-shrink: 0;
}
.review-name { font-size: 0.73rem; font-weight: 700; color: #0f172a; }
.review-loc { font-size: 0.67rem; color: #94a3b8; margin-top: 1px; }

/* ── Coverage (전국 출장) ── */
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.coverage-text h3 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 14px;
}
.coverage-text h3 em { color: #475569; font-style: normal; }
.coverage-desc { font-size: 0.88rem; color: #475569; line-height: 1.9; margin-bottom: 22px; }
.coverage-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.coverage-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.84rem; color: #334155; font-weight: 500; }
.coverage-list li svg { width: 15px; height: 15px; stroke: #334155; flex-shrink: 0; margin-top: 2px; }
.map-box { display: flex; justify-content: center; }
.map-box svg { max-width: 220px; width: 100%; }

/* ── FAQ ── */
.faq-list { max-width: 740px; margin: 0 auto; }
.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  background: #fff;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: #fff;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: inherit;
  line-height: 1.5;
  transition: background 0.15s;
}
.faq-question:hover { background: #f8fafc; }
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: #475569;
  flex-shrink: 0;
  font-weight: 400;
  line-height: 1;
}
.faq-item.open .faq-question::after { content: '\2212'; }
.faq-item.open .faq-question { color: #0f172a; }
.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }

/* ── Page Header ── */
.page-header {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: #fff;
  padding: 60px 20px 56px;
  text-align: center;
}
.page-header h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.page-header p { font-size: 1rem; opacity: 0.85; }
.breadcrumb { font-size: 0.82rem; opacity: 0.72; margin-bottom: 10px; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* ── Page Content ── */
.page-content { max-width: 840px; margin: 0 auto; padding: 64px 20px 80px; }
.page-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #0f172a;
  margin: 52px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bg-alt);
}
.page-content h2:first-child { margin-top: 0; }
.page-content p { margin-bottom: 16px; line-height: 1.8; }
.page-content ul { padding-left: 22px; margin-bottom: 20px; }
.page-content li { margin-bottom: 8px; line-height: 1.7; }

.info-box {
  background: #f1f5f9;
  border-left: 4px solid #475569;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 24px 0;
  font-size: 0.93rem;
  line-height: 1.7;
}
.info-box strong { color: #1e293b; }

/* ── Features Grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.feature-item {
  padding: 22px 20px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
}
.feature-item h3 { font-size: 0.97rem; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.feature-item p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* ── CTA Block ── */
.cta-block {
  text-align: center;
  padding: 64px 20px;
  background: #ffffff;
  color: #1e293b;
}
.cta-block h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  margin-bottom: 12px;
  color: #0f172a;
}
.cta-block p { color: #334155; margin-bottom: 32px; font-size: 0.97rem; }

/* ── Construction Cases ── */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}
.case-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
}
.case-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.case-image {
  height: 145px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.85);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.case-info { padding: 14px 16px; }
.case-tag {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 5px;
}
.case-info h3 { font-size: 0.9rem; font-weight: 700; color: #0f172a; margin-bottom: 2px; }
.case-info p { font-size: 0.76rem; color: var(--text-muted); margin: 0; }

/* ── Sitemap ── */
.sitemap-section { margin-bottom: 40px; }
.sitemap-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  border-bottom: 2px solid #334155;
  padding-bottom: 8px;
  margin-bottom: 14px;
}
.sitemap-section ul { list-style: none; padding: 0; }
.sitemap-section li { padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 0.94rem; }
.sitemap-section a { color: #475569; }
.sitemap-section a:hover { color: #1e293b; text-decoration: underline; }

/* ── Footer ── */
.site-footer {
  background: #1e293b;
  color: rgba(255,255,255,0.72);
  padding: 52px 20px 28px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 36px;
  margin-bottom: 44px;
}
.footer-col h4 { color: #fff; font-size: 0.88rem; font-weight: 700; margin-bottom: 12px; }
.footer-col p, .footer-col a {
  font-size: 0.82rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.62);
  display: block;
  text-decoration: none;
}
.footer-col a:hover { color: #fff; }
.footer-phone { color: #fff !important; font-weight: 700 !important; font-size: 0.9rem !important; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.38);
}

/* ── Desktop Side Phone ── */
.phone-side {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
}
.phone-side a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #334155;
  color: #fff;
  text-decoration: none;
  padding: 16px 11px;
  border-radius: 40px;
  font-size: 0.72rem;
  font-weight: 700;
  writing-mode: vertical-rl;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 20px rgba(30,41,59,0.3);
  transition: transform 0.18s, background 0.18s, box-shadow 0.18s;
  line-height: 1;
}
.phone-side a:hover {
  transform: scale(1.06) translateX(-2px);
  background: #1e293b;
  box-shadow: 0 8px 28px rgba(30,41,59,0.38);
  text-decoration: none;
  color: #fff;
}
.phone-side svg { width: 18px; height: 18px; }

/* ── Mobile Bottom Phone ── */
.phone-bottom {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #334155;
  padding: 13px 16px;
}
.phone-bottom a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: inherit;
}
.phone-bottom svg { width: 18px; height: 18px; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .phone-side { display: none; }
  .phone-bottom { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { width: 100%; }
  .main-nav a {
    padding: 13px 20px;
    border-radius: 0;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    justify-content: space-between;
  }
  .main-nav a:hover { background: #f8fafc; }
  .main-nav .nav-phone { margin: 0; }
  .main-nav .nav-phone a {
    border-radius: 0;
    margin-left: 0;
    background: #1e293b;
    color: #fff;
    justify-content: center;
  }
  .nav-toggle { display: block; }
  .site-header { position: sticky; top: 0; }

  body { padding-bottom: 54px; }
  .hero { padding: 60px 20px; }
  .section { padding: 52px 20px; }
  .service-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .coverage-grid { grid-template-columns: 1fr; gap: 32px; }
  .map-box { order: -1; }
  .map-box svg { max-width: 180px; }
  .worries-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .worries-grid { grid-template-columns: 1fr; }
}
