/* ============================================================
   스마트랙 메인 스타일시트
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── 웨이브 구분선 ─────────────────────────────────────────── */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin: 0;
  padding: 0;
  z-index: 0;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 100px;
  vertical-align: bottom;
}
/* wave-to-dark SVG는 더 크게 */
.wave-divider.wave-to-dark svg {
  height: 110px;
}
/* 모든 wave-divider 위 배경 = #f0f4f9 (연회색 공통) */
.wave-divider { background: #f0f4f9; }
/* why 섹션 내부 상단 파도 */
.wave-to-dark-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
  pointer-events: none;
}
.wave-to-dark-inner svg {
  display: block;
  width: 100%;
  height: 100px;
}

/* ── 이미지 보호: 드래그·우클릭·저장 방지 ─────────────────── */
img, video, .service-icon, .hero-bg-video {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  pointer-events: none;
}
/* 클릭이 필요한 요소는 pointer-events 복원 */
a img, button img, .prod-detail-btn img, .service-icon img,
.gallery-item img, .card-slide img { pointer-events: none; }

html { font-size: 16px; }

body {
  font-family: 'Noto Sans KR', sans-serif;
  color: #111111;
  background: #f0f4f9;
  line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-primary {
  background: #163585;
  color: #fff;
  box-shadow: 0 6px 20px rgba(22,53,133,0.4);
}
.btn-primary:hover {
  background: #122d75;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(22,53,133,0.5);
}

/* 시공사례 전체보기 버튼 래퍼 */
.gallery-btn-wrap {
  text-align: center;
  margin-top: 36px;
}

/* 시공사례 전체보기 버튼 */
.gallery-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 40px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, #163585 0%, #1e4db7 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(22,53,133,0.45), inset 0 1px 0 rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.gallery-all-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  opacity: 0;
  transition: opacity 0.2s;
  background: rgba(255,255,255,0.08);
}
.gallery-all-btn:hover::after { opacity: 1; }
.gallery-all-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(22,53,133,0.55);
}
.gallery-all-btn:active { transform: translateY(0); }
.btn-full { width: 100%; text-align: center; }

/* 버튼 링 래퍼 */
.btn-ring-wrap {
  display: inline-block;
  position: relative;
  border-radius: 50px;
  padding: 2px;
}
.btn-ring-wrap > a {
  position: relative;
  z-index: 1;
  display: inline-flex;
}

/* 공통 회전 애니메이션 */
@keyframes btn-ring-spin {
  from { --ring-angle: 0deg; }
  to   { --ring-angle: 360deg; }
}
@property --ring-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* 파랑 링 — conic-gradient가 테두리 자체를 따라 회전 */
.btn-ring-blue {
  background: conic-gradient(
    from var(--ring-angle),
    #163585 0deg,
    #4a6fd4 60deg,
    rgba(22,53,133,0.08) 140deg,
    rgba(22,53,133,0.08) 280deg,
    #163585 360deg
  );
  animation: btn-ring-spin 2s linear infinite;
}
.btn-ring-blue::before,
.btn-ring-blue::after { display: none; }

/* 검정 링 — conic-gradient가 테두리 자체를 따라 회전 */
.btn-ring-black {
  background: conic-gradient(
    from var(--ring-angle),
    #1a1a1a 0deg,
    #666666 60deg,
    rgba(26,26,26,0.08) 140deg,
    rgba(26,26,26,0.08) 280deg,
    #1a1a1a 360deg
  );
  animation: btn-ring-spin 2s linear infinite;
}
.btn-ring-black::before,
.btn-ring-black::after { display: none; }

/* ── Section Common ───────────────────────────────────────── */
.section { padding: 100px 0; position: relative; z-index: 0; }
/* 웨이브 바로 다음 섹션: 위 여백 줄여 자연스럽게 이어지게 */
.wave-divider + .section { padding-top: 60px; margin-top: -6px; }

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-label {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #E8630A;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.25;
  color: #111111;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #111111;
  max-width: 620px;
  margin: 0 auto;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

.about .section-desc {
  font-size: 1.25rem;
  line-height: 1.8;
  max-width: 100%;
  word-break: keep-all;
}

/* ============================================================
   HEADER
   ============================================================ */
#header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: transparent;
  background-size: 200% 100%;
  border-radius: 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5), inset 0 -1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}
#header::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  animation: headerShimmer 2s infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes headerShimmer {
  0%   { left: -100%; }
  100% { left: 200%; }
}




.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;   /* 58px → 44px */
  padding-right: 8px;
  position: relative;
}

/* 네비 경사 도형 그룹 */
.nav-blade-group {
  display: flex;
  height: 100%;
  align-items: stretch;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
  position: relative;
  pointer-events: none;
}

.nav-blade-group svg {
  width: 100%;
  height: 100%;
  display: block;
  vertical-align: top;
}

/* PC 버전 - 회사소개 바로 옆 */
.nav-blade-pc {
  display: none;
  width: 140px;
  height: 44px;
  margin-left: 0;
  margin-right: 0;
}

.nav-logo .logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: normal;
  background: transparent;
}

/* 로고 링크: 로고 이미지 + 관리자 버튼 세로 정렬 */
a.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  position: relative;   /* mob-admin-btn이 absolute로 로고 위에 격치기 */
}



/* nav를 flex로 — PC에서 버튼+메뉴 나란히 */
nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 관리자 버튼 투명하게 */
.nav-admin-btn {
  opacity: 0 !important;
  pointer-events: auto;
}

.nav-list {
  display: flex;
  gap: 28px;
}

.nav-list a {
  font-size: 0.88rem;
  font-weight: 500;
  color: #ffffff;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.nav-list a:hover { color: #fff; }

/* 네비 문의하기 CTA 버튼 */
.nav-cta-btn {
  background: transparent !important;
  color: #fff !important;
  padding: 0 0 4px 0 !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  transition: color 0.2s !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  line-height: 1 !important;
}
.nav-cta-btn:hover {
  background: transparent !important;
  color: #E8630A !important;
  box-shadow: none !important;
}

.nav-cta-btn::after { background: #E8630A !important; }

/* 네비 전화번호 버튼 */
.nav-phone-btn {
  background: #E8630A !important;
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: 6px !important;
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 14px rgba(232,99,10,0.4) !important;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s !important;
  display: flex !important;
  align-items: center;
  gap: 7px;
}
.nav-phone-btn:hover {
  background: #c9520a !important;
  color: #fff !important;
  box-shadow: 0 5px 20px rgba(232,99,10,0.55) !important;
  transform: translateY(-2px);
}
.nav-phone-btn::after { display: none !important; }
.nav-phone-btn i { font-size: 0.9rem; }

/* 네비 관리자 버튼 */
.nav-admin-btn {
  background: transparent !important;
  color: #ffffff !important;
  padding: 5px 12px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  transition: all 0.2s !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  line-height: 1 !important;
}
.nav-admin-btn:hover {
  background: rgba(255,255,255,0.08) !important;
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.4) !important;
}
.nav-admin-btn::after { display: none !important; }
/* 모바일 로고 위 투명 관리자 클릭 영역 */
.mob-admin-btn {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  user-select: none;
  background: transparent;
  z-index: 10;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  height: 100vh;
  min-height: 480px;
  max-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  text-align: left;
  position: relative;   /* header가 absolute로 이 안에 위치함 */
  background: #0a1628;
  overflow: hidden;
  box-sizing: border-box;
  margin-top: 0;
  border-radius: 0;
  padding: 0 0 36px 0;
}

/* ===== 히어로 배경 슬라이더 ===== */
.hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}


/* 동영상 배경 */
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}



/* 도트 인디케이터 */
.hero-slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: width 0.3s ease, border-radius 0.3s ease, background 0.3s ease;
  border: none;
  flex-shrink: 0;
}
.hero-dot.active {
  background: #111111;
  width: 32px;
  border-radius: 4px;
}

.hero-overlay {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: none;
}

/* 히어로 콘텐츠 z-index (슬라이더 위에 표시) */
.hero-content {
  position: relative;
  z-index: 5;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 7vw;
  margin-bottom: 0;
}

.hero-sub {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  font-weight: 800;
  color: #fff !important;
  line-height: 1.2;
  margin: 0 0 6px 0;
  white-space: normal;
  word-break: keep-all;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.hero-subtitle {
  font-size: clamp(1.5rem, 5.2vw, 2.8rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 4px 0;
  white-space: normal;
  word-break: keep-all;
  display: block;
  width: 100%;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

.hero-title {
  font-size: clamp(1.5rem, 5.2vw, 2.8rem);
  font-weight: 900;
  color: #E8630A;
  line-height: 1.2;
  margin: 0 0 20px 0;
  white-space: normal;
  word-break: keep-all;
  display: block;
  width: 100%;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 16px rgba(232,99,10,0.4);
}

.hero-title span {
  color: #E8630A;
  white-space: normal;
  word-break: keep-all;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: flex-start;
  gap: 8px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: clamp(4px, 0.45vw, 6px);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: clamp(0.72rem, 0.95vw, 0.88rem);
  font-weight: 600;
  padding: clamp(5px, 0.55vw, 7px) clamp(10px, 1vw, 13px);
  border-radius: 6px;
  white-space: nowrap;
}

/* 파렛트랙 배경 이미지 */
.hero-rack-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}

/* 히어로 버튼 3개 */
.hero-btn {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 0 auto 28px;
  padding: 18px 24px;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  box-sizing: border-box;
}
.hero-btn:active { transform: scale(0.97); }

.hero-btn-phone {
  background: #E8630A;
  color: #fff;
  box-shadow: 0 4px 20px rgba(232,99,10,0.4);
}
.hero-btn-kakao {
  background: #FFC000;
  color: #1a1a1a;
  border: none;
  box-shadow: 0 4px 20px rgba(255,192,0,0.4);
}
.hero-btn-gallery {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
  box-shadow: none;
}

/* 히어로 텍스트 색상 (다크 배경) */
.hero .hero-sub { color: #E8630A; }
.hero .hero-subtitle { color: #ffffff; }
.hero .hero-title { color: #E8630A; }
.hero .hero-title span { color: #E8630A; }
.hero .hero-desc { color: rgba(255,255,255,0.75); }
.hero .hero-badges span {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}




.hero-logo-wrap { margin-top: 0; margin-bottom: 28px; display: inline-block; }
.hero-logo {
  height: 90px;
  width: auto;
  margin: 0 auto;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.25)) drop-shadow(0 0 40px rgba(232,99,10,0.15));
}

.hero-manufacturer {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0A3D6B;
  background: rgba(10,61,107,0.08);
  border: 1.5px solid rgba(10,61,107,0.18);
  border-radius: 6px;
  padding: 8px 18px;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
  text-align: center;
  line-height: 1.7;
}
.hero-manufacturer i {
  margin-right: 6px;
}
.hero-manufacturer-en {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1a5a9a;
  letter-spacing: 0.05em;
}

.hero-desc {
  font-size: 1.1rem;
  color: #445566;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  margin-top: 28px;
  margin-bottom: 0;
}
.hero-badges span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  transition: background 0.2s, border-color 0.2s;
}
.hero-badges span:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.4); }
.hero-badges span i { color: #E8630A; font-size: 0.85rem; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: #f0f4f9; margin-top: 0; padding-top: 80px; }

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-card {
  background: #fff;
  border-radius: 6px;
  padding: 36px 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  gap: 28px;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  border: 1.5px solid rgba(0,0,0,0.07);
  position: relative;
  overflow: hidden;
}

/* ── Shimmer 빛줄기 ── */
.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: -110%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255,255,255,0.08) 40%,
    rgba(232,99,10,0.13) 50%,
    rgba(255,255,255,0.08) 60%,
    transparent 80%
  );
  transform: skewX(-15deg);
  pointer-events: none;
  z-index: 1;
  transition: left 0s;
}
.about-card:hover::before {
  left: 160%;
  transition: left 0.6s ease;
}

