/* 기본 리셋 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
  padding-top: 90px;
  /* 헤더 높이만큼 여백 */
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  height: 72px;
}

/* 로고 */
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
}

.site-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0078d7;
}

/* 네비게이션 - 메인 메뉴 가로 정렬 */
nav {
  flex: 1;
  margin-left: 40px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 35px;
  margin: 0;
  padding: 0;
}

nav ul li {
  position: relative;
}

nav ul li>a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: color 0.2s;
}

nav ul li:hover>a {
  color: #0078d7;
}

/* 서브메뉴 - 세로 드롭다운 */
nav ul li ul.submenu {
  list-style: none;
  display: block;
  padding: 0;
  margin: 0;
  width: 170px;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18), 0 1.5px 6px rgba(0, 0, 0, 0.12);
  border-radius: 7px;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96) translateY(-15px);
  transition:
    opacity 0.28s cubic-bezier(.47, 1.64, .41, .8),
    transform 0.35s cubic-bezier(.47, 1.64, .41, .8),
    visibility 0s linear 0.35s;
  pointer-events: none;
}

nav ul li:hover ul.submenu {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
  transition-delay: 0s;
  pointer-events: auto;
}

nav ul li ul.submenu li {
  padding: 9px 23px;
  transition: background 0.18s;
}

nav ul li ul.submenu li a {
  color: #444;
  font-weight: 500;
  font-size: 14px;
  display: block;
  transition: color 0.22s, font-size 0.22s;
}

nav ul li ul.submenu li:hover {
  background-color: #f2f6fb;
}

nav ul li ul.submenu li:hover a {
  color: #0078d7;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* 언어 선택 */
.language-select {
  margin-left: 20px;
}

.language-select select {
  padding: 5px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 3px;
  cursor: pointer;
}

.language-toggle {
  display: flex;
  align-items: center;
  margin-left: 24px;
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 1.08rem;
  font-weight: 600;
}

.toggle-label input[type="checkbox"] {
  display: none;
}

.toggle-slider {
  width: 54px;
  height: 28px;
  background: #e3f3ff;
  border-radius: 16px;
  position: relative;
  transition: background 0.3s;
  box-shadow: 0 2px 8px rgba(0, 120, 215, 0.08);
  margin: 0 6px;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 4px;
  width: 22px;
  height: 22px;
  background: #39a8ff;
  border-radius: 50%;
  transition: left 0.3s cubic-bezier(.77, 0, .175, 1), background 0.3s;
  box-shadow: 0 2px 8px rgba(0, 120, 215, 0.18);
}

.toggle-label input[type="checkbox"]:checked+.toggle-slider {
  background: #ffe3e3;
}

.toggle-label input[type="checkbox"]:checked+.toggle-slider::before {
  left: 28px;
  background: #ff7b7b;
}

.lang-ko,
.lang-en {
  transition: color 0.3s;
  padding: 0 8px;
}

.toggle-label input[type="checkbox"]:checked~.lang-ko {
  color: #aaa;
}

.toggle-label input[type="checkbox"]:checked~.lang-en {
  color: #ff7b7b;
}

.toggle-label input[type="checkbox"]:not(:checked)~.lang-ko {
  color: #39a8ff;
}

.toggle-label input[type="checkbox"]:not(:checked)~.lang-en {
  color: #aaa;
}

/* 숨김 처리 */
.language-toggle input[type="checkbox"] {
  display: none;
}

/* 슬라이더 */
.main-visual {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: #222;
  z-index: 1;
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s cubic-bezier(.77, 0, .175, 1), transform 1s cubic-bezier(.77, 0, .175, 1);
  transform: scale(1.08) translateX(40px);
  z-index: 1;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
  transform: scale(1) translateX(0);
}

.slide.leave {
  opacity: 0;
  transform: scale(0.95) translateX(-60px);
  z-index: 2;
  pointer-events: none;
  transition: opacity 1s, transform 1s;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

.slide-caption {
  position: absolute;
  left: 60px;
  top: 60px;
  color: #fff;
  z-index: 3;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.slide-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  animation: fadeInText 1.2s cubic-bezier(.77, 0, .175, 1) forwards;
  animation-delay: 0.3s;
}

.slide-desc {
  font-size: 1.2rem;
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  animation: fadeInText 1.2s cubic-bezier(.77, 0, .175, 1) forwards;
  animation-delay: 0.7s;
}

@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.slide-title .emphasis {
  color: #39a8ff;
  font-size: 2.8rem;
  font-weight: bold;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  border: none;
  font-size: 2.2rem;
  padding: 8px 18px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}

.slider-btn.prev {
  left: 18px;
}

.slider-btn.next {
  right: 18px;
}

.slider-btn:hover {
  background: rgba(0, 120, 215, 0.7);
}

.slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.2s;
}

.slider-dot.active {
  background: #0078d7;
}

/* 메인 카드 버튼 (스크롤 등장 애니메이션) */
.main-buttons {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-top: 32px;
  margin-bottom: 56px;
  /* 버튼 아래 여백 추가 */
}

.main-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #0078d7;
  border: none;
  border-radius: 16px;
  padding: 28px 24px;
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(0, 120, 215, 0.13), 0 1.5px 6px rgba(0, 120, 215, 0.10);
  cursor: pointer;
  outline: none;
  backdrop-filter: blur(8px);
  transition:
    background 0.35s cubic-bezier(.77, 0, .175, 1),
    color 0.25s cubic-bezier(.77, 0, .175, 1),
    box-shadow 0.25s cubic-bezier(.77, 0, .175, 1),
    transform 0.18s cubic-bezier(.77, 0, .175, 1),
    opacity 0.85s cubic-bezier(.77, 0, .175, 1);
  opacity: 0;
  /* 스크롤 등장 전 숨김 */
  transform: translateY(40px) scale(0.98);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 180px;
  max-width: 260px;
  width: 100%;
  min-height: 120px;
  word-break: keep-all;
  white-space: normal;
  text-align: center;
}

