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

body {
  font-family: 'Noto Sans KR', sans-serif;
  color: #333;
}

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

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.transparent {
  background: transparent;
}

.navbar.scrolled,
.navbar.hovered {
  background: #fff;
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 로고 */
.navbar .logo img {
  height: 52px;
  width: auto;
  display: block;
  transition: opacity 0.2s;
}
.navbar .logo:hover img { opacity: 0.85; }

/* 네비 메뉴 */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 0 20px;
  height: 80px;
  line-height: 80px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.2px;
  transition: color 0.2s;
  white-space: nowrap;
}

.navbar.scrolled .nav-link,
.navbar.hovered .nav-link {
  color: #222;
}

.nav-link::after {
  content: '';
  display: block;
  height: 2px;
  background: #e94560;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
  margin-top: -2px;
}

.nav-item:hover .nav-link::after {
  transform: scaleX(1);
}

.nav-item:hover .nav-link {
  color: #e94560;
}

/* 드롭다운 */
.dropdown {
  position: absolute;
  top: 80px;
  left: 50%;
  min-width: 140px;
  background: #fff;
  border-top: 2px solid #e94560;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  border-radius: 0 0 8px 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 100;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-inner {
  padding: 8px 0;
}

.dropdown-inner a {
  display: block;
  padding: 10px 22px;
  font-size: 14px;
  color: #444;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
  white-space: nowrap;
}

.dropdown-inner a:hover {
  background: #fff5f7;
  color: #e94560;
  padding-left: 26px;
}

/* 드롭다운 backdrop */
.nav-backdrop {
  position: fixed;
  top: 80px; left: 0; right: 0;
  height: 0;
  background: rgba(0,0,0,0.18);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
  z-index: 90;
}

.navbar.menu-open .nav-backdrop {
  height: 100vh;
  opacity: 1;
}

/* 전화번호 */
.nav-tel {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.3px;
  white-space: nowrap;
  transition: color 0.2s;
}

.navbar.scrolled .nav-tel,
.navbar.hovered .nav-tel {
  color: #222;
}