/* ── Glow Pulse — 주황/파랑 아이콘 색에 맞춰 각각 ── */
.about-card:has(.about-icon-orange) {
  animation: about-pulse-orange 3s ease-in-out infinite;
}
.about-card:has(.about-icon-blue) {
  animation: about-pulse-blue 3s ease-in-out infinite;
  animation-delay: 1.5s;
}
@keyframes about-pulse-orange {
  0%,100% { border-color: rgba(0,0,0,0.07);     box-shadow: 0 4px 24px rgba(0,0,0,0.07); }
  50%      { border-color: rgba(136,136,136,0.9);   box-shadow: 0 4px 24px rgba(0,0,0,0.07), 0 0 16px rgba(136,136,136,0.4), 0 0 32px rgba(136,136,136,0.15); }
}
@keyframes about-pulse-blue {
  0%,100% { border-color: rgba(0,0,0,0.07);     box-shadow: 0 4px 24px rgba(0,0,0,0.07); }
  50%      { border-color: rgba(136,136,136,0.9);   box-shadow: 0 4px 24px rgba(0,0,0,0.07), 0 0 16px rgba(136,136,136,0.4), 0 0 32px rgba(136,136,136,0.15); }
}

/* ── Hover 기본 ── */
/* 클릭 시 펄스 정지 */
.about-card.pulse-paused,
.flip-front.service-card.pulse-paused,
.why-card-lg.pulse-paused {
  animation-play-state: paused !important;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.08);
  background: linear-gradient(135deg, #222 0%, #2e2e2e 100%);
}
.about-card:hover h3 { color: #fff; -webkit-font-smoothing: antialiased; }
.about-card:hover h3 span { color: #E8630A; }
.about-card:hover p { color: #ffffff; -webkit-font-smoothing: antialiased; }



.about-icon {
  width: 68px; height: 68px;
  min-width: 68px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.55rem;
  color: #fff;
  position: relative;
  isolation: isolate;
}
/* 주황 링 */
.about-icon-orange::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #E8630A;
  border-right-color: #f5a96a;
  background: transparent;
  animation: sns-arc-spin 1.4s linear infinite;
  z-index: 3;
  pointer-events: none;
  box-sizing: border-box;
}
.about-icon-orange::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-bottom-color: rgba(232,99,10,0.35);
  border-left-color: rgba(245,169,106,0.2);
  background: transparent;
  animation: sns-arc-spin 1.4s linear infinite reverse;
  animation-delay: 0.7s;
  z-index: 3;
  pointer-events: none;
  box-sizing: border-box;
}
/* 파랑 링 */
.about-icon-blue::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #163585;
  border-right-color: #4a6fd4;
  background: transparent;
  animation: sns-arc-spin 1.4s linear infinite;
  z-index: 3;
  pointer-events: none;
  box-sizing: border-box;
}
.about-icon-blue::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-bottom-color: rgba(22,53,133,0.35);
  border-left-color: rgba(74,111,212,0.2);
  background: transparent;
  animation: sns-arc-spin 1.4s linear infinite reverse;
  animation-delay: 0.7s;
  z-index: 3;
  pointer-events: none;
  box-sizing: border-box;
}
/* 아이콘 색상 - 클래스 직접 지정 (PC/모바일 공통) */
.about-icon-orange {
  background: linear-gradient(135deg, #f07318, #E8630A) !important;
}
.about-icon-blue {
  background: #163585 !important;
}

.about-card-text { flex: 1; }
.about-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.about-card h3 span {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  color: #0A3D6B;
  margin-left: 0;
  margin-top: 4px;
}
.about-card p { font-size: 1rem; color: #111111; line-height: 1.8; word-break: keep-all; -webkit-font-smoothing: antialiased; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: #f0f4f9; position: relative; z-index: 1; padding-top: 0px; padding-bottom: 150px; }

.services-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
}

.service-card::before {
  border: none !important;
  outline: none !important;
}
/* ── 3D Flip 카드 래퍼 ── */
@keyframes flipBorderSpin {
  0%   { box-shadow: 0 0 0 0px rgba(34,34,34,0); }
  15%  { box-shadow: 0 0 0 2px rgba(34,34,34,0.7); }
  50%  { box-shadow: 0 0 0 3px rgba(34,34,34,1), 0 0 18px 2px rgba(34,34,34,0.3); }
  85%  { box-shadow: 0 0 0 2px rgba(34,34,34,0.7); }
  100% { box-shadow: 0 0 0 0px rgba(34,34,34,0); }
}
.service-card-flip {
  perspective: 1000px;
  cursor: pointer;
  flex: 0 0 calc(33.333% - 16px);
  max-width: calc(33.333% - 16px);
  margin-right: 24px;
  box-sizing: border-box;
  height: 600px;
  overflow: visible;
  border-radius: 6px;
}
.service-card-flip.flipping {
  animation: flipBorderSpin 1.0s cubic-bezier(0.4,0,0.2,1) forwards;
}
.service-card-flip:last-child { margin-right: 0; }
.flip-inner {
  position: relative;
  width: 100%;
  height: 600px;
  transform-style: preserve-3d;
  transition: transform 1.0s cubic-bezier(0.4,0,0.2,1);
}
.service-card-flip.flipped .flip-inner {
  transform: rotateY(180deg);
}
.flip-front,
.flip-back {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 6px;
  box-sizing: border-box;
}
/* 앞면 */
.flip-front {
  z-index: 2;
  height: 100%;
}
/* 뒷면 - 회전 중에만 보이는 빈 면 */
.flip-back {
  background: #ffffff;
  border-radius: 6px;
  transform: rotateY(180deg);
  box-sizing: border-box;
}

.service-card {
  background: #ffffff !important;
  border-radius: 6px;
  padding: 36px 28px 28px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1), border-color 0.3s;
  overflow: hidden;
  opacity: 1 !important;
  pointer-events: auto !important;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  border: 1.5px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05), 0 6px 24px rgba(0,0,0,0.07);
  height: 100%;
}

.service-card::after {
  display: none;
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 0 20px rgba(0,0,0,0.15), 0 2px 8px rgba(10,61,107,0.08);
  transform: translateY(-5px) !important;
  background: #ffffff !important;
  border-color: rgba(0,0,0,1) !important;
  animation-play-state: paused;
}

/* ── Glow Pulse ── */
.service-card-flip:nth-child(1) .flip-front.service-card { animation: service-pulse 3s ease-in-out infinite; animation-delay: 0s; }
.service-card-flip:nth-child(2) .flip-front.service-card { animation: service-pulse 3s ease-in-out infinite; animation-delay: 0.375s; }
.service-card-flip:nth-child(3) .flip-front.service-card { animation: service-pulse 3s ease-in-out infinite; animation-delay: 0.75s; }
.service-card-flip:nth-child(4) .flip-front.service-card { animation: service-pulse 3s ease-in-out infinite; animation-delay: 1.125s; }
.service-card-flip:nth-child(5) .flip-front.service-card { animation: service-pulse 3s ease-in-out infinite; animation-delay: 1.5s; }
.service-card-flip:nth-child(6) .flip-front.service-card { animation: service-pulse 3s ease-in-out infinite; animation-delay: 1.875s; }
.service-card-flip:nth-child(7) .flip-front.service-card { animation: service-pulse 3s ease-in-out infinite; animation-delay: 2.25s; }
.service-card-flip:nth-child(8) .flip-front.service-card { animation: service-pulse 3s ease-in-out infinite; animation-delay: 2.625s; }