.main-btn.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.btn-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: #0078d7;
  margin-bottom: 10px;
  line-height: 1.1;
}

.btn-desc {
  font-size: 1.05rem;
  color: #444;
  opacity: 0.85;
  text-align: center;
  line-height: 1.5;
  word-break: keep-all;
  white-space: normal;
}

.main-btn:hover {
  background: rgba(0, 120, 215, 0.13);
  color: #fff;
  box-shadow: 0 16px 48px rgba(0, 120, 215, 0.18), 0 1.5px 6px rgba(0, 120, 215, 0.10);
  transform: translateY(-4px) scale(1.04);
}

.main-btn.clicked {
  transform: scale(0.93);
  transition: transform 0.13s cubic-bezier(.77, 0, .175, 1);
}

/* 메인 정보 영역도 스크롤 애니메이션 */
.main-info,
.products-info {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.9s cubic-bezier(.77, 0, .175, 1),
    transform 0.9s cubic-bezier(.77, 0, .175, 1);
}

.main-info.visible,
.products-info.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.main-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 56px;
  /* 슬라이더와의 간격 추가 */
}

.products-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-info-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #3bb7ff;
  margin-bottom: 18px;
  letter-spacing: 2px;
}

.main-info-desc {
  font-size: 1.15rem;
  color: #444;
  line-height: 1.7;
}

.products-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0078d7;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.products-desc {
  font-size: 1.15rem;
  color: #444;
  line-height: 1.7;
}

.products-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin-top: 38px;
  margin-bottom: 24px;
}