.nav-tel:hover { color: #e94560 !important; }

/* 햄버거 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background 0.2s;
}
.navbar.scrolled .hamburger span,
.navbar.hovered .hamburger span {
  background: #222;
}

@media (max-width: 900px) {
  .nav-menu, .nav-tel { display: none; }
  .hamburger { display: flex; }

  .nav-menu.mobile-open {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding-bottom: 16px;
    overflow-y: auto;
  }
  .nav-menu.mobile-open .nav-item {
    display: block;
    border-bottom: 1px solid #f0f0f0;
  }
  .nav-menu.mobile-open .nav-link {
    display: block;
    color: #222 !important;
    padding: 14px 20px;
    height: auto;
    line-height: 1.5;
    text-align: left;
    font-weight: 600;
  }
  .nav-menu.mobile-open .dropdown {
    display: block;
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border-top: none;
    pointer-events: auto;
    transform: none;
  }
  .nav-menu.mobile-open .dropdown-inner a {
    padding: 10px 32px;
    text-align: left;
    background: #f8f8f8;
    color: #555;
    font-size: 14px;
  }
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .hamburger span { transition: transform 0.2s, opacity 0.2s; }
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.45) 0%,
    rgba(0,0,0,0.3) 50%,
    rgba(0,0,0,0.55) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 20px;
  letter-spacing: -1px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
  word-break: keep-all;
}

.hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  letter-spacing: -0.2px;
  word-break: keep-all;
}

@media (max-width: 600px) {
  .hero-content h1 { font-size: 32px; letter-spacing: -0.5px; }
  .hero-content p { font-size: 15px; }
}

.btn {
  display: inline-block;
  background: #1a3a8f;
  color: white;
  padding: 15px 36px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.2px;
  transition: background 0.2s, transform 0.2s;
}
.btn:hover {
  background: #122a6e;
  transform: translateY(-2px);
}

.hero-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  padding: 0;
}

.hero-dot.active {
  background: #fff;
  border-color: #fff;
  transform: scale(1.3);
}

/* ═══════════════════════════════════════
   공지사항
═══════════════════════════════════════ */
.notices {
  padding: 60px 20px;
}
.notices h2 {
  font-size: 26px;
  margin-bottom: 24px;
  border-left: 4px solid #e94560;
  padding-left: 12px;
}
.notices ul { list-style: none; }
.notices li {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  font-size: 15px;
}
.notices li a {
  color: #333;
  text-decoration: none;
}
.notices li a:hover { color: #e94560; }
.notices li span { color: #999; font-size: 13px; }

/* ═══════════════════════════════════════
   서브 레이아웃 (사이드바 + 본문)
═══════════════════════════════════════ */
.sub-layout {
  display: flex;
  gap: 40px;
  padding: 60px 20px;
  min-height: 900px;
  align-items: flex-start;
}
.sub-sidebar {
  width: 220px;
  flex-shrink: 0;
  border: 1px solid #e0e0e0;
}
.sidebar-title {
  background: #1a1a2e;
  color: white;
  font-size: 15px;
  padding: 14px 16px;
  margin: 0;
}
.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-menu li a {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
}
.sidebar-menu li a:hover,
.sidebar-menu li.active a {
  background: #f0f4ff;
  color: #1a3a8f;
  font-weight: 600;
}
/* 공사분야 페이지 */
.service-hero-box {
  background: linear-gradient(135deg, #1a1a2e 0%, #1a3a8f 100%);
  color: white;
  padding: 28px 32px;
  border-radius: 8px;
  margin-bottom: 24px;
}
.service-hero-text {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
  word-break: keep-all;
}
.service-hero-text strong { color: #7eb8ff; }
.service-hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}
.service-desc {
  margin-bottom: 32px;
}
.service-desc p {
  font-size: 15px;
  color: #444;
  line-height: 1.9;
  word-break: keep-all;
}
.service-section-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a2e;
  border-left: 4px solid #1a3a8f;
  padding-left: 12px;
  margin: 32px 0 16px;
}
.service-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 12px;
}
.service-compare-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px 16px;
  background: #fafafa;
}
.service-compare-badge {
  display: inline-block;
  background: #1a3a8f;
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.service-compare-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  line-height: 2;
  color: #444;
}
.service-compare-card ul li {
  word-break: keep-all;
  padding-left: 8px;
}
.service-process {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f0f4ff;
  border: 1px solid #c7d7ff;
  border-radius: 8px;
  padding: 14px 18px;
  min-width: 80px;
  text-align: center;
}
.process-num {
  font-size: 18px;
  font-weight: 800;
  color: #1a3a8f;
  line-height: 1;
  margin-bottom: 6px;
}
.process-step p {
  font-size: 12px;
  color: #333;
  margin: 0;
  word-break: keep-all;
}
.process-arrow {
  color: #aaa;
  font-size: 18px;
}

/* 이미지형 시공순서 그리드 */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.process-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.09);
  background: #fff;
}
.process-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
}
.process-card-info {
  padding: 12px 14px;
}
.process-card-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #1a3a8f;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
}
.process-card-info p {
  font-size: 14px;
  font-weight: 600;
  color: #222;
  margin: 0;
  word-break: keep-all;
}
@media (max-width: 600px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
.service-cta {
  background: #f5f7ff;
  border: 1px solid #c7d7ff;
  border-radius: 8px;
  padding: 28px 24px;
  text-align: center;
  margin-top: 40px;
}
.service-cta p {
  font-size: 16px;
  color: #333;
  margin-bottom: 16px;
  font-weight: 600;
}
.service-list {
  margin-top: 20px;
  padding-left: 20px;
  line-height: 2.2;
  font-size: 15px;
  color: #444;
}
@media (max-width: 768px) {
  .service-compare-grid { grid-template-columns: 1fr; }
  .service-process { flex-direction: column; align-items: flex-start; }
  .process-arrow { transform: rotate(90deg); }
  .service-hero-text { font-size: 17px; }
}
.sub-page-title {
  font-size: 22px;
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 2px solid #1a1a2e;
  margin-bottom: 28px;
}
.location-address {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}
.location-address h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.location-address p {
  font-size: 14px;
  color: #555;
  line-height: 1.9;
}
.sidebar-contact {
  border-top: 2px solid #1a1a2e;
  padding: 16px;
  font-size: 13px;
  color: #555;
  line-height: 1.8;
}
.sidebar-contact h4 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #222;
}
.sidebar-tel { color: #1a3a8f; font-weight: 600; }
.sub-content {
  flex: 1;
  min-width: 0;
}
.privacy-section {
  margin-bottom: 36px;
}
.privacy-section h2 {
  font-size: 16px;
  font-weight: 700;
  background: #eee;
  padding: 8px 12px;
  margin-bottom: 12px;
}
.privacy-section p {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 8px;
}
.privacy-section ul {
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.9;
  color: #444;
}
@media (max-width: 768px) {
  .sub-layout {
    flex-direction: column;
    gap: 0;
    padding: 0 0 60px;
    min-height: unset;
  }
  .sub-sidebar {
    width: 100%;
    border: none;
    border-bottom: 2px solid #1a1a2e;
  }
  .sidebar-title { display: none; }
  .sidebar-menu {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .sidebar-menu li {
    flex-shrink: 0;
  }
  .sidebar-menu li a {
    padding: 12px 18px;
    font-size: 14px;
    border-bottom: 3px solid transparent;
  }
  .sidebar-menu li.active a {
    background: none;
    border-bottom: 3px solid #1a3a8f;
    color: #1a3a8f;
    font-weight: 700;
  }
  .sidebar-contact { display: none; }
  .sub-content { padding: 24px 20px 0; }
}

/* ═══════════════════════════════════════
   푸터
═══════════════════════════════════════ */
.footer-top {
  background: #111122;
  text-align: center;
  padding: 10px;
  border-bottom: 1px solid #2a2a4a;
}
.footer-top a {
  color: #aaa;
  font-size: 13px;
  margin: 0 12px;
}
.footer-top a:hover { color: white; }
.footer {
  background: #1a1a2e;
  color: #888;
  font-size: 13px;
  padding: 32px 20px;
}
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.footer-logo img {
  width: 240px;
  opacity: 0.85;
}
.footer-info {
  line-height: 1.9;
}
.footer-company {
  font-size: 15px;
  font-weight: 600;
  color: #bbb;
  margin-bottom: 4px;
}
.footer-privacy { color: #888; text-decoration: none; }
.footer-privacy:hover { color: #fff; }
.footer-copy {
  margin-top: 6px;
  color: #555;
  font-size: 12px;
}
@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-info p { word-break: keep-all; font-size: 12px; }
  .footer-copy { word-break: break-all; }
}

/* ═══════════════════════════════════════
   서브 페이지 공통
═══════════════════════════════════════ */
.page-hero {
  background: #1a1a2e;
  color: white;
  padding: 100px 20px 50px; /* 상단 80px(navbar) + 여유 20px */
}
.page-hero h1 { font-size: 32px; margin-bottom: 8px; }
.page-hero p { color: #888; font-size: 14px; }

.page-content { padding: 60px 20px; }

/* ═══════════════════════════════════════
   회사 소개
═══════════════════════════════════════ */
.about-grid { max-width: 900px; }
.about-text h2 { font-size: 26px; margin-bottom: 20px; }
.about-text p { line-height: 1.9; color: #555; margin-bottom: 18px; font-size: 15.5px; }
.about-text .greeting-lead {
  font-size: 19px;
  font-weight: 600;
  color: #1a3278;
  line-height: 1.6;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 2px solid #e8eaf3;
}
.about-text strong { color: #1a3278; font-weight: 700; }
.about-text .greeting-signature {
  text-align: right;
  font-weight: 700;
  color: #1a3278;
  font-size: 17px;
  margin-top: 36px;
  letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════
   서비스
═══════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 32px 24px;
  transition: box-shadow 0.2s;
}
.service-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.service-icon { font-size: 36px; margin-bottom: 16px; }
.service-card h3 { font-size: 18px; margin-bottom: 10px; }
.service-card p { color: #666; line-height: 1.7; }

/* ═══════════════════════════════════════
   문의
═══════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 40px 24px;
  text-decoration: none;
  color: #333;
  transition: box-shadow 0.2s;
}
.contact-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.contact-icon { font-size: 42px; margin-bottom: 16px; }
.contact-card h3 { font-size: 18px; margin-bottom: 8px; }
.contact-card p { color: #888; font-size: 14px; margin-bottom: 20px; }
.contact-btn {
  background: #e94560;
  color: white;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px;
}
.contact-btn.kakao { background: #FEE500; color: #333; }

/* ═══════════════════════════════════════
   시공실적
═══════════════════════════════════════ */
.filter-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.filter-btn {
  padding: 8px 20px;
  border: 1px solid #ddd;
  border-radius: 20px;
  background: white;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: #e94560; color: #e94560; }
.filter-btn.active {
  background: #e94560;
  color: white;
  border-color: #e94560;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.project-card {
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.project-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

/* 시공실적 상세 페이지 */
.detail-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.detail-back {
  font-size: 14px;
  color: #555;
  text-decoration: none;
}
.detail-back:hover { color: #1a3a8f; }
.detail-category-badge {
  background: #1a3a8f;
  color: white;
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 20px;
}
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.detail-main-img-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  user-select: none;
}
.detail-main-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-color: #e0e0e0;
}
.detail-thumb-list {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.detail-thumb-wrap {
  position: relative;
  flex-shrink: 0;
  user-select: none;
}
.detail-thumb {
  width: 72px;
  height: 54px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.65;
  transition: opacity 0.2s, border-color 0.2s;
}
.detail-thumb.active,
.detail-thumb:hover {
  opacity: 1;
  border-color: #1a3a8f;
}
/* 시공실적 상세 – 상단 목록 버튼 */
.detail-top-bar {
  margin-bottom: 24px;
}

.detail-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #1a1a2e;
  word-break: keep-all;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.detail-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 14px;
}
.detail-table tr {
  border-bottom: 1px solid #eee;
}
.detail-table th {
  width: 100px;
  padding: 11px 12px;
  background: #f5f7ff;
  color: #555;
  font-weight: 600;
  text-align: left;
}
.detail-table td {
  padding: 11px 12px;
  color: #222;
}
.detail-desc h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a2e;
}
.detail-desc p {
  font-size: 14px;
  line-height: 1.9;
  color: #444;
  word-break: keep-all;
}
.detail-bottom-nav {
  border-top: 1px solid #eee;
  padding-top: 20px;
  margin-top: 20px;
}
.detail-list-btn {
  font-size: 14px;
  color: #555;
  text-decoration: none;
  border: 1px solid #ddd;
  padding: 8px 16px;
  border-radius: 4px;
}
.detail-list-btn:hover { background: #f5f5f5; }
@media (max-width: 768px) {
  .detail-layout { grid-template-columns: 1fr; gap: 24px; }
  .detail-thumb { width: 56px; height: 42px; }
}

.project-img {
  height: 200px;
  background: #f0f0f0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  user-select: none;
}
.project-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}
.project-img-placeholder { font-size: 48px; opacity: 0.4; }

/* 워터마크 */
.watermark-img {
  position: absolute;
  bottom: 8px;
  right: 10px;
  width: 80px;
  height: auto;
  filter: invert(1);
  mix-blend-mode: multiply;
  opacity: 0.25;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.watermark-thumb {
  width: 32px;
  bottom: 3px;
  right: 4px;
}

.project-info { padding: 20px; }
.project-category {
  display: inline-block;
  background: #fff0f2;
  color: #e94560;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
}
.project-info h3 {
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 1.4;
}
.project-info p {
  font-size: 13px;
  color: #777;
  line-height: 1.6;
  margin-bottom: 14px;
}
.project-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #999;
}

/* ═══════════════════════════════════════
   반응형
═══════════════════════════════════════ */
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════
   시공상담 페이지
═══════════════════════════════════════ */
.consultation-wrap {
  padding: 70px 0 80px;
}

.consult-intro {
  text-align: center;
  margin-bottom: 60px;
}
.consult-main-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 16px;
  padding-bottom: 16px;
  position: relative;
}
.consult-main-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: #e94560;
  margin: 14px auto 0;
  border-radius: 2px;
}
.consult-main-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.9;
  word-break: keep-all;
}

/* 단계 카드 그리드 */
.consult-grid {
  margin-bottom: 56px;
}

.consult-grid-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
  margin-bottom: 0;
}

/* 카드 */
.consult-card {
  background: #fff;
  border: 1px solid #e4e8f0;
  border-radius: 12px;
  padding: 28px 22px 24px;
  box-shadow: 0 2px 14px rgba(26,58,143,0.05);
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.consult-card:hover {
  box-shadow: 0 6px 28px rgba(26,58,143,0.12);
  transform: translateY(-3px);
}
.consult-card--last {
  border-color: #1a3a8f;
  background: linear-gradient(160deg, #f0f4ff 0%, #fff 100%);
}

.card-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1a3a8f 0%, #1a1a2e 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
  flex-shrink: 0;
}
.card-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
  line-height: 1.4;
  word-break: keep-all;
}
.card-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.75;
  margin-bottom: 14px;
  word-break: keep-all;
  flex: 1;
}
.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.card-list li {
  font-size: 12px;
  color: #1a3a8f;
  padding-left: 13px;
  position: relative;
  line-height: 1.9;
}
.card-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: #e94560;
  font-weight: 700;
}

/* 카드 사이 가로 화살표 */
.card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  font-size: 28px;
  color: #c7d7ff;
  font-weight: 300;
  line-height: 1;
  align-self: center;
  margin-bottom: 38px; /* card-list 높이 보정으로 시각적 중앙 맞춤 */
}