@keyframes service-pulse {
  0%,100% { border-color: #ffffff;             box-shadow: 0 2px 8px rgba(0,0,0,0.05), 0 6px 24px rgba(0,0,0,0.07); }
  50%      { border-color: rgba(136,136,136,0.9);  box-shadow: 0 2px 8px rgba(0,0,0,0.05), 0 6px 24px rgba(0,0,0,0.07), 0 0 16px rgba(136,136,136,0.4), 0 0 32px rgba(136,136,136,0.15); }
}

.service-card:hover h3 { color: #000000 !important; -webkit-font-smoothing: antialiased; }
.service-card:hover h3 span { color: #E8630A !important; }
.service-card:hover p { color: #000000 !important; -webkit-font-smoothing: antialiased; }
.service-card:hover .card-detail-hint { color: #E8630A; -webkit-font-smoothing: antialiased; }
.service-card:hover .service-icon { color: #E8630A; }
/* 카드 내부 p 텍스트가 남은 공간 채우기 → 힌트 하단 고정 */
.flip-front.service-card p { flex: 1; }

.service-num {
  display: none;
}

/* 아이콘 래퍼 - 카드 상단 중앙 */
.service-icon {
  position: relative;
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 5rem;
  color: #E8630A;
  transition: all 0.3s;
  flex-shrink: 0;
  opacity: 0.9;
  pointer-events: none;
  z-index: 1;
}
.service-icon img { width: 220px; height: 220px; object-fit: contain; }
.service-card:hover .service-icon {
  opacity: 1;
  color: #E8630A;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #111111;
  letter-spacing: -0.3px;
  -webkit-font-smoothing: antialiased;
  padding-right: 0;
  position: relative;
  z-index: 1;
  text-align: center;
}
.service-card h3 span {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #4a6080;
  margin-top: 5px;
  letter-spacing: 0.02em;
}
/* 위 .service-card:hover 규칙과 통합 */
.service-card p {
  font-size: 1rem;
  color: #000000;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  line-height: 1.85;
  flex: 1;
  margin-top: 10px;
  word-break: keep-all;
  position: relative;
  z-index: 1;
  text-align: center;
}

/* 상세보기 힌트 */
.card-detail-hint {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 0.8rem;
  font-weight: 700;
  color: #0A3D6B;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  position: relative;
  z-index: 1;
  transition: all 0.22s;
  letter-spacing: 0.02em;
}
.service-card:hover .card-detail-hint {
  color: #E8630A;
  gap: 9px;
  border-top-color: rgba(255,255,255,0.1);
}
.card-detail-hint i {
  font-size: 0.7rem;
  transition: transform 0.22s;
}
.service-card:hover .card-detail-hint i {
  transform: translateX(4px);
}

/* 기존 prod-detail-btn (카드 전체가 역할 대체) */
.prod-detail-btn {
  cursor: pointer;
}

/* 제품 상세 모달 */
.prod-modal-backdrop {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  align-items: center; justify-content: center;
  padding: 20px;
  pointer-events: none;
}
.prod-modal-backdrop.open {
  display: flex;
  pointer-events: auto;
}
.prod-modal {
  background: #fff;
  border-radius: 6px;
  border: 2px solid #222222;
  width: 100%; max-width: 1000px;
  max-height: 95vh;
  min-height: 80vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: modalUp 0.25s ease;
}
@keyframes modalUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-6px); }
  40%      { transform: translateX(6px); }
  60%      { transform: translateX(-4px); }
  80%      { transform: translateX(4px); }
}
.contact-form-toggle-btn.shake {
  animation: shake 0.55s ease;
}
.prod-modal-head {
  padding: 80px 48px 60px;
  color: #fff; border-radius: 6px 6px 0 0;
  position: relative;
}
.prod-modal-head .close-btn {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,0.2); border: none;
  color: #fff; width: 34px; height: 34px; border-radius: 50%;
  font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.prod-modal-head .close-btn:hover { background: rgba(255,255,255,0.35); }
.prod-modal-icon { font-size: 3.6rem; margin-bottom: 18px; }
.prod-modal-num  { font-size: 0.7rem; font-weight: 700; color: rgba(255,255,255,0.55); letter-spacing: 2px; margin-bottom: 4px; }
.prod-modal-ko   { font-size: 2rem; font-weight: 900; margin-bottom: 6px; }
.prod-modal-en   { font-size: 0.8rem; color: rgba(255,255,255,0.65); }
.prod-modal-body { padding: 80px 48px 80px; display: flex; flex-direction: column; gap: 28px; }
.prod-modal-desc {
  font-size: 1.05rem; color: #444; line-height: 1.85;
  border-left: 3px solid #E8630A; padding-left: 16px;
}
.prod-section-label {
  font-size: 0.7rem; font-weight: 700; color: #E8630A;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px;
}
.prod-features { display: flex; flex-direction: column; gap: 8px; }
.prod-feat {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.88rem; color: #333;
}
.prod-feat i { color: #E8630A; font-size: 0.78rem; margin-top: 3px; flex-shrink: 0; }
.prod-spec-table { width: 100%; border-collapse: collapse; font-size: 0.84rem; }
.prod-spec-table th {
  background: #fff3ee; color: #E8630A; font-weight: 700;
  text-align: left; padding: 15px 20px;
  border: 1px solid #f0c0a0; width: 40%;
}
.prod-spec-table td { padding: 15px 20px; border: 1px solid #e8e8e8; color: #333; }
.prod-spec-table tr:nth-child(even) td { background: #fafcff; }
.prod-use-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.prod-use-tag {
  background: #fff3ee; color: #E8630A;
  font-size: 0.76rem; font-weight: 700;
  padding: 5px 12px; border-radius: 6px;
}
.prod-modal-footer { padding: 0 48px 80px; }
.prod-inquiry-btn {
  display: block; width: 100%;
  background: linear-gradient(135deg, #E8630A, #c9520a);
  color: #fff; border: none; border-radius: 6px;
  padding: 14px; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; text-align: center;
  font-family: 'Noto Sans KR', sans-serif;
  transition: opacity .2s;
}
.prod-inquiry-btn:hover { opacity: .85; }

/* ── #prodModal 뷰어 (인라인에서 이전) ─────────────────────── */
@keyframes pmSlideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
#prodModal            { display: none; position: fixed; inset: 0;
                        background: rgba(10,20,40,0.75); z-index: 9999;
                        align-items: center; justify-content: center;
                        padding: 20px; box-sizing: border-box;
                        backdrop-filter: blur(4px); }
#prodModalInner       { background: #fff; border-radius: 6px;
                        width: 100%; max-width: 860px; max-height: 92vh;
                        overflow-y: auto;
                        box-shadow: 0 32px 80px rgba(0,0,0,0.4);
                        animation: pmSlideUp 0.28s ease;
                        border: 2px solid #222222; }
#prodModalClose:hover { background: rgba(255,255,255,0.4) !important; }
#prodInquiryBtn:hover { opacity: 0.88; }
#prodModalClose       { background: rgba(10,30,60,0.08); border: none;
                        color: #0A3D6B; width: 38px; height: 38px;
                        border-radius: 6px; font-size: 1rem; cursor: pointer;
                        transition: background 0.2s; display: flex;
                        align-items: center; justify-content: center;
                        flex-shrink: 0; }
#prodInquiryBtn       { display: block; width: 100%; background: #163585;
                        color: #fff; border: none; border-radius: 6px;
                        padding: 16px; font-size: 1rem; font-weight: 700;
                        cursor: pointer; transition: opacity 0.2s;
                        letter-spacing: 0.3px; }
.pm-slideshow-wrap    { position: relative; width: 100%; background: #111; }
.pm-viewer            { width: 100%; overflow: hidden; background: #111;
                        position: relative; line-height: 0; }
.pm-img-box           { width: 100%; }
.pm-img-box img       { width: 100%; height: auto; display: block;
                        image-rendering: -webkit-optimize-contrast;
                        -webkit-backface-visibility: hidden;
                        backface-visibility: hidden;
                        transform: translateZ(0);
                        filter: contrast(1.04) saturate(1.06) brightness(1.01);
                        pointer-events: none; user-select: none;
                        -webkit-user-drag: none; }
.pm-slide-prev,
.pm-slide-next        { position: absolute; top: 50%; transform: translateY(-50%);
                        background: rgba(0,0,0,0.5); border: none; color: #fff;
                        width: 44px; height: 44px; border-radius: 6px;
                        font-size: 1.1rem; cursor: pointer; z-index: 20;
                        display: flex; align-items: center; justify-content: center;
                        transition: background 0.2s; }
.pm-slide-prev        { left: 14px; }
.pm-slide-next        { right: 14px; }
.pm-slide-prev:hover,
.pm-slide-next:hover  { background: rgba(0,0,0,0.8); }
.pm-slide-dots        { position: absolute; bottom: 14px; left: 0; right: 0;
                        display: flex; justify-content: center; gap: 7px;
                        align-items: center; z-index: 20; pointer-events: none; }
.pm-slide-dot         { pointer-events: auto; display: inline-block;
                        height: 8px; min-width: 8px; width: 8px;
                        border-radius: 2px; background: rgba(255,255,255,0.4);
                        cursor: pointer; flex-shrink: 0;
                        transition: all 0.3s ease; box-sizing: content-box; }
.pm-slide-dot.active  { min-width: 32px; width: 32px; border-radius: 4px;
                        background: #163585; }
.pm-header-bar        { padding: 22px 28px 18px; display: flex;
                        align-items: center; justify-content: space-between;
                        border-bottom: 1px solid #f0f0f0; }
.pm-header-titles     { display: flex; flex-direction: column; gap: 3px; }
.pm-header-num        { font-size: 0.65rem; font-weight: 800; color: #aaa;
                        letter-spacing: 2.5px; text-transform: uppercase; }
.pm-header-ko         { font-size: 1.6rem; font-weight: 900; color: #0A3D6B;
                        letter-spacing: -0.5px; }
.pm-header-en         { font-size: 0.85rem; color: #888; font-weight: 500; }
.pm-body              { padding: 24px 28px 20px; display: flex;
                        flex-direction: column; gap: 20px; }
#pmSpec tr th         { background: #f0f6ff; color: #0A3D6B; font-weight: 700;
                        text-align: left; padding: 9px 14px;
                        border: 1px solid #dce8f8; width: 42%; }
#pmSpec tr td         { padding: 9px 14px; border: 1px solid #eee; color: #333; }
#pmSpec tr:nth-child(even) td { background: #fafcff; }
.pm-feat-item         { display: flex; align-items: flex-start; gap: 10px;
                        padding: 10px 14px; background: #f8faff;
                        border-radius: 4px; font-size: 0.88rem; color: #333; }
.pm-feat-item i       { color: #0A3D6B; font-size: 0.85rem;
                        margin-top: 2px; flex-shrink: 0; }
.pm-tag               { background: #e8f0fb; color: #0A3D6B;
                        font-size: 0.75rem; font-weight: 700;
                        padding: 5px 14px; border-radius: 4px; }
.pm-section-title     { font-size: 0.7rem; font-weight: 800; color: #0A3D6B;
                        letter-spacing: 1.5px; text-transform: uppercase;
                        margin-bottom: 10px; display: flex;
                        align-items: center; gap: 6px; }
.pm-section-title::after { content: ''; flex: 1; height: 1px;
                        background: #dce8f8; }
#pmDesc               { font-size: 0.93rem; color: #555; line-height: 1.8;
                        border-left: 3px solid #0A3D6B;
                        padding: 12px 14px 12px 16px; margin: 0;
                        background: #f8faff;
                        border-radius: 0 4px 4px 0; }
.pm-footer            { padding: 4px 28px 28px; }
#pmFeatures           { display: flex; flex-direction: column; gap: 8px; }
#pmTags               { display: flex; flex-wrap: wrap; gap: 8px; }
#pmSpec               { width: 100%; border-collapse: collapse;
                        font-size: 0.85rem; border-radius: 4px; overflow: hidden; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { background: #f0f4f9; }
.gallery .section-title { margin-bottom: 32px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-template-rows: auto;
  gap: 16px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.gallery-item:hover img { transform: scale(1.07); }

.gallery-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, transparent 100%);
  padding: 20px 16px 16px;
  color: #fff;
  transform: translateY(100%);
  transition: transform 0.3s;
}
.gallery-item:hover .gallery-overlay { transform: translateY(0); }

.gallery-tag {
  display: inline-block;
  background: #E8630A;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 6px;
}
.gallery-overlay p { font-size: 0.9rem; font-weight: 600; }

/* ── 갤러리 카드 내부 미니 슬라이더 ─────────────────────────── */
.card-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.card-slider .card-btn {
  z-index: 10;
  pointer-events: auto !important;
}

.card-track {
  display: flex;
  height: 100%;
  transition: transform 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.card-slide {
  flex: 0 0 100%;
  height: 100%;
}

.card-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  display: block;
}

/* 이전/다음 버튼 - 숨김 처리 */
.card-btn {
  display: none !important;  /* 화살표 버튼 완전히 숨김 */
}

/* 사진 카운터 (예: 2/5) */
.card-counter {
  position: absolute;
  bottom: 8px;
  right: 10px;
  z-index: 5;
  background: rgba(0,0,0,0.52);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

/* ── 갤러리 슬라이더 ──────────────────────────────────────── */
.gallery-slider-wrap {
  position: relative;
  overflow: hidden;
  padding: 0 0 48px;
}

.gs-slider {
  position: relative;
  overflow: hidden;
}

.gs-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.gs-slide {
  flex: 0 0 calc((100% - 32px) / 3); /* 데스크탑: 3장 */
  min-width: 0;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s, transform 0.3s;
}
.gs-slide:hover {
  box-shadow: 0 8px 28px rgba(10,61,107,0.2);
  transform: translateY(-3px);
}
.gs-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  display: block;
}
.gs-slide:hover img { transform: scale(1.06); }

.gs-slide-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.78) 0%, transparent 100%);
  padding: 28px 14px 14px;
  color: #fff;
  transform: translateY(100%);
  transition: transform 0.32s;
}
.gs-slide:hover .gs-slide-overlay { transform: translateY(0); }

.gs-tag {
  display: inline-block;
  background: #0A3D6B;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 5px;
}
.gs-title { font-size: 0.88rem; font-weight: 600; margin: 0; }

/* 이전/다음 버튼 */
.gs-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  z-index: 10;
  background: #fff;
  border: none;
  border-radius: 6px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: #0A3D6B;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s, transform 0.2s;
}
.gs-btn:hover { background: #0A3D6B; color: #fff; }
.gs-btn-prev { left: 4px; }
.gs-btn-next { right: 4px; }

/* 인디케이터 점 */
.gs-dots {
  position: absolute;
  bottom: 10px;
  left: 50%; transform: translateX(-50%);
  display: flex; gap: 7px;
}
.gs-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  padding: 0;
}
.gs-dot.active { background: #E8630A; transform: scale(1.3); }

/* 반응형 */
@media (max-width: 1023px) {
  .gs-slide { flex: 0 0 calc((100% - 16px) / 2); } /* 태블릿: 2장 */
}
@media (max-width: 639px) {
  .gs-slide { flex: 0 0 100%; } /* 모바일: 1장 */
  .gs-btn { width: 36px; height: 36px; font-size: 0.85rem; }
}

/* ============================================================
   WHY
   ============================================================ */
/* why 섹션: 직사각형 카드 스타일 */
.why { background: #f0f4f9; color: #fff; position: relative; padding: 40px 0; overflow: visible; margin-top: 0; z-index: 2; }
.why .container { position: relative; z-index: 2; max-width: 100%; padding: 0; }

/* WHY 전체 감싸는 직사각형 카드 */
.why-wrap {
  background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
  border-radius: 0;
  padding: 56px 40px 0;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
/* 빛 쓸림 shimmer 애니메이션 */
.why-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  animation: whyShimmer 2s infinite;
  pointer-events: none;
  z-index: 0;
}
/* 대각선 빛 오버레이 */
.why-wrap::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.015) 50%, transparent 60%);
  animation: whyDiag 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes whyShimmer {
  0%   { left: -100%; }
  100% { left: 200%; }
}
@keyframes whyDiag {
  0%, 100% { opacity: 0; transform: translateX(-20%); }
  50%       { opacity: 1; transform: translateX(20%); }
}
/* why-wrap 내부 콘텐츠는 z-index 위로 */
.why-wrap > * {
  position: relative;
  z-index: 1;
}
.why .section-label { color: #E8630A; }
.why .section-title { color: #fff; }
.why .section-desc { color: rgba(255,255,255,0.9); }

/* .why-grid 제거됨 (why-grid-2x2 로 대체) */

/* ── 2×2 그리드 ── */
.why-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.why-card,
.why-card-lg {
  background: linear-gradient(135deg, #222222 0%, #2e2e2e 100%);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 52px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}


}

/* ── Shimmer ── */
.why-card::before,
.why-card-lg::before {
  content: '';
  position: absolute;
  top: 0; left: -110%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255,255,255,0.03) 40%,
    rgba(58,56,53,0.18) 50%,
    rgba(255,255,255,0.03) 60%,
    transparent 80%
  );
  transform: skewX(-15deg);
  pointer-events: none;
  z-index: 1;
  transition: left 0s;
}
.why-card:hover::before,
.why-card-lg:hover::before {
  left: 160%;
  transition: left 0.6s ease;
}





/* ── Hover ── */
.why-card:hover,
.why-card-lg:hover {
  background: linear-gradient(135deg, #2a2a2a 0%, #333333 100%);
  transform: translateY(-4px);
}

.arrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 300;
  vertical-align: 0.15em;
  margin: 0 3px;
}

.why-badge {
  display: inline-block;
  font-size: 1rem;
  font-weight: 900;
  color: #E8630A;
  background: rgba(232,99,10,0.12);
  border: 1px solid rgba(232,99,10,0.3);
  padding: 7px 22px;
  border-radius: 6px;
  margin-bottom: 22px;
  letter-spacing: 0.08em;
}

.why-card h3,
.why-card-lg h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.3;
}.why-card p,
.why-card-lg p {
  font-size: 1.05rem;
  color: #ffffff;
  line-height: 1.8;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}

/* 모바일 슬라이드 페이지 (2개씩 묶음) */
.why-slide-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 0 0 calc(100vw - 32px);
  max-width: calc(100vw - 32px);
  margin-right: 16px;
  box-sizing: border-box;
  padding: 0 16px;
}
.why-slide-page:last-child { margin-right: 0; }

.why-cta {
  text-align: center;
  padding-top: 16px;
}
.why-cta p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.95);
  margin-bottom: 24px;
}
.why-cta strong { color: #E8630A; }

/* why-cta 배너 */
.why-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(120deg, #E8630A 0%, #ff7c2a 50%, #E8630A 100%);
  background-size: 200% 100%;
  border-radius: 0;
  padding: 28px 48px;
  margin-top: 8px;
  margin-bottom: 0;
  margin-left: -40px;
  margin-right: -40px;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  z-index: 2;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(232,99,10,0.35), inset 0 1px 0 rgba(255,255,255,0.12);
  transition: background-position 0.4s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.why-cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transition: left 0.5s ease;
}
.why-cta-banner:hover::before {
  left: 150%;
}
.why-cta-banner:hover {
  background-position: 100% 0;
  box-shadow: 0 12px 40px rgba(232,99,10,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
}
.why-cta-text h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}
.why-cta-text p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}
.why-cta-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.why-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.why-cta-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  opacity: 0;
  transition: opacity 0.2s;
  background: rgba(255,255,255,0.08);
}
.why-cta-btn:hover::after { opacity: 1; }
.why-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}
.why-cta-btn:active { transform: translateY(0); }
.why-cta-btn-dark {
  background: linear-gradient(135deg, #1a1a1a 0%, #2e2e2e 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
}
.why-cta-btn-yellow {
  background: linear-gradient(135deg, #E8630A 0%, #ff8c38 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232,99,10,0.45), inset 0 1px 0 rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.15);
}


/* ============================================================
   PROCESS
   ============================================================ */
.process { background: #f0f4f9; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: #f0f4f9; }



.contact-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
  width: 100%;
}

.contact-info { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border-radius: 4px;
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  border: none;
  box-sizing: border-box;
  width: 100%;
  --cc: rgba(0,0,0,0.15);
}
.contact-item::before,
.contact-item::after { display: none; }

/* ── 각 카드 고유 색상 + 밑줄 슬라이드 애니메이션 ── */
.contact-item.ci-phone       { --cc: rgba(232,99,10,1);    }
.contact-item.ci-sns-toggle  { --cc: rgba(34,158,217,1);   }
.contact-item.ci-kakao       { --cc: rgba(255,232,18,1);   }
.contact-item.ci-naver       { --cc: rgba(3,199,90,1);     }
.contact-item.ci-youtube     { --cc: rgba(255,0,0,1);      }
.contact-item.ci-insta       { --cc: rgba(225,48,108,1);   }
.contact-item.ci-email       { --cc: rgba(22,53,133,1);    }
.contact-item.ci-address     { --cc: rgba(3,199,90,1);     }
.contact-item.ci-biz         { --cc: rgba(80,80,80,1);     }


.contact-item > div { flex: 1; }

/* 클릭 가능한 카드 */
a.contact-item-link {
  text-decoration: none;
  cursor: pointer;
}
a.contact-item-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.08);
  background: linear-gradient(135deg, #222222 0%, #2e2e2e 100%);
}
a.contact-item-link:hover strong,
a.contact-item-link:hover p { color: #ffffff; }
a.contact-item-link:active { transform: translateY(0px); }
a.contact-item-link strong { color: #1a1a2e; }
a.contact-item-link p { color: #111111; }


/* SNS 토글 카드 hover — 하늘색 반전, 이모티콘 제외 */
.ci-sns-toggle:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(34,158,217,0.35);
  background: linear-gradient(135deg, #5bc8ef 0%, #229ED9 100%);
  animation-play-state: paused;
}
.ci-sns-toggle:hover strong { color: #ffffff; }
.ci-sns-toggle:hover p      { color: rgba(255,255,255,0.85); }
.ci-sns-toggle:hover i.fas  { color: #ffffff; }

.ci-sns-toggle:active       { transform: translateY(0px); }

.contact-item i {
  font-size: 1.4rem;
  color: #E8630A;
  margin-top: 0;
  flex-shrink: 0;
  transition: color 0.2s;
}

.contact-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
  transition: color 0.2s;
}
.contact-item p { font-size: 1rem; color: #111111; transition: color 0.2s; -webkit-font-smoothing: antialiased; }

/* 전화상담 카드 — 좌(2/3 전화) + 우(1/3 SNS) 영역 분리 */
.ci-phone.contact-item {
  display: flex;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}
/* hover: 카드 전체에 고유색(주황) 반전 — 이모티콘 영역 제외 */
.ci-phone.contact-item:hover:not(:has(.phone-sns-area:hover)) {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(232,99,10,0.45), inset 0 1px 0 rgba(255,255,255,0.15);
  background: linear-gradient(135deg, #E8630A 0%, #c9530a 100%);
}
.ci-phone.contact-item:hover:not(:has(.phone-sns-area:hover)) strong,
.ci-phone.contact-item:hover:not(:has(.phone-sns-area:hover)) p { color: #ffffff; }
.ci-phone.contact-item:hover:not(:has(.phone-sns-area:hover)) .phone-call-area i { color: #ffffff; }
.ci-phone.contact-item:active { transform: translateY(0px); }
/* 왼쪽 2/3: 전화 링크 영역 */
.phone-call-area {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 2;
  padding: 20px 16px 20px 24px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
/* 오른쪽 1/3: 텔레그램 이모티콘 영역 */
.phone-sns-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  pointer-events: auto;
}
.phone-sns-area .sns-close-btn,
.phone-sns-area img {
  pointer-events: auto;
}
.sns-close-btn {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 0;
  pointer-events: auto;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.4s ease, transform 0.4s ease;
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
}
/* 이모티콘 이미지 — 꽉 차게 */
.sns-close-btn img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: block;
  pointer-events: none;
  position: relative;
  z-index: 2;
}
/* 회전 링 — 밑줄처럼 짧은 호(arc)가 빙글빙글 */
.sns-close-btn::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2.5px solid transparent;
  border-top-color: #229ED9;
  border-right-color: #7dd4f5;
  background: transparent;
  animation: sns-arc-spin 1.4s linear infinite;
  z-index: 3;
  pointer-events: none;
  box-sizing: border-box;
}
/* 반대 방향 보조 호 — 더 자연스러운 쫓아가는 느낌 */
.sns-close-btn::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2.5px solid transparent;
  border-bottom-color: rgba(34,158,217,0.35);
  border-left-color: rgba(125,212,245,0.2);
  background: transparent;
  animation: sns-arc-spin 1.4s linear infinite reverse;
  animation-delay: 0.7s;
  z-index: 3;
  pointer-events: none;
  box-sizing: border-box;
}
@keyframes sns-arc-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
/* 펼쳐진 상태: 버튼 표시 */
.contact-info.sns-open .sns-close-btn {
  display: flex;
  opacity: 1;
  transform: scale(1);
}
/* SNS 토글 카드: 펼쳐지면 숨김 */
.contact-info.sns-open #snsToggleCard {
  display: none;
}

/* ── SNS 토글 카드 ── */
.ci-sns-toggle {
  --cc: rgba(34,158,217,1);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
}
/* 카드 전체를 덮는 투명 클릭 레이어 — 밑줄(z-index:1) 위에 위치 */
.ci-sns-toggle::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 6 !important;
  cursor: pointer !important;
  background: transparent !important;
  pointer-events: auto !important;
}
/* 자식 요소 클릭 통과 */
.ci-sns-toggle * {
  pointer-events: none;
}

.ci-sns-toggle .sns-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  isolation: isolate;       /* 이모티콘 영역 배경 분리 — 반전 차단 */
  background: transparent;  /* 이모티콘 자체 배경 유지 */
}
.ci-sns-toggle .sns-toggle-icon img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: block;
  pointer-events: none;
  position: relative;
  z-index: 2;
}
/* SNS 토글 아이콘 회전 링 — 전화상담 옆 이모티콘과 동일 */
.ci-sns-toggle .sns-toggle-icon::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: #229ED9;
  border-right-color: #7dd4f5;
  background: transparent;
  animation: sns-arc-spin 1.4s linear infinite;
  z-index: 3;
  pointer-events: none;
  box-sizing: border-box;
}
.ci-sns-toggle .sns-toggle-icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-bottom-color: rgba(34,158,217,0.35);
  border-left-color: rgba(125,212,245,0.2);
  background: transparent;
  animation: sns-arc-spin 1.4s linear infinite reverse;
  animation-delay: 0.7s;
  z-index: 3;
  pointer-events: none;
  box-sizing: border-box;
}
.ci-sns-toggle strong { color: #1a1a2e; }
.ci-sns-toggle p { color: #111111; font-size: 0.82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sns-toggle-arrow {
  font-size: 0.85rem;
  color: #999;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  flex-shrink: 0;
}
.ci-sns-toggle.open .sns-toggle-arrow {
  transform: rotate(180deg);
}

/* SNS 숨김 래퍼 — display:contents로 그리드 흐름에 자연스럽게 편입 */
.sns-hidden-wrap {
  display: contents; /* 래퍼 자체는 레이아웃에 영향 없음 */
}
/* 서브카드 기본: 숨김 */
.sns-sub-card {
  display: none;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease !important;
}
/* 펼쳐진 상태 */
.sns-hidden-wrap.open .sns-sub-card {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
.sns-hidden-wrap.open .sns-sub-card:nth-child(1) { transition-delay: 0.04s; }
.sns-hidden-wrap.open .sns-sub-card:nth-child(2) { transition-delay: 0.08s; }
.sns-hidden-wrap.open .sns-sub-card:nth-child(3) { transition-delay: 0.12s; }
.sns-hidden-wrap.open .sns-sub-card:nth-child(4) { transition-delay: 0.16s; }
.sns-hidden-wrap.open .sns-sub-card:nth-child(5) { transition-delay: 0.20s; }


/* ── 카드별 고유 아이콘 색 (기본) ── */
.ci-phone  i { color: #E8630A; }
.ci-kakao  i { color: #3a1d00; }
.ci-naver  i { color: #03C75A; }
.ci-youtube i { color: #FF0000; }
.ci-insta  i { color: #E1306C; }
.ci-email  i { color: #163585; }
.ci-address i { color: #03C75A; }
.ci-biz    i { color: #111111; }

/* ── hover/active 시 카드별 배경색 ── */
a.contact-item-link.ci-phone:hover   { background: linear-gradient(135deg,#f07318,#E8630A) !important; }
a.contact-item-link.ci-kakao:hover   { background: #F7E600 !important; }
a.contact-item-link.ci-naver:hover   { background: linear-gradient(135deg,#04e066,#03C75A) !important; }
a.contact-item-link.ci-address:hover { background: linear-gradient(135deg,#04e066,#028a3e) !important; }
a.contact-item-link.ci-youtube:hover { background: linear-gradient(135deg,#ff4444,#FF0000) !important; }
a.contact-item-link.ci-insta:hover   { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888) !important; }
div.contact-item.ci-email { transition: transform 0.2s, box-shadow 0.2s, background 0.25s; cursor: pointer; user-select: none; -webkit-user-select: none; width: 100%; box-sizing: border-box; }
#emailAddr { font-size: 1rem; color: #555; transition: color 0.25s; }
#emailCopyMsg { display: none; line-height: 1.2; }
#emailCopyMsg span { font-size: 1rem; font-weight: 400; display: inline-block; line-height: 1.2; }
.copy-check { color: #1a7a1a; font-size: 1.3rem; }
.copy-text  { color: #000000; font-size: 1rem; }
div.contact-item.ci-email:hover { background: linear-gradient(135deg,#1e48b0,#163585) !important; transform: translateY(-3px); box-shadow: 0 6px 22px rgba(22,53,133,0.35); }

/* hover/active 시 텍스트·아이콘 흰색 */
a.contact-item-link:hover strong, a.contact-item-link:hover p,
a.contact-item-link:hover i,
div.contact-item.ci-email:hover strong, div.contact-item.ci-email:hover p,
div.contact-item.ci-email:hover i,
div.contact-item.ci-email:hover #emailAddr,
div.contact-item.ci-email:hover #emailCopyMsg span { color: #fff !important; }
/* 카카오: 노란 배경에 어두운 갈색 */
a.contact-item-link.ci-kakao:hover strong { color: #1a1a2e !important; }
a.contact-item-link.ci-kakao:hover p { color: #111111 !important; }
a.contact-item-link.ci-kakao:hover i { color: #3a1d00 !important; }

/* 사업자 카드 (div.ci-biz) – 클릭 가능, hover 시 다크 반전 */
.ci-biz {
  cursor: pointer;
  transition: all 0.3s ease;
}

.ci-biz img {
  transition: filter 0.3s ease;
}

.ci-biz strong,
.ci-biz p {
  transition: color 0.3s ease;
}

.ci-biz:hover,
.ci-biz:active {
  background: #030814 !important;
  box-shadow: 0 6px 20px rgba(3,8,20,0.4);
}

.ci-biz:hover {
  transform: translateY(-2px);
}

.ci-biz:active {
  transform: translateY(0);
}

/* hover 및 active 시 로고 완전 흰색 반전 */
.ci-biz:hover img,
.ci-biz:active img {
  filter: brightness(0) invert(1) brightness(1.5);
}

/* hover 및 active 시 텍스트 흰색 */
.ci-biz:hover strong,
.ci-biz:active strong {
  color: #fff !important;
}

.ci-biz:hover p,
.ci-biz:active p {
  color: rgba(255,255,255,0.8) !important;
}

/* SNS 카드 */
.sns-cards {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.sns-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 90px;
  padding: 16px 10px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.sns-card i { font-size: 1.6rem; }
.sns-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.sns-blog  { background: #e8f4ff; color: #0A3D6B; }
.sns-youtube { background: #fff0f0; color: #cc0000; }
.sns-insta { background: #fff0f8; color: #c13584; }


.contact-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  font-size: 1.2rem;
  flex-shrink: 0;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
}
.contact-icon-btn:hover { transform: scale(1.12); opacity: 0.85; }
.contact-icon-btn i { color: inherit; }
.contact-btn-red    { background: #fee2e2; color: #0A3D6B; }
.contact-btn-yellow { background: #fef9c3; color: #b45309; }
.contact-btn-blue   { background: #dbeafe; color: #1d4ed8; }
.contact-btn-green  { background: #d1fae5; color: #065f46; }

/* Form */
/* 온라인 견적 토글 버튼 */
.contact-form-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #163585 0%, #1e4db7 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  outline: none;
  box-shadow: 0 4px 18px rgba(22,53,133,0.45), inset 0 1px 0 rgba(255,255,255,0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  position: relative;
  overflow: hidden;
}
.contact-form-toggle-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}
.contact-form-toggle-btn:hover::before { left: 150%; }
.contact-form-toggle-btn:focus { outline: none; }
.contact-form-toggle-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(22,53,133,0.55), inset 0 1px 0 rgba(255,255,255,0.15);
}
.contact-form-toggle-btn:active {
  transform: translateY(0);
}
.contact-form-toggle-btn #formToggleIcon {
  font-size: 0.95rem;
  margin-left: 4px;
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;   /* 아이콘 클릭도 버튼으로 전달 */
}
.contact-form-toggle-btn #formToggleTxt {
  pointer-events: none;   /* 텍스트 클릭도 버튼으로 전달 */
}
.contact-form-toggle-btn.open #formToggleIcon {
  transform: rotate(180deg);
}

/* 슬라이드 폼 래퍼 */
.contact-form-slide {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.55s cubic-bezier(0.4,0,0.2,1),
              opacity 0.4s ease,
              margin-top 0.35s ease;
  margin-top: 0;
}
.contact-form-slide.open {
  max-height: 2400px;
  opacity: 1;
  margin-top: 14px;
}

.contact-form {
  background: #fff;
  border-radius: 6px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

/* ============================================================
   단계별 폼 (Step Form)
   ============================================================ */

/* 진행 바 */
.step-progress {
  margin-bottom: 32px;
}
.step-progress-bar {
  height: 4px;
  background: #e8eaf0;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 16px;
}
.step-progress-fill {
  height: 100%;
  width: 33.33%;
  background: #bbb;
  border-radius: 99px;
  transition: width 0.5s cubic-bezier(0.4,0,0.2,1);
}

/* 단계 인디케이터 */
.step-indicators {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.step-circle {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #e8eaf0;
  color: #111111;
  font-size: 0.88rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.step-indicator span {
  font-size: 0.78rem;
  color: #111111;
  font-weight: 600;
  transition: color 0.3s;
}
.step-indicator.active .step-circle {
  background: #888;
  color: #fff;
  box-shadow: none;
}
.step-indicator.active span { color: #111111; }
.step-indicator.done .step-circle {
  background: #163585;
  color: #fff;
}
.step-indicator.done span { color: #111111; }

/* 단계 타이틀 */
.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #163585;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.step-title i { color: #163585; }

/* 필수 별표 */
.required-star { color: #111111; margin-left: 2px; }
.optional-label { color: #aaa; font-size: 0.8rem; font-weight: 400; margin-left: 4px; }

/* 에러 메시지 */
.field-error {
  display: none;
  color: #e53935;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 6px;
  align-items: center;
  gap: 5px;
  animation: shakeError 0.4s ease;
}
.field-error.show { display: flex; }
@keyframes shakeError {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-6px); }
  40%      { transform: translateX(6px); }
  60%      { transform: translateX(-4px); }
  80%      { transform: translateX(4px); }
}

/* 입력 에러 상태 */
.form-group input.input-error,
.form-group textarea.input-error {
  border-color: #e53935 !important;
  box-shadow: 0 0 0 3px rgba(229,57,53,0.15) !important;
}
.form-group input.input-ok,
.form-group textarea.input-ok {
  border-color: #ccc !important;
  box-shadow: none !important;
}

/* 버튼 행 */
.step-btn-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  justify-content: flex-end;
}
.step-next-btn {
  background: #666;
  color: #fff;
  border: none;
  padding: 16px 36px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
  box-shadow: none;
  min-height: 56px;
  min-width: 140px;
  justify-content: center;
}
.step-next-btn:hover {
  background: #555;
}
.step-next-btn i { font-size: 0.85rem; color: #fff; }
.step-prev-btn {
  background: #f0f4f9;
  color: #666;
  border: none;
  padding: 13px 20px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}
.step-prev-btn:hover { background: #dce6f5; }
.step-submit-btn {
  display: flex;
  align-items: center;
  padding: 13px 28px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

/* 입력 내용 요약 */
.form-summary {
  background: #f8faff;
  border: 1px solid #dce6f5;
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #333;
  display: none;
}
.form-summary.show { display: block; }
.form-summary strong { color: #163585; }

/* 단계 전환 애니메이션 */
.form-step {
  animation: stepFadeIn 0.35s ease;
}
@keyframes stepFadeIn {
  from { opacity: 0; transform: translateX(18px); }
  to   { opacity: 1; transform: translateX(0); }
}
.form-step.step-out {
  animation: stepFadeOut 0.25s ease forwards;
}
@keyframes stepFadeOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-18px); }
}

/* 제출 버튼 - 토글 버튼과 동일 스타일 */
.contact-form .btn-primary.btn-full {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 20px 24px;
  background: #163585;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(22,53,133,0.32);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  text-align: center;
}
.contact-form .btn-primary.btn-full:hover {
  background: #122d75;
  box-shadow: 0 6px 22px rgba(22,53,133,0.42);
  transform: translateY(-2px);
}
.contact-form .btn-primary.btn-full:active {
  transform: scale(0.98) translateY(0);
  background: #0f2560;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #1a1a2e;
  background: #fff;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #E8630A;
  box-shadow: 0 0 0 3px rgba(232,99,10,0.08);
}
.form-group textarea { resize: vertical; }

/* 파일 업로드 */
.file-upload-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff3ee;
  border: 2px dashed #E8630A55;
  border-radius: 6px;
  padding: 16px 18px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.file-upload-wrap:hover {
  border-color: #E8630A;
  background: #ffe8d9;
}
/* 파일 태그 */
.file-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1.5px solid #f0c0a0;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.82rem;
  color: #E8630A;
  font-weight: 600;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-tag .remove-tag {
  cursor: pointer;
  color: #c0392b;
  font-weight: 700;
  margin-left: 2px;
  font-size: 0.85rem;
}


/* ============================================================
   FLOATING FAB BUTTON
   ============================================================ */

/* ── 전체 래퍼 ── */
#fabWrap {
  position: fixed !important;
  top: auto !important;
  bottom: 24px !important;
  right: 16px !important;
  transform: none !important;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  padding-right: 0;
}

/* ── 카드 묶음: 닫힘=배경 투명 / 열림=회색 패널 ── */
.fab-cards {
  position: absolute;
  bottom: 100%;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-end;
  background: transparent;
  border-radius: 0;
  padding: 0 0 12px 0;
  pointer-events: none;
}
#fabWrap.fab-open .fab-cards {
  pointer-events: auto;
}

/* 메인 버튼 래퍼는 항상 클릭 가능 */
.fab-main-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  pointer-events: auto !important;
}

/* ── 카드 공통: 라벨(왼) + 흰 원형 아이콘(오) ── */
.fab-card {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  will-change: opacity, transform;
}

/* 왼쪽 라벨 – 닫힘: 숨김 / 열림: 슬라이드 인 */
.fab-card-label {
  display: block;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #1a1a1a;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

/* 오른쪽 흰 원형 아이콘 */
.fab-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: transform 0.18s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.18s ease;
}
.fab-card-icon i { color: #2f2f2f; }

.fab-card:active .fab-card-icon {
  transform: scale(1.18);
}

/* ── 열린 상태: 회색 패널 표시 ── */
#fabWrap.fab-open .fab-cards {
  pointer-events: auto;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* 카드 등장 애니메이션 – 순차적으로 (PC #fabWrap 전용) */
#fabWrap.fab-open .fab-card:nth-child(1) {
  opacity: 1; transform: translateY(0); transition-delay: 0.10s; pointer-events: auto;
}
#fabWrap.fab-open .fab-card:nth-child(2) {
  opacity: 1; transform: translateY(0); transition-delay: 0.16s; pointer-events: auto;
}
#fabWrap.fab-open .fab-card:nth-child(3) {
  opacity: 1; transform: translateY(0); transition-delay: 0.22s; pointer-events: auto;
}
#fabWrap.fab-open .fab-card:nth-child(4) {
  opacity: 1; transform: translateY(0); transition-delay: 0.28s; pointer-events: auto;
}

/* 열린 상태 + 개별 hover 시 라벨 표시 */
#fabWrap.fab-open .fab-card:hover .fab-card-label,
#fabWrap.fab-open .fab-card.label-show .fab-card-label {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0s;
}


/* ── 메인 FAB 버튼 ── */
.fab-main {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  outline: none;
  flex-shrink: 0;
  position: relative;
  background: rgba(255,255,255,0.4);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow:
    0 6px 20px rgba(22,53,133,0.35),
    0 2px 6px rgba(0,0,0,0.12);
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
  overflow: visible;
}


.fab-main:hover {
  box-shadow: none;
  transform: scale(1.08);
}
.fab-main:active {
  transform: scale(1.18);
}
/* 아이콘 컨테이너 */
.fab-main-inner {
  position: relative;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.fab-icon-open,
.fab-icon-close {
  position: absolute; inset: 0;
  display: flex;
  align-items: center; justify-content: center;
  color: #20408F;
  font-size: 1.3rem;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.fab-icon-close {
  opacity: 0;
  transform: rotate(-45deg) scale(0.5);
  font-size: 1.35rem;
}
#fabWrap.fab-open .fab-icon-open  { opacity: 0; transform: rotate(45deg) scale(0.5); }
#fabWrap.fab-open .fab-icon-close { opacity: 1; transform: rotate(0deg) scale(1); }

/* ── 오버레이: 비활성 ── */
#fabOverlay,
#fabOverlay.show {
  display: none !important;
  pointer-events: none;
}

/* ── 모바일 소형 ── */
@media (max-width: 390px) {
  /* 배지: 소형폰에서 2열로 자연스럽게 줄바꿈 */
  .hero-badges {
    gap: 6px;
  }
  .hero-badges span {
    font-size: 0.72rem;
    padding: 5px 9px;
  }
  /* Hero 텍스트: 390px 이하에서도 잘림 없이 */
  .hero-subtitle,
  .hero-title {
    font-size: clamp(1.2rem, 7.5vw, 1.6rem) !important;
    white-space: normal !important;
    word-break: keep-all;
  }
  /* FAB */
  .fab-card-icon { width: 48px; height: 48px; font-size: 1.05rem; }
  .fab-main { width: 44px; height: 44px; background: rgba(255,255,255,0.4) !important; }
  .fab-card-label { font-size: 0.88rem; }
  .fab-cards { gap: 16px; }
}

/* ── PC 전용: 우측 중간, 크기 조정 ── */
@media (min-width: 769px) {
  /* PC: 경사 도형 표시 */
  .nav-blade-pc { display: block; }
  /* 모바일 FAB PC에서 숨김 */
  #fabWrapMobile { display: none !important; }
  /* FAB */
  #fabWrap {
    position: fixed !important;
    top: auto !important;
    bottom: 24px !important;
    right: 16px !important;
    transform: none !important;
    z-index: 9000 !important;
  }
  .fab-main { width: 50px !important; height: 50px !important; }
  .fab-icon-open,
  .fab-icon-close { font-size: 1.5rem !important; color: #20408F !important; }
  .fab-card-icon { width: 50px !important; height: 50px !important; font-size: 1.2rem !important; }
  /* 슬라이더 */
  .mob-slider-track > * { cursor: pointer; }
  .pc-slider-progress { display: block !important; }
  .services-pc-nav .pc-slider-progress { display: block !important; width: 160px; margin: 0; flex-shrink: 0; }
  .services-pc-nav { display: flex; }

}

/* ============================================================
   MOBILE HORIZONTAL SLIDER  (모바일 전용 – PC 영향 없음)
   ============================================================ */

/* PC: mob-slider-outer 투명 래퍼로 동작, 내부 그리드/플렉스는 그대로 */
@media (min-width: 769px) {
  .mob-slider-outer {
    overflow: visible !important;
    padding: 10px 0 24px !important;
    margin: 0 !important;
    cursor: default !important;
  }
  /* PC 서비스 슬라이더: 위아래 충분한 여백, 좌우 클리핑은 pc-slider-wrap에서 처리 */
  #servicesSliderOuter {
    overflow: visible !important;
    padding: 20px 0 30px !important;
    margin: 0 !important;
  }
  /* PC 슬라이더 좌우 클리핑 */
  .pc-slider-wrap {
    overflow: hidden !important;
  }
  /* PC에서 mob-slider-track 중 슬라이더로 쓰지 않는 트랙 리셋 */
  .mob-slider-track:not(#servicesSliderTrack):not(#mainGalleryGrid):not(#whySliderTrack) {
    flex: unset !important;
    transform: none !important;
    transition: none !important;
  }
  /* 모바일 전용 진행바 PC에서 숨김 */
  .mob-slider-progress { display: none !important; }
}

@media (max-width: 768px) {

  /* ── 공통 슬라이더 래퍼 ── */
  .mob-slider-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
  }

  /* 슬라이드 트랙 */
  .mob-slider-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
    will-change: transform;
  }

  /* 각 슬라이드(카드) 고정 너비 */
  .mob-slider-track > * {
    flex: 0 0 92vw;
    max-width: 92vw;
    margin-right: 12px;
    box-sizing: border-box;
  }

  /* 마지막 아이템 오른쪽 여백 */
  .mob-slider-track > *:last-child {
    margin-right: 0;
  }





  /* ── 모바일: about 슬라이드 페이지 (좌주황+우파랑 가로배치) ── */
  #aboutSliderTrack .about-slide-page {
    flex: 0 0 100vw;
    max-width: 100vw;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    padding: 0 16px;
  }
  #aboutSliderTrack .about-slide-page:last-child { margin-right: 0; }
  #aboutSliderTrack .about-slide-page .about-card {
    flex: 1;
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    box-sizing: border-box;
    align-self: stretch;
    justify-content: flex-start;
  }

  /* ── 모바일: process 슬라이드 페이지 (위아래 세로) ── */
  #processSliderTrack .process-slide-page {
    flex: 0 0 100vw;
    max-width: 100vw;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
    padding: 0 16px;
  }
  #processSliderTrack .process-slide-page:last-child { margin-right: 0; }
  #processSliderTrack .process-slide-page .about-card {
    flex: 1;
    max-width: 100%;
    margin-right: 0;
    box-sizing: border-box;
  }

  /* ── 제품(services) 그리드 → 슬라이더 ── */
  #services .services-grid {
    display: flex;
    overflow: visible;
    gap: 0;
    grid-template-columns: none;
    will-change: transform;
  }
  #services #servicesSliderOuter {
    overflow: hidden;
    padding: 4px 0;
  }
  /* 서비스 카드: 88vw 너비, 양쪽 여백 균등 (6vw씩) */
  #services .services-grid .service-card-flip {
    flex: 0 0 88vw;
    max-width: 88vw;
    margin-left: 6vw;
    margin-right: 6vw;
    height: 500px;
    flex-shrink: 0;
  }
  #services .services-grid .service-card-flip:last-child {
    margin-right: 6vw;
  }
  #services .services-grid .service-card-flip .flip-inner {
    height: 500px;
  }
  #services .services-grid .service-card-flip .service-card {
    flex: none;
    max-width: none;
    margin-right: 0;
    height: 100%;
  }

  /* ── 시공사례(gallery) 그리드 → 2행 슬라이더 ── */
  #gallery .gallery-grid {
    display: grid !important;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: column;
    grid-auto-columns: calc(46vw - 10px);
    overflow: visible;
    gap: 10px;
  }
  #gallery .gallery-grid .gallery-item {
    width: 100%;
    box-sizing: border-box;
    margin-right: 0;
  }

  /* ── why: 모바일 슬라이더 (슬라이드 페이지 단위) ── */
  /* why .container는 padding:0 이므로 -20px 마진 상쇄 불필요 → margin:0 */
  /* why-wrap 좌우 패딩 제거 → 카드 화면 가득 채움 */
  .why-wrap {
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
  }
  /* 모바일: 카드 위로 올라가는 효과 제거 → 상단 잘림 방지 */
  .why-card:hover,
  .why-card-lg:hover {
    transform: translateY(0) !important;
  }
  #whySliderOuter {
    margin: 0 !important;
    padding: 0;
    overflow: hidden;
  }
  #whySliderTrack {
    align-items: stretch;
  }
  /* why-slide-page: outerEl 실제 너비와 정확히 일치 (잘림 방지) */
  #whySliderTrack .why-slide-page {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    padding: 0 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  #whySliderTrack .why-slide-page:last-child { margin-right: 0; }
  #whySliderTrack .why-card-lg {
    padding: 28px 24px;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  #whySliderTrack .why-slide-page .why-card-lg:nth-child(1):hover,
  #whySliderTrack .why-slide-page .why-card-lg:nth-child(2):hover {
    border-color: rgba(58,56,53,1) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 20px rgba(58,56,53,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
  }
  #whySliderTrack .why-card-lg .why-badge { font-size: 0.82rem; padding: 6px 16px; }
  #whySliderTrack .why-card-lg h3 { font-size: 1.25rem; }
  #whySliderTrack .why-card-lg p  { font-size: 0.97rem; line-height: 1.75; }

  /* 슬라이더 컨테이너: container 패딩(20px) 상쇄하여 화면 가득 채움 */
  .mob-slider-outer {
    overflow: hidden;
    padding: 10px 0;
    margin: 0 -20px;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
  }
  .mob-slider-outer:active { cursor: grabbing; }

  /* 자동 슬라이드 진행바 */
  .mob-slider-progress {
    display: block !important;
    height: 6px;
    background: rgba(22,53,133,0.12);
    border-radius: 99px;
    margin-top: 16px;
    overflow: hidden;
    max-width: 120px;
    margin-left: auto;
    margin-right: auto;
  }
  .mob-slider-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #E8630A 0%, #E8630A 38%, #1E4A8C 52%, #1E4A8C 53%, #163585 67%, #163585 100%);
    border-radius: 99px;
    width: 0%;
    transition: width linear;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
/* 푸터 카드 감싸기 - 히어로처럼 좌우 16px 마진 */
.footer-card-wrap {
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #111111 0%, #1a1a1a 50%, #111111 100%);
  background-size: 200% 100%;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.footer-card-wrap .wave-to-footer svg {
  display: block;
}
.wave-divider.wave-to-footer svg path:first-child {
  animation: waveFlow1 2s ease-in-out infinite alternate;
  transform-origin: center bottom;
}
.wave-divider.wave-to-footer svg path:last-child {
  animation: waveFlow2 2s ease-in-out infinite alternate-reverse;
  transform-origin: center bottom;
}
@keyframes waveFlow1 {
  0%   { d: path("M0,100 C240,20 480,20 720,55 C960,85 1200,25 1440,50 L1440,100 Z"); }
  100% { d: path("M0,100 C240,40 480,10 720,45 C960,75 1200,40 1440,30 L1440,100 Z"); }
}
@keyframes waveFlow2 {
  0%   { d: path("M0,80 C360,10 720,90 1080,40 C1260,15 1380,55 1440,35 L1440,100 L0,100 Z"); }
  100% { d: path("M0,60 C360,30 720,70 1080,55 C1260,30 1380,40 1440,55 L1440,100 L0,100 Z"); }
}

.footer {
  background: linear-gradient(180deg, #111111 0%, #1a1a1a 100%);
  color: rgba(255,255,255,0.6);
  padding: 0 0 32px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.02), transparent);
  animation: footerShimmer 2s infinite;
  pointer-events: none;
}
@keyframes footerShimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-logo img {
  height: 44px;
  width: auto;
  margin: 0 auto 10px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-logo p { font-size: 0.88rem; }

.footer-info {
  margin: 10px 0;
}

.footer-info-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.8);
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.footer-info-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.footer-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-links a:hover { color: #E8630A; }

.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.35); }

/* ============================================================
   TOP BUTTON
   ============================================================ */




/* ============================================================
   PC SLIDER
   ============================================================ */
/* PC 슬라이더 래퍼 */
.pc-slider-wrap {
  position: relative;
  overflow: visible;
}

/* PC 진행바 */
.pc-slider-progress {
  display: none;
  height: 6px;
  background: rgba(22,53,133,0.12);
  border-radius: 99px;
  margin-top: 16px;
  overflow: hidden;
  max-width: 160px;
  margin-left: auto;
  margin-right: auto;
}
.pc-slider-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #E8630A 0%, #E8630A 38%, #1E4A8C 52%, #1E4A8C 53%, #163585 67%, #163585 100%);
  border-radius: 99px;
  width: 0%;
  transition: width linear;
}


/* 모바일 화살표 */
.mob-nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  overflow: visible;
}
/* 왼쪽: 화살표 + 카운터 너비만큼 빈 공간 (우측과 대칭) */
.mob-nav-left {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  overflow: visible;
  padding: 8px 0;
}
.mob-nav-left .slider-counter-ghost {
  display: inline-block;
  min-width: 36px;   /* 카운터와 동일한 너비 */
  visibility: hidden; /* 자리만 차지, 안 보임 */
}
/* 오른쪽: 화살표 + 카운터 한 묶음 */
.mob-nav-right {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  overflow: visible;
  padding: 8px 0;
}
.mob-nav-row .slider-counter {
  position: static;
  transform: none;
  margin-left: 0;
  min-width: 36px;
}
.mob-arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  font-size: 1.1rem;
  transition: color 0.2s, opacity 0.2s;
  line-height: 1;
  position: relative;
  overflow: visible;
  isolation: isolate;
}
.mob-arrow-prev { color: #E8630A; }
.mob-arrow-next { color: #163585; }
.mob-arrow:hover { opacity: 0.7; }

/* 회전 링 — 모바일/PC 화살표 공통 */
.mob-arrow::before,
.mob-arrow::after,
.services-pc-arrow::before,
.services-pc-arrow::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 32px; height: 32px;
  margin-top: -16px; margin-left: -16px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  pointer-events: none;
  box-sizing: border-box;
}
/* 주황 링 (이전 화살표) */
.mob-arrow-prev::before,
.services-pc-arrow-prev::before {
  border-top-color: #E8630A;
  border-right-color: rgba(232,99,10,0.4);
  animation: sns-arc-spin 1.5s linear infinite;
}
.mob-arrow-prev::after,
.services-pc-arrow-prev::after {
  border-bottom-color: rgba(232,99,10,0.25);
  border-left-color: rgba(232,99,10,0.1);
  animation: sns-arc-spin 1.5s linear infinite reverse;
  animation-delay: 0.5s;
}
/* 파랑 링 (다음 화살표) */
.mob-arrow-next::before,
.services-pc-arrow-next::before {
  border-top-color: #163585;
  border-right-color: rgba(22,53,133,0.4);
  animation: sns-arc-spin 1.5s linear infinite;
}
.mob-arrow-next::after,
.services-pc-arrow-next::after {
  border-bottom-color: rgba(22,53,133,0.25);
  border-left-color: rgba(22,53,133,0.1);
  animation: sns-arc-spin 1.5s linear infinite reverse;
  animation-delay: 0.5s;
}
.mob-nav-row .mob-slider-progress {
  display: block !important;
  width: 120px;
  flex-shrink: 0;
  margin: 0;
}

/* 서비스 PC 화살표 + 도트/바 감싸는 컨테이너 */
.services-pc-nav {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  overflow: visible;
}
.services-pc-bar-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: visible;
  padding: 10px 0;
}

.services-pc-arrow {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  font-size: 1rem;
  transition: color 0.2s, opacity 0.2s;
  line-height: 1;
  position: relative;
  overflow: visible;
  isolation: isolate;
}
.services-pc-arrow-prev { color: #E8630A; }
.services-pc-arrow-next { color: #163585; }
.services-pc-arrow:hover { opacity: 0.7; }

/* services-pc-arrow 링 → 위 공통 블록으로 통합됨 */

/* ── 슬라이드 페이지 카운터 (1/3) ── */
.slider-counter {
  display: inline-flex;
  align-items: center;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #163585;
  min-width: 36px;
  margin-left: 4px;
  user-select: none;
  white-space: nowrap;
}
.slider-counter .counter-cur {
  color: #163585;
}
.slider-counter .counter-sep {
  color: #163585;
  margin: 0 1px;
  font-weight: 900;
  font-size: 0.9em;
  opacity: 1;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}
.slider-counter .counter-total {
  color: #163585;
  font-weight: 700;
}

/* ============================================================
   PC / 모바일 카드 완전 분리 (show/hide)
   ============================================================ */
/* 기본: PC 전용 카드 표시, 모바일 전용 카드 숨김 */
.pc-only-cards  { display: grid !important; }
.mob-only-cards { display: none  !important; }

/* 모바일(≤768px): PC 전용 숨김, 모바일 전용 표시 */
@media (max-width: 768px) {
  .pc-only-cards  { display: none  !important; }
  .mob-only-cards { display: block !important; }
}

/* PC에서만 슬라이더 활성화 */
@media (min-width: 769px) {
  #about .mob-nav-row,
  #services .mob-nav-row,
  #gallery .mob-nav-row,
  #process .mob-nav-row { display: none !important; }
  /* gallery PC nav는 services-pc-nav 구조로 표시 */

  /* services-pc-nav 표시 */
  .services-pc-nav { display: flex !important; }
  /* about/process 섹션은 pc-only-cards(그리드) / mob-only-cards(슬라이더) 완전 분리
     → #aboutSliderTrack, #processSliderTrack 은 PC에서 숨겨져 있으므로 별도 PC 오버라이드 불필요 */
  /* services 슬라이더 트랙 */
  #servicesSliderTrack {
    display: flex !important;
    transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
    will-change: transform;
    gap: 0;
  }
  #servicesSliderTrack .service-card-flip {
    flex: 0 0 calc(33.333% - 16px);
    max-width: calc(33.333% - 16px);
    margin-right: 24px;
    box-sizing: border-box;
  }
  #servicesSliderTrack .service-card-flip:last-child {
    margin-right: 0;
  }
  #servicesSliderTrack .service-card {
    flex: none;
    max-width: none;
    margin-right: 0;
  }
  /* PC 전용: 제품 카드 텍스트 선명도 및 크기 향상 */
  .service-card h3 {
    font-size: 1.45rem;
    font-weight: 900;
    color: #0a1628;
    letter-spacing: -0.5px;
    -webkit-font-smoothing: antialiased;
  }
  .service-card h3 span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4a6080;
    letter-spacing: 0.03em;
  }
  .service-card p {
    font-size: 1.05rem;
    color: #000000 !important;
    line-height: 1.9;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
  }
  /* 갤러리 슬라이더 트랙 - 2행 그리드 슬라이더 */
  #mainGalleryGrid {
    display: grid !important;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 48px) / 3);
    transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
    will-change: transform;
    gap: 12px;
    align-items: stretch;
  }
  #mainGalleryGrid .gallery-item {
    width: 100%;
    box-sizing: border-box;
    margin-right: 0;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */


@media (max-width: 768px) {
  /* 모바일: 히어로 텍스트 반응형 – 잘림 방지 */
  .hero-subtitle,
  .hero-title {
    font-size: clamp(1.3rem, 6.8vw, 2.1rem) !important;
    white-space: normal !important;
    word-break: keep-all;
    line-height: 1.25;
    letter-spacing: -0.2px;
  }
  .hero-sub {
    font-size: clamp(0.78rem, 2.4vw, 0.95rem) !important;
    white-space: normal !important;
    word-break: keep-all;
  }

  /* 모바일: about 카드 - PC와 동일한 가로(row) 레이아웃, 패딩/폰트 조정 */
  #aboutSliderTrack .about-slide-page .about-card {
    flex-direction: row;
    align-items: center;
    padding: 20px 18px;
    gap: 16px;
  }
  #aboutSliderTrack .about-slide-page .about-card .about-icon {
    width: 56px; height: 56px;
    min-width: 56px;
    font-size: 1.3rem;
  }
  #aboutSliderTrack .about-slide-page .about-card h3 {
    font-size: 1.05rem;
    margin-bottom: 5px;
  }
  #aboutSliderTrack .about-slide-page .about-card h3 span {
    font-size: 0.78rem;
  }
  #aboutSliderTrack .about-slide-page .about-card p {
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
  }

  /* 모바일: 웨이브 높이 축소 */
  .wave-divider svg { height: 60px; }
  .wave-divider.wave-about-to-services svg,
  .wave-divider.wave-light-to-white svg,
  .wave-divider.wave-white-to-light svg { height: 50px; }


  .contact-info { grid-template-columns: 1fr; }
  .contact-wrap { padding: 0; }


  /* Nav */
  .nav-list {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 70px; left: auto; right: 0;
    background: #111111;
    padding: 16px 24px 20px;
    gap: 4px;
    box-shadow: -4px 8px 24px rgba(0,0,0,0.5);
    backdrop-filter: blur(16px);
    text-align: right;
    width: auto;
    min-width: 160px;
  }
  .mob-admin-btn { display: block; }  /* 로고 위 투명 관리자 영역 표시 */
  
  /* 모바일 네비바 */
  #header {
    border-radius: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
  }
  /* Hero */
  .hero {
    height: 56vw;
    min-height: 300px;
    max-height: 480px;
    margin: 0;
    border-radius: 0;
    justify-content: flex-start;
    text-align: left;
  }
  .hero-content {
    padding: 0 0 0 5vw;
    max-width: 90vw;
  }
  .hero-overlay {
    background: none;
  }
  .hero-subtitle,
  .hero-title { font-size: clamp(1.4rem, 5vw, 2.2rem); white-space: normal; word-break: keep-all; }
  .hero-logo { height: 48px; }
  .hero-logo-wrap { margin-bottom: 16px; }
  .hero-badges { gap: 7px; margin-top: 16px; }
  .badge-hide-mobile { display: none !important; }
  .hero-badges span { font-size: 0.72rem; padding: 5px 11px; }


  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }



  /* Contact form */
  .contact-form { padding: 36px 28px; }
  .form-group label { font-size: 0.95rem; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 1rem; padding: 14px 16px; }

  /* 섹션 공통 */
  .section { padding: 72px 0; }
  #process.section { padding: 72px 0; }
  #gallery.section { padding: 20px 0 72px; }
  #about.section  { padding: 72px 0 32px; }
  #services.section { padding: 32px 0 32px; }
  .section-header { margin-bottom: 36px; }
  .section-title { font-size: 1.9rem; }
  .section-desc { font-size: 1.05rem; }

  /* about 카드 */
  .about-card { padding: 32px 28px; gap: 22px; }
  .about-card h3 { font-size: 1.2rem; }
  .about-card p { font-size: 1rem; }

  /* service 카드 */
  .service-card { padding: 32px 24px 26px; }
  .service-card h3 { font-size: 1.18rem; }
  .service-card p { font-size: 0.97rem; }

  /* Top btn */
  .top-btn  { bottom: 20px; right: 20px; }

  /* ── 모바일 FAB 부채꼴 구조 ── */
  #fabWrapMobile {
    position: fixed !important;
    right: 16px !important;
    bottom: 24px !important;
    top: auto !important;
    z-index: 99999 !important;
    width: 40px !important;
    height: 40px !important;
  }
  /* 서브버튼 공통: 메인버튼 위치에서 시작 */
  .mob-fab-sub {
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    opacity: 0 !important;
    transform: scale(0) !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
    z-index: 1 !important;
  }
  .mob-fab-sub .fab-card-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.1rem !important;
  }
  /* 열림: 부채꼴로 펼쳐짐 - 반지름 60px 균일 */
  #fabWrapMobile.fab-open #mobFab1 {
    opacity: 1 !important;
    transform: translate(0, -60px) scale(1) !important;
    transition-delay: 0.05s !important;
  }
  #fabWrapMobile.fab-open #mobFab2 {
    opacity: 1 !important;
    transform: translate(-42px, -42px) scale(1) !important;
    transition-delay: 0.10s !important;
  }
  #fabWrapMobile.fab-open #mobFab3 {
    opacity: 1 !important;
    transform: translate(-60px, 0) scale(1) !important;
    transition-delay: 0.15s !important;
  }
    /* ── 모바일 FAB 라벨 ── */
  .mob-fab-label {
    position: absolute !important;
    right: calc(100% + 10px) !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) translateX(8px) !important;
    white-space: nowrap !important;
    background: rgba(255,255,255,0.92) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #1a1a1a !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    padding: 5px 12px !important;
    border-radius: 20px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.6s ease, transform 0.2s ease !important;
  }
  /* 터치/호버 시 해당 버튼 라벨만 표시 – 전체 왼쪽 통일 */
  .mob-fab-sub:hover .mob-fab-label,
  .mob-fab-sub:focus .mob-fab-label,
  .mob-fab-sub.mob-label-show .mob-fab-label {
    opacity: 1 !important;
    transform: translateY(-50%) translateX(0) !important;
  }
  /* 문의하기(Fab1): 아래 시공사례 아이콘 안 가리게 위쪽 고정 */
  #mobFab1 .mob-fab-label {
    top: 0 !important;
    transform: translateY(-50%) translateX(8px) !important;
  }
  #mobFab1:hover .mob-fab-label,
  #mobFab1:focus .mob-fab-label,
  #mobFab1.mob-label-show .mob-fab-label {
    opacity: 1 !important;
    transform: translateY(-50%) translateX(0) !important;
  }
  /* 시공사례(Fab2): 원위치 – 왼쪽 중앙 */
  #mobFab2 .mob-fab-label {
    top: 50% !important;
    transform: translateY(-50%) translateX(8px) !important;
  }
  #mobFab2:hover .mob-fab-label,
  #mobFab2:focus .mob-fab-label,
  #mobFab2.mob-label-show .mob-fab-label {
    opacity: 1 !important;
    transform: translateY(-50%) translateX(0) !important;
  }

  /* 닫힘 상태 아이콘 */
  #fabWrapMobile .fab-icon-close { opacity: 0 !important; transform: rotate(-45deg) scale(0.5) !important; }
  /* 열림 상태 아이콘 전환 */
  #fabWrapMobile.fab-open .fab-icon-open  { opacity: 0 !important; transform: rotate(45deg) scale(0.5) !important; }
  #fabWrapMobile.fab-open .fab-icon-close { opacity: 1 !important; transform: rotate(0deg) scale(1) !important; }
  /* 네비바 안 FAB 버튼 */
  .fab-nav-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.4) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: none !important;
    cursor: pointer !important;
    color: #20408F !important;
    font-size: 1.2rem !important;
    box-shadow: 0 6px 20px rgba(22,53,133,0.35), 0 2px 6px rgba(0,0,0,0.12) !important;
    flex-shrink: 0 !important;
    position: fixed !important;
    right: 8px !important;
    bottom: 24px !important;
    top: auto !important;
    transform: none !important;
    z-index: 99999 !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  .fab-nav-btn .fab-main-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
  }
  .fab-nav-btn .fab-icon-open {
    position: static !important;
    display: flex !important;
    opacity: 1 !important;
    transform: none !important;
    color: #20408F !important;
  }


  /* 모바일에서 PC FAB 전체 숨김 */
  #fabWrap { display: none !important; }
}