.product-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #0078d7;
  border: none;
  border-radius: 16px;
  padding: 26px 18px;
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(0, 120, 215, 0.10), 0 1.5px 6px rgba(0, 120, 215, 0.08);
  cursor: pointer;
  outline: none;
  backdrop-filter: blur(8px);
  transition:
    background 0.35s cubic-bezier(.77, 0, .175, 1),
    color 0.25s cubic-bezier(.77, 0, .175, 1),
    box-shadow 0.25s cubic-bezier(.77, 0, .175, 1),
    transform 0.18s cubic-bezier(.77, 0, .175, 1);
  min-width: 160px;
  max-width: 220px;
  width: 100%;
  min-height: 90px;
  text-align: center;
  word-break: keep-all;
  white-space: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.9s cubic-bezier(.77, 0, .175, 1),
    transform 0.9s cubic-bezier(.77, 0, .175, 1);
}

.product-btn .btn-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0078d7;
  line-height: 1.3;
  word-break: keep-all;
  white-space: normal;
}

.product-btn:hover {
  background: rgba(0, 120, 215, 0.13);
  color: #fff;
  box-shadow: 0 12px 36px rgba(0, 120, 215, 0.16), 0 1.5px 6px rgba(0, 120, 215, 0.10);
  transform: translateY(-4px) scale(1.04);
}

.scroll-animate {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 1.1s cubic-bezier(.77, 0, .175, 1), transform 1.1s cubic-bezier(.77, 0, .175, 1);
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* 추가된 제품 데코 섹션 스타일 */
.product-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  background: #666;
  padding: 48px 0;
  margin: 48px 0 0 0;
  width: 100vw;
  /* 가로 전체 꽉 채움 */
  max-width: 100vw;
  /* 가로 전체 꽉 채움 */
  border-radius: 0;
  /* 모서리 둥글기 제거 */
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  margin-left: calc(-50vw + 50%);
  /* 중앙 정렬 보정 */
  margin-right: 0;
}

.product-deco-img {
  width: 340px;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  background: #fff;
}

.product-deco-text {
  color: #fff;
  text-align: left;
  max-width: 520px;
}

.deco-title {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 1px;
}

.deco-desc {
  font-size: 1.15rem;
  line-height: 1.6;
}

.deco-bottom-buttons {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 38px 0 0 0;
  /* 데코와의 간격 */
}

.deco-btn {
  background: #f5f5f5;
  color: #444;
  border: none;
  border-radius: 6px;
  padding: 12px 28px;
  font-size: 1.08rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  cursor: pointer;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s;
}

.deco-btn:hover {
  background: #0078d7;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 120, 215, 0.13);
}

.deco-bottom-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 38px 0 0 0;
}

.deco-link {
  color: #444;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0 18px;
  transition: color 0.18s;
}

.deco-link:hover {
  color: #0078d7;
  text-decoration: underline;
}

.deco-divider {
  color: #bbb;
  font-size: 1rem;
  font-weight: 400;
  user-select: none;
}

.company-info-text {
  text-align: center;
  font-size: 0.7rem;
  color: #888;
  margin: 18px 0 0 0;
  line-height: 1.7;
  letter-spacing: 0.2px;
  word-break: keep-all;
}

#main-content {
  transition: opacity 0.35s cubic-bezier(.77, 0, .175, 1);
}

@media (max-width: 900px) {
  .header-inner {
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 12px 0;
    height: auto;
  }

  .logo {
    flex: 1;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0;
    margin-left: 0 !important;
  }

  .language-toggle {
    flex: 1;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    margin-top: 0;
    margin-right: 0 !important;
  }

  /* 네비게이션 숨김은 그대로 유지 */
  .main-nav,
  .nav-list,
  .nav-item,
  .dropdown-menu {
    display: none !important;
  }

  .toggle-label {
    font-size: 0.7rem !important;
  }

  .lang-ko,
  .lang-en {
    font-size: 0.7rem !important;
  }
}

.main-nav,
.nav-list,
.nav-item,
.dropdown-menu {
  display: none !important;
}