/* 두 행 사이 연결 */
.row-bridge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-right: calc(25% - 20px);
  margin: 6px 0;
}
.row-bridge-line {
  display: block;
  width: 2px;
  height: 18px;
  background: #c7d7ff;
  border-radius: 2px;
}
.row-bridge-arrow {
  width: 20px;
  height: 20px;
  color: #c7d7ff;
  stroke-width: 2.5;
}

/* 유의사항 박스 */
.consult-notice {
  max-width: 820px;
  margin: 0 auto 48px;
  background: #f5f7ff;
  border: 1px solid #c7d7ff;
  border-left: 4px solid #1a3a8f;
  border-radius: 6px;
  padding: 20px 24px;
}
.consult-notice h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 10px;
}
.consult-notice ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.consult-notice ul li {
  font-size: 13px;
  color: #555;
  line-height: 1.9;
  padding-left: 14px;
  position: relative;
}
.consult-notice ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: #1a3a8f;
}

/* CTA 블록 */
.consult-cta {
  text-align: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #1a3a8f 100%);
  border-radius: 12px;
  padding: 48px 24px;
  max-width: 820px;
  margin: 0 auto;
  color: #fff;
}
.consult-cta p {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.consult-cta-sub {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 28px;
}
.consult-cta-btn {
  background: #e94560;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 48px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.2s;
}
.consult-cta-btn:hover {
  background: #c73350;
  transform: translateY(-2px);
}

/* 태블릿: 2×4 → 2열 2행 (2카드씩) */
@media (max-width: 900px) {
  .consult-grid-row {
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    row-gap: 16px;
  }
  /* 3번째·4번째 카드를 2행으로 내림 */
  .consult-grid-row > .consult-card:nth-child(5) { grid-column: 1; grid-row: 2; }
  .consult-grid-row > .card-arrow:nth-child(6)   { grid-column: 2; grid-row: 2; }
  .consult-grid-row > .consult-card:nth-child(7) { grid-column: 3; grid-row: 2; }
  /* 4번째 화살표 숨김 */
  .consult-grid-row > .card-arrow:nth-child(4)   { display: none; }
  .row-bridge { padding-right: calc(50% - 20px); }
}

/* 모바일: 1열 */
@media (max-width: 580px) {
  .consult-grid-row {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }
  .card-arrow { display: none; }
  .consult-grid-row > .consult-card:nth-child(5),
  .consult-grid-row > .card-arrow:nth-child(6),
  .consult-grid-row > .consult-card:nth-child(7) {
    grid-column: auto;
    grid-row: auto;
  }
  .row-bridge { align-items: center; padding-right: 0; }
  .consult-main-title { font-size: 22px; }
  .consult-main-desc { font-size: 14px; }
}

/* ═══════════════════════════════════════
   견적문의 폼 페이지
═══════════════════════════════════════ */
.inquiry-wrap {
  padding: 70px 0 80px;
}

.inquiry-header {
  text-align: center;
  margin-bottom: 48px;
}
.inquiry-title {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
  padding-bottom: 14px;
  position: relative;
}
.inquiry-title::after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  background: #e94560;
  margin: 12px auto 0;
  border-radius: 2px;
}
.inquiry-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}
.inquiry-desc strong { color: #e94560; }

/* 에러 메시지 */
.inquiry-error {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff5f7;
  border: 1px solid #f5a8b8;
  border-left: 4px solid #e94560;
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 14px;
  color: #c0324e;
  margin-bottom: 28px;
}
.inquiry-error svg { flex-shrink: 0; color: #e94560; }

/* 폼 테이블 */
.inquiry-form {
  max-width: 860px;
  margin: 0 auto;
}

.inquiry-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid #1a1a2e;
  margin-bottom: 0;
}
.inquiry-table th {
  width: 140px;
  background: #f5f7ff;
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-align: left;
  border-bottom: 1px solid #e0e4f0;
  vertical-align: middle;
}
.inquiry-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #e0e4f0;
  vertical-align: middle;
}
.req { color: #e94560; margin-left: 2px; }

.inquiry-table input[type="text"],
.inquiry-table input[type="tel"],
.inquiry-table input[type="number"] {
  width: 100%;
  max-width: 400px;
  height: 44px;
  border: 1px solid #d0d5e0;
  border-radius: 5px;
  padding: 0 14px;
  font-size: 14px;
  color: #333;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.inquiry-table input:focus {
  outline: none;
  border-color: #1a3a8f;
  box-shadow: 0 0 0 3px rgba(26,58,143,0.08);
}

.inquiry-select {
  width: 100%;
  max-width: 360px;
  height: 44px;
  border: 1px solid #d0d5e0;
  border-radius: 5px;
  padding: 0 14px;
  font-size: 14px;
  color: #333;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.inquiry-select:focus {
  outline: none;
  border-color: #1a3a8f;
  box-shadow: 0 0 0 3px rgba(26,58,143,0.08);
}

/* 시공분야 체크박스 */
.inquiry-checkgroup {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.inquiry-check {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-size: 14px;
  color: #444;
  user-select: none;
}
.inquiry-check input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: #1a3a8f;
  cursor: pointer;
  flex-shrink: 0;
}

/* 텍스트에어리어 */
.inquiry-table textarea {
  width: 100%;
  border: 1px solid #d0d5e0;
  border-radius: 5px;
  padding: 12px 14px;
  font-size: 14px;
  color: #333;
  resize: vertical;
  min-height: 140px;
  font-family: inherit;
  line-height: 1.7;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.inquiry-table textarea:focus {
  outline: none;
  border-color: #1a3a8f;
  box-shadow: 0 0 0 3px rgba(26,58,143,0.08);
}
.textarea-count {
  text-align: right;
  font-size: 12px;
  color: #aaa;
  margin-top: 5px;
}

/* 파일 업로드 */
.file-upload-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.file-btn {
  display: inline-block;
  padding: 9px 18px;
  background: #fff;
  border: 1px solid #b0bcd0;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.file-btn:hover { background: #f0f4ff; border-color: #1a3a8f; color: #1a3a8f; }
input[type="file"] { display: none; }
.file-name {
  font-size: 13px;
  color: #888;
  word-break: break-all;
}
.field-note {
  margin-top: 6px;
  font-size: 12px;
  color: #aaa;
}

/* 보안문자 */
.captcha-box {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
}
.captcha-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #eef1f8 0%, #e8edf8 100%);
  border: 1px solid #c7d7ff;
  border-radius: 8px;
  padding: 14px 24px;
  user-select: none;
  min-width: 220px;
  position: relative;
  overflow: hidden;
}
.captcha-display::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 10px,
    rgba(100,120,200,0.04) 10px, rgba(100,120,200,0.04) 11px
  );
  pointer-events: none;
}
.captcha-display span {
  display: inline-block;
  font-size: 24px;
  font-weight: 800;
  font-family: 'Georgia', 'Times New Roman', serif;
  letter-spacing: 2px;
  line-height: 1;
}
.captcha-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.captcha-answer-input {
  width: 180px !important;
  max-width: 180px !important;
  height: 40px;
  text-align: center;
  font-size: 16px !important;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
}
.captcha-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid #c0cce0;
  border-radius: 5px;
  padding: 8px 12px;
  font-size: 12px;
  color: #666;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s;
  font-family: inherit;
  height: 40px;
}
.captcha-refresh-btn:hover { border-color: #1a3a8f; color: #1a3a8f; }

/* 개인정보 동의 박스 */
.privacy-agree-box {
  border-top: 2px solid #1a1a2e;
  border-bottom: 1px solid #e0e4f0;
  padding: 20px 20px 18px;
  margin-bottom: 32px;
  background: #fafbff;
}
.privacy-agree-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.privacy-check-label {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  user-select: none;
}
.privacy-check-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #1a3a8f;
  cursor: pointer;
  flex-shrink: 0;
}
.privacy-check-text {
  font-size: 15px;
  font-weight: 600;
  color: #222;
}
.privacy-check-text em {
  font-style: normal;
  color: #e94560;
  font-size: 13px;
}
.privacy-view-btn {
  background: none;
  border: 1px solid #b0bcd0;
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 12px;
  color: #555;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s;
  font-family: inherit;
}
.privacy-view-btn:hover { border-color: #1a3a8f; color: #1a3a8f; }
.privacy-summary {
  font-size: 12px;
  color: #888;
  line-height: 1.7;
}

/* 제출 버튼 */
.inquiry-submit-wrap {
  text-align: center;
  margin-top: 8px;
  margin-bottom: 16px;
}
.inquiry-submit-btn {
  display: inline-block;
  min-width: 220px;
  padding: 16px 52px;
  background: #1a3a8f;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  letter-spacing: -0.3px;
  transition: background 0.2s, transform 0.2s, opacity 0.2s;
  font-family: inherit;
}
.inquiry-submit-btn:not(:disabled):hover {
  background: #122a6e;
  transform: translateY(-2px);
}
.inquiry-submit-btn:disabled {
  background: #c0c8d8;
  cursor: not-allowed;
  opacity: 0.7;
}

/* ── 개인정보 모달 ────────────────── */
.privacy-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s, visibility 0.22s;
}
.privacy-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.privacy-modal {
  background: #fff;
  border-radius: 10px;
  width: 100%;
  max-width: 640px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  transform: translateY(16px);
  transition: transform 0.22s;
}
.privacy-modal-overlay.active .privacy-modal {
  transform: translateY(0);
}
.privacy-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 18px;
  border-bottom: 1px solid #e5e5e5;
  flex-shrink: 0;
}
.privacy-modal-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
}
.privacy-modal-close {
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: #999;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.15s;
}
.privacy-modal-close:hover { color: #333; }
.privacy-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  font-size: 13px;
  color: #444;
  line-height: 1.85;
  -webkit-overflow-scrolling: touch;
}
.privacy-modal-body p { margin-bottom: 12px; word-break: keep-all; }
.privacy-modal-body h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 20px 0 8px;
  padding-left: 10px;
  border-left: 3px solid #1a3a8f;
}
.privacy-modal-body ul {
  padding-left: 18px;
  margin-bottom: 12px;
}
.privacy-modal-body ul li { margin-bottom: 4px; }
.privacy-effect {
  font-size: 13px;
  font-weight: 600;
  color: #1a3a8f;
  background: #f0f4ff;
  padding: 8px 14px;
  border-radius: 4px;
  display: inline-block;
}
.privacy-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #e5e5e5;
  text-align: center;
  flex-shrink: 0;
}
.privacy-modal-confirm {
  padding: 10px 48px;
  background: #1a3a8f;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.privacy-modal-confirm:hover { background: #122a6e; }

@media (max-width: 768px) {
  .inquiry-table,
  .inquiry-table tbody,
  .inquiry-table tr,
  .inquiry-table th,
  .inquiry-table td {
    display: block;
    width: 100%;
  }
  .inquiry-table th {
    border-bottom: none;
    padding: 14px 16px 4px;
    background: #f5f7ff;
  }
  .inquiry-table td {
    padding: 8px 16px 14px;
  }
  .inquiry-table input[type="text"],
  .inquiry-table input[type="tel"],
  .inquiry-table input[type="number"],
  .inquiry-select {
    max-width: 100%;
  }
  .captcha-wrap { flex-direction: column; align-items: flex-start; }
  .privacy-check-text { font-size: 14px; }
  .inquiry-submit-btn { width: 100%; padding: 15px 24px; }
}

/* ═══════════════════════════════════════
   견적문의 완료 페이지
═══════════════════════════════════════ */
.complete-wrap {
  padding: 80px 20px 100px;
}
.complete-card {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid #e4e8f0;
  border-radius: 16px;
  padding: 56px 48px 48px;
  box-shadow: 0 8px 48px rgba(26,58,143,0.08);
}
.complete-icon-wrap {
  margin-bottom: 28px;
}
.complete-check-svg {
  width: 80px;
  height: 80px;
  animation: completePop 0.5s cubic-bezier(0.175,0.885,0.32,1.275) both;
}
@keyframes completePop {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.complete-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 16px;
  line-height: 1.45;
  word-break: keep-all;
}
.complete-msg {
  font-size: 15px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 36px;
  word-break: keep-all;
}
.complete-info {
  background: #f5f7ff;
  border-radius: 10px;
  padding: 20px 24px;
  margin-bottom: 36px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.complete-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #444;
}
.complete-info-item svg { flex-shrink: 0; }
.complete-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.complete-btn-outline {
  padding: 12px 32px;
  border: 2px solid #1a3a8f;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  color: #1a3a8f;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.complete-btn-outline:hover { background: #f0f4ff; }
.complete-btn-solid {
  padding: 12px 32px;
  background: #1a3a8f;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.complete-btn-solid:hover { background: #122a6e; transform: translateY(-1px); }

@media (max-width: 600px) {
  .complete-card { padding: 40px 24px 36px; }
  .complete-title { font-size: 20px; }
  .complete-actions { flex-direction: column; }
  .complete-btn-outline, .complete-btn-solid { text-align: center; }
}

/* ═══════════════════════════════════════
   홈 공통 섹션 헤더
═══════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 12px;
}
.section-desc {
  font-size: 15px;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   어떤 문제가 발생하셨나요?
═══════════════════════════════════════ */
.problem-section {
  padding: 80px 0;
  background: #f5f7ff;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px 28px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1.5px solid #e8ecf8;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 58, 143, 0.12);
  border-color: #1a3a8f;
}
.problem-icon {
  width: 52px;
  height: 52px;
  background: #eef1fb;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.problem-icon svg {
  width: 28px;
  height: 28px;
  color: #1a3a8f;
}
.problem-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.5;
  margin: 0;
}
.problem-card p {
  font-size: 13.5px;
  color: #666;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}
.problem-link {
  font-size: 13px;
  font-weight: 600;
  color: #1a3a8f;
  margin-top: 4px;
}
@media (max-width: 960px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .problem-grid { grid-template-columns: 1fr; }
  .problem-section { padding: 56px 0; }
  .section-title { font-size: 22px; }
}

/* ═══════════════════════════════════════
   현장에서 배우는 도장 이야기
═══════════════════════════════════════ */
.story-section {
  padding: 80px 0;
  background: #fff;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.story-card {
  border: 1.5px solid #e8ecf8;
  border-radius: 12px;
  padding: 28px 26px 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.22s, transform 0.22s;
}
.story-card:hover {
  box-shadow: 0 8px 28px rgba(26, 58, 143, 0.09);
  transform: translateY(-3px);
}
.story-tag {
  display: inline-block;
  background: #eef1fb;
  color: #1a3a8f;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  width: fit-content;
}
.story-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.55;
  margin: 0;
}
.story-body {
  font-size: 13.5px;
  color: #555;
  line-height: 1.75;
  margin: 0;
  flex: 1;
}
.story-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-top: 1px solid #f0f0f0;
  padding-top: 14px;
  margin-top: 4px;
}
.story-date {
  font-size: 12px;
  color: #aaa;
}
.story-more {
  font-size: 12px;
  font-weight: 600;
  color: #1a3a8f;
}

/* 문제·스토리 상세 페이지 */
.pd-top-bar { margin-bottom: 28px; }
.pd-wrap {
  max-width: 800px;
  margin: 0 auto;
}
.pd-hero-img {
  width: 100%;
  aspect-ratio: 16/7;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  margin-bottom: 36px;
}
.pd-body { padding: 0 0 32px; }
.pd-title {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.4;
  margin: 16px 0 12px;
}
.pd-summary {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin: 0 0 24px;
  padding: 16px 20px;
  background: #f5f7ff;
  border-left: 4px solid #1a3a8f;
  border-radius: 0 8px 8px 0;
}
.pd-divider {
  height: 1px;
  background: #e8ecf8;
  margin: 24px 0 28px;
}
.pd-content p {
  font-size: 15px;
  color: #333;
  line-height: 1.9;
  margin: 0 0 20px;
}
.pd-content p:last-child { margin-bottom: 0; }
.pd-cta {
  margin-top: 48px;
  padding: 36px 32px;
  background: #f5f7ff;
  border-radius: 12px;
  text-align: center;
}
.pd-cta p {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 16px;
}
.story-detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.story-detail-date {
  font-size: 13px;
  color: #aaa;
}
@media (max-width: 960px) {
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid .story-card:last-child { display: none; }
}
@media (max-width: 600px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-grid .story-card:last-child { display: flex; }
  .story-section { padding: 56px 0; }
}

/* ═══════════════════════════════════════
   플로팅 버튼
═══════════════════════════════════════ */
.floating-btns {
  position: fixed;
  right: 24px;
  bottom: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
}
.floating-btns.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transition: transform 0.2s, box-shadow 0.2s;
}
.float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
}
.float-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.float-btn span {
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.3px;
}
.float-kakao {
  background: #FEE500;
  color: #3A1D1D;
}
.float-call {
  background: #1a3a8f;
  color: #fff;
}
.float-top {
  background: #fff;
  color: #555;
  border: 1.5px solid #e0e0e0;
  width: 44px;
  height: 44px;
}
.float-top svg { width: 18px; height: 18px; }
@media (max-width: 600px) {
  .floating-btns { right: 16px; bottom: 20px; }
  .float-btn { width: 50px; height: 50px; }
  .float-btn svg { width: 20px; height: 20px; }
}