@media (max-width: 480px) {
  /* 섹션 여백 */
  .section { padding: 64px 0; }
  #process.section  { padding: 64px 0; }
  #gallery.section  { padding: 20px 0 64px; }
  #about.section    { padding: 64px 0 28px; }
  #services.section { padding: 28px 0 28px; }
  .section-header { margin-bottom: 28px; }
  .section-title { font-size: 1.75rem; letter-spacing: -0.3px; }
  .section-desc { font-size: 1rem; }
  .section-label { font-size: 0.82rem; }

  /* about 카드 */
  .about-card {
    padding: 28px 24px;
    gap: 20px;
  }
  .about-card h3 { font-size: 1.18rem; }
  .about-card p { font-size: 0.95rem; }
  .about-icon { width: 58px; height: 58px; min-width: 58px; font-size: 1.35rem; }

  /* service 카드 */
  .service-card { padding: 30px 22px 24px; }
  .service-card h3 { font-size: 1.15rem; }
  .service-card p { font-size: 0.95rem; }

  .gallery-grid { grid-template-columns: 1fr; }
  .hero-badges { gap: 8px; }
  .hero-subtitle,
  .hero-title { font-size: 1.7rem; line-height: 1.3; white-space: normal; word-break: keep-all; }
  .hero-desc { font-size: 0.95rem; line-height: 1.7; }
  .about .section-desc { font-size: 0.95rem; line-height: 1.8; word-break: keep-all; }
  .hero-sub { font-size: 0.75rem; letter-spacing: 0.1em; white-space: normal; }

  /* contact */
  .contact-form { padding: 28px 18px; }
  .form-group label { font-size: 0.92rem; }
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 1rem; padding: 14px 16px; }
}