@media (max-width: 900px) {
  .main-buttons {
    flex-direction: column;
    gap: 26px;
    align-items: center;
  }

  .main-btn {
    width: 96%;
    max-width: 420px;
  }

  .products-buttons {
    gap: 18px;
  }

  .product-btn {
    min-width: 120px;
    max-width: 98%;
  }

  .product-deco {
    flex-direction: column;
    gap: 24px;
    padding: 32px 0;
  }

  .product-deco-img {
    width: 96vw;
    max-width: 340px;
    height: 180px;
  }

  .product-deco-text {
    text-align: center;
  }

  .header-inner {
    flex-direction: column;
    height: auto;
  }

  .main-nav .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-item {
    margin-bottom: 8px;
  }
}

/* 헤더 반응형 스타일 */
@media (max-width: 900px) {
  header {
    height: auto;
    padding: 0 8px;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    gap: 0;
    padding: 12px 0;
  }

  .logo {
    justify-content: center;
    margin-bottom: 8px;
  }

  .main-nav {
    width: 100%;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
    align-items: stretch;
  }

  .nav-item {
    width: 100%;
    margin-bottom: 0;
  }

  .nav-link {
    padding: 14px 0;
    width: 100%;
    display: block;
    font-size: 1.08rem;
    text-align: left;
    border-bottom: 1px solid #e3f3ff;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    width: 100%;
    background: #f7fafd;
    border-radius: 0 0 12px 12px;
    margin-top: 0;
    left: 0;
    min-width: 0;
    padding: 0;
    z-index: 1;
  }

  .dropdown-link {
    padding: 14px 24px;
    font-size: 1.08rem;
    border-radius: 0;
    border-bottom: 1px solid #e3f3ff;
  }

  .dropdown-menu li:last-child .dropdown-link {
    border-bottom: none;
  }

  .language-toggle {
    margin-left: 0;
    margin-top: 8px;
    align-self: flex-end;
  }
}

/* 팝업 모달 스타일 */
.popup-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s cubic-bezier(.77, 0, .175, 1);
}

.popup-modal.active {
  display: flex;
  background: rgba(30, 40, 60, 0.18);
  animation: popupFadeIn 0.35s cubic-bezier(.77, 0, .175, 1);
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.popup-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 40, 60, 0.18);
  backdrop-filter: blur(2px);
}

.popup-content {
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.13);
  padding: 38px 32px 28px 32px;
  min-width: 630px;
  /* 기존 420px → 1.5배 */
  max-width: 96vw;
  width: 630px;
  /* 기존 420px → 1.5배 */
  margin: auto;
  z-index: 2;
  animation: popupSlideUp 0.38s cubic-bezier(.77, 0, .175, 1);
}

@keyframes popupSlideUp {
  from {
    transform: translateY(60px) scale(0.98);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.popup-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #888;
  cursor: pointer;
  transition: color 0.18s;
  z-index: 3;
}

.popup-close:hover {
  color: #0078d7;
}

.popup-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #0078d7;
  text-align: left;
}

.popup-body {
  font-size: 1rem;
  color: #444;
  min-height: 80px;
  text-align: left;
  max-height: 420px;
  overflow-y: auto;
}

/* 헤더 최신 드롭다운 스타일 */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  height: 72px;
}

.logo img {
  height: 40px;
}

.main-nav .nav-list {
  list-style: none;
  display: flex;
  gap: 38px;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: #222;
  font-size: 1.08rem;
  font-weight: 600;
  padding: 8px 0;
  display: inline-block;
  transition: color 0.18s;
}

.nav-link:hover,
.nav-item:hover>.nav-link,
.nav-item:focus-within>.nav-link {
  color: #0078d7;
}

.arrow {
  font-size: 0.8em;
  margin-left: 4px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  min-width: 190px;
  background: linear-gradient(135deg, #e3f3ff 0%, #fff 100%);
  box-shadow: 0 12px 36px rgba(0, 120, 215, 0.18), 0 1.5px 6px rgba(0, 0, 0, 0.10);
  border-radius: 16px;
  padding: 18px 0 12px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.98);
  transition:
    opacity 0.32s cubic-bezier(.77, 0, .175, 1),
    transform 0.32s cubic-bezier(.77, 0, .175, 1),
    box-shadow 0.22s cubic-bezier(.77, 0, .175, 1);
  backdrop-filter: blur(12px);
  border: 1.5px solid #cbe7ff;
}

.dropdown.open .dropdown-menu {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  box-shadow: 0 24px 48px rgba(0, 120, 215, 0.22), 0 1.5px 6px rgba(0, 0, 0, 0.13);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 32px;
  color: #0078d7;
  text-decoration: none;
  font-size: 1.08rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.22s, color 0.22s, transform 0.18s;
  position: relative;
}

.dropdown-link:hover {
  background: linear-gradient(90deg, #e3f3ff 0%, #cbe7ff 100%);
  color: #0057b7;
  transform: translateX(6px) scale(1.04);
}

.dropdown-menu li:not(:last-child) {
  border-bottom: 1px solid #e3f3ff;
}

.arrow {
  font-size: 0.9em;
  margin-left: 6px;
  color: #39a8ff;
  transition: transform 0.22s;
}

.dropdown:hover .arrow {
  transform: rotate(180deg) scale(1.2);
  color: #0057b7;
}

.main-deco-section {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #666;
  padding: 48px 0;
  gap: 48px;
}

.main-deco-img {
  width: 420px;
  max-width: 90vw;
  border-radius: 6px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.13);
  object-fit: cover;
}

.main-deco-text {
  color: #fff;
  text-align: left;
  min-width: 320px;
}

.main-deco-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.main-deco-desc {
  font-size: 1.18rem;
  font-weight: 400;
}

@media (max-width: 900px) {
  .main-deco-section {
    flex-direction: column;
    gap: 24px;
    padding: 32px 0;
  }

  .main-deco-img {
    width: 96vw;
    max-width: 340px;
    height: 180px;
  }

  .main-deco-text {
    text-align: center;
    min-width: 0;
  }
}

/* 회사 소개 섹션 스타일 */
.company-section {
  max-width: 1200px;
  margin: 48px auto 0 auto;
  background: #fff;
  border-radius: 8px;
  padding: 32px 32px 48px 32px;
}

.company-title {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.company-breadcrumb {
  background: #eef2f5;
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 1.08rem;
  color: #666;
  margin-bottom: 28px;
  display: flex;
  gap: 8px;
}

.breadcrumb-active {
  color: #0078d7;
  font-weight: 600;
}

.company-content {
  display: flex;
  gap: 38px;
  align-items: flex-start;
}

.company-img {
  width: 380px;
  max-width: 90vw;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.13);
  object-fit: cover;
}

.company-desc {
  flex: 1;
  color: #222;
  font-size: 1.08rem;
  line-height: 1.8;
}

.company-desc-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.company-sign {
  display: block;
  margin-top: 32px;
  text-align: right;
  color: #666;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .company-content {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }

  .company-img {
    width: 96vw;
    max-width: 340px;
    height: auto;
  }

  .company-desc {
    text-align: center;
  }
}

/* 제품 상세 섹션 스타일 */
.product-section {
  max-width: 1200px;
  margin: 48px auto 0 auto;
  background: #fff;
  border-radius: 8px;
  padding: 32px 32px 48px 32px;
}

.product-title {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.product-breadcrumb {
  background: #eef2f5;
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 1.08rem;
  color: #666;
  margin-bottom: 28px;
  display: flex;
  gap: 8px;
}

.product-content {
  display: flex;
  gap: 38px;
  align-items: flex-start;
}

.product-img {
  width: 420px;
  max-width: 90vw;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.13);
  object-fit: cover;
}

.product-desc {
  flex: 1;
  color: #222;
  font-size: 1.08rem;
  line-height: 1.8;
}