/* ============================================================
   접수 완료 팝업 (customAlert)
   ============================================================ */
@keyframes alertFadeIn {
  from { opacity:0; transform:translateY(20px) scale(0.96); }
  to   { opacity:1; transform:translateY(0)    scale(1);    }
}
#customAlert .alert-box {
  background:#fff;
  border-radius:6px;
  padding:40px 32px 32px;
  max-width:340px;
  width:88%;
  text-align:center;
  box-shadow:0 20px 60px rgba(0,0,0,0.2);
  animation:alertFadeIn 0.3s cubic-bezier(.34,1.56,.64,1);
  word-break:keep-all;
  position:relative;
  overflow:hidden;
}
#customAlert .alert-box::before {
  content:'';
  position:absolute;
  top:0;left:0;right:0;
  height:4px;
  background:#163585;
}
#customAlert .alert-icon {
  width:64px;height:64px;
  background:#163585;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 20px;
  font-size:1.8rem;
  box-shadow:0 8px 24px rgba(22,53,133,0.3);
}
#customAlert .alert-title {
  font-size:1.15rem;font-weight:800;
  color:#163585;margin-bottom:10px;line-height:1.4;
}
#customAlert .alert-desc {
  font-size:0.88rem;color:#555;
  line-height:1.7;margin-bottom:6px;
}
#customAlert .alert-sub {
  font-size:0.82rem;color:#888;
  line-height:1.6;margin-bottom:28px;
}
#customAlert .alert-btn {
  background:#163585;
  color:#fff;border:none;border-radius:6px;
  padding:13px 40px;font-size:0.95rem;font-weight:700;
  cursor:pointer;width:100%;
  box-shadow:0 6px 20px rgba(22,53,133,0.3);
  transition:background 0.15s;
  letter-spacing:0.02em;
}
#customAlert .alert-btn:hover { background:#122d75; }