.product-desc-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-desc-sub {
  font-size: 1.08rem;
  color: #666;
  margin-bottom: 18px;
}

.product-details strong {
  font-size: 1.15rem;
  margin-bottom: 8px;
  display: block;
}

.product-details ul {
  margin: 0;
  padding-left: 18px;
}

.product-details li {
  margin-bottom: 6px;
}

.product-subtype {
  margin-top: 38px;
}

.subtype-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.subtype-images {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.subtype-images img {
  width: 540px;
  max-width: 98vw;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
  object-fit: contain;
  /* cover → contain */
  margin-bottom: 12px;
  background: #fff;
  /* 투명 PNG 대비 */
}

@media (max-width: 900px) {
  .product-content {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }

  .product-img {
    width: 96vw;
    max-width: 340px;
    height: auto;
  }

  .product-desc {
    text-align: center;
  }

  .subtype-images {
    justify-content: center;
    gap: 12px;
  }
}

@media (max-width: 900px) {
  .products-buttons {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .product-btn {
    min-width: 60px;
    max-width: 48%;
    font-size: 0.85rem;
    padding: 10px 0;
    height: 48px;
  }

  .btn-title {
    font-size: 1rem;
    line-height: 1.2;
  }

  @media (max-width: 900px) {
    .product-content img[alt="도로안전표지판지주"] {
      width: 300px !important;
      max-width: 96vw !important;
    }
  }
}

/* 강조 애니메이션 (1초간 scale+shadow) */
.products-info.highlight-animate {
  animation: pop-glow 0.7s cubic-bezier(.42, 1.41, .56, .91);
  z-index: 2;
  box-shadow: 0 0 24px 6px #1e88e5b0, 0 4px 16px rgba(0, 0, 0, 0.10);
}

@keyframes pop-glow {
  0% {
    transform: scale(1) translateY(0);
    box-shadow: none;
  }

  25% {
    transform: scale(1.05) translateY(-8px);
    box-shadow: 0 0 32px 8px #1976d2cc, 0 4px 18px rgba(0, 0, 0, 0.18);
  }

  70% {
    transform: scale(1.01) translateY(0);
    box-shadow: 0 0 12px 2px #1976d2aa, 0 4px 10px rgba(0, 0, 0, 0.08);
  }

  100% {
    transform: scale(1) translateY(0);
    box-shadow: none;
  }
}

.cert-section {
  max-width: 1000px;
  margin: 50px auto 70px;
  padding: 0 18px;
  text-align: center;
}

.cert-title-main {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  color: #264879;
}

.cert-desc {
  color: #444;
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 34px 26px;
  justify-content: center;
}

.cert-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(30, 90, 180, 0.07);
  border: 1.5px solid #e3e6f1;
  padding: 26px 12px 22px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
}

.cert-card:hover {
  transform: translateY(-7px) scale(1.035);
  box-shadow: 0 8px 26px rgba(30, 90, 180, 0.13);
}

.cert-thumb {
  width: 92px;
  height: 112px;
  object-fit: contain;
  margin-bottom: 17px;
  border-radius: 9px;
  border: 1px solid #f0f0f0;
  background: #fafdff;
  box-shadow: 0 2px 8px rgba(30, 90, 180, 0.07);
}

.cert-title {
  font-weight: 600;
  font-size: 1.12rem;
  color: #264879;
  margin-bottom: 7px;
  word-break: keep-all;
}

.cert-meta {
  font-size: 0.97rem;
  color: #787f95;
  margin-bottom: 2px;
}

@keyframes imgPopupShow {
  0% {
    transform: scale(0.7) rotate(-8deg);
    opacity: 0;
  }

  60% {
    transform: scale(1.08) rotate(2deg);
    opacity: 1;
  }

  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

#img-popup-img.show-animate {
  animation: imgPopupShow 0.55s cubic-bezier(.77, 0, .175, 1);
}