:root {
  --primary-color: #00bfff;
  --dark-color: #003366;
  --bg-gray: #f9f9f9;
  --text-main: #333;
  --text-light: #666;
  --header-h: 90px;
  --header-h-m: 70px;
  --header-current: var(--header-h);
  --safe-zone-bottom: 18px;
  --safe-zone-mobile-bottom: 16px;
  --tab-active: #0056b3;
}

@media (max-width:768px) {
  :root {
    --header-current: var(--header-h-m);
  }
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  background: #fff;
  color: var(--text-main);
  overflow-x: hidden
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0
}

button,
input,
select,
textarea {
  font: inherit
}

button {
  font-family: inherit
}

/* Global shell */
#pageRoot {
  padding-top: var(--header-h);
  min-height: calc(100vh - 220px)
}

@supports (height:100dvh) {
  #pageRoot {
    min-height: calc(100dvh - 220px)
  }
}

@media (max-width:768px) {
  #pageRoot {
    padding-top: var(--header-h-m)
  }
}

/* Header */
#siteHeader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  background: rgba(0, 30, 60, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 9999;
  backdrop-filter: blur(10px);
}

#siteHeader .header-inner {
  width: 100%;
  max-width: none;
  height: 100%;
  padding: 0 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

#siteHeader .logo {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
}

#siteHeader .logo span {
  min-height: 12px;
  font-size: 12px;
  color: #cfd8e3
}

#siteHeader .mobile-menu-btn {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  touch-action: manipulation;
}

#siteHeader .mobile-call-btn {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  /* 완벽한 원형 */
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  /* 은은한 반투명 배경 */
  border: 1px solid rgba(255, 255, 255, 0.2);
  /* 얇고 깔끔한 테두리 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  /* 부드러운 그림자 */

  /* 애플 특유의 블러(유리) 효과 */
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);

  transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  touch-action: manipulation;
}

#siteHeader .mobile-call-btn svg {
  width: 17px;
  height: 17px;
  display: block;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

#siteHeader .mobile-call-btn:hover {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .32) 0%, rgba(255, 255, 255, .13) 52%, rgba(255, 255, 255, .06) 100%),
    rgba(255, 255, 255, .1);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .4),
    inset 0 -1px 0 rgba(255, 255, 255, .1);
}

#siteHeader .mobile-call-btn:active {
  transform: scale(0.92);
  background: rgba(255, 255, 255, 0.25);
}

#siteHeader .btn-quote {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--primary-color);
  color: #fff;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 191, 255, 0.18);
}

#siteHeader .btn-quote:hover {
  background: #009acd
}

#navbar {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%
}

#siteHeader .menu-group {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 100%
}

#siteHeader .menu-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center
}

#siteHeader .menu-trigger,
#siteHeader .submenu-trigger {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  margin: 0;
  padding: 0;
  box-shadow: none;
  outline: none;
  cursor: pointer;
  border-radius: 0;
}

#siteHeader .menu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

#siteHeader .menu-item:hover>.menu-trigger,
#siteHeader .menu-item.top-active>.menu-trigger {
  color: var(--primary-color)
}

#siteHeader .dropdown {
  position: absolute;
  top: var(--header-h);
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  padding: 10px 0;
  border-radius: 0 0 8px 8px;
  background: rgba(0, 30, 60, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

#siteHeader .dropdown::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

#siteHeader .dropdown-link,
#siteHeader .submenu-trigger.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: transparent;
  text-align: left;
}

#siteHeader .dropdown-link:last-child {
  border-bottom: 0
}

#siteHeader .dropdown-link:hover,
#siteHeader .submenu-trigger.dropdown-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-color)
}

#siteHeader .has-submenu {
  position: relative
}

#siteHeader .has-submenu .submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 220px;
  padding: 10px 0;
  background: rgba(0, 30, 60, 0.98);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  border-radius: 0 8px 8px 8px;
  z-index: 1001;
}

#siteHeader .has-submenu .submenu::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -14px;
  width: 14px;
}

@media (min-width:769px) {

  #siteHeader .menu-item:hover>.dropdown,
  #siteHeader .menu-item.is-open>.dropdown {
    opacity: 1;
    visibility: visible
  }

  #siteHeader .has-submenu:hover>.submenu,
  #siteHeader .has-submenu.is-open>.submenu {
    display: block
  }

  #siteHeader .has-submenu>.submenu-trigger::after {
    content: '>';
    font-size: 12px;
    opacity: .7
  }
}

/* Mobile menu */
body.nav-open {
  overflow: hidden
}

@media (max-width:768px) {
  #siteHeader {
    height: var(--header-h-m)
  }

  #siteHeader .header-inner {
    padding: 0 12px;
    gap: 10px;
    justify-content: flex-start
  }

  #siteHeader .logo {
    font-size: 20px;
    min-width: 0
  }

  #siteHeader .logo span {
    display: none
  }

  #siteHeader .btn-quote {
    display: none
  }

  #siteHeader .mobile-call-btn {
    display: inline-flex;
    margin-left: 0;
    /* 로고와 분리하여 우측 끝으로 밀어냅니다 */
    margin-right: 0;
    /* 햄버거 메뉴와의 간격 띄우기 */
  }

  #siteHeader .mobile-menu-btn {
    display: inline-flex;
    margin-left: auto;
    /* 기존 auto 속성 제거 (전화 버튼이 대신 밀어줌) */
  }

  #navbar {
    display: none;
    position: fixed;
    top: var(--header-h-m);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-h-m));
    height: calc(100dvh - var(--header-h-m));
    max-height: calc(100vh - var(--header-h-m));
    max-height: calc(100dvh - var(--header-h-m));
    background: rgba(0, 30, 60, 0.985);
    overflow-y: auto;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.3);
  }

  #navbar.active {
    display: block
  }

  #navbar::-webkit-scrollbar {
    display: none
  }

  #siteHeader .menu-group {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    height: auto
  }

  #siteHeader .menu-item {
    display: block;
    height: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06)
  }

  #siteHeader .menu-trigger {
    width: 100%;
    min-height: 52px;
    padding: 16px 18px;
    justify-content: space-between;
    text-align: left;
    color: #fff;
    position: relative
  }

  #siteHeader .menu-item.has-dropdown>.menu-trigger::after {
    content: '▼';
    font-size: 12px;
    opacity: .65
  }

  #siteHeader .menu-item.is-open>.menu-trigger::after {
    content: '▲'
  }

  #siteHeader .menu-item.has-dropdown>.menu-trigger::after {
    content: '';
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-left: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    opacity: .65;
    transition: transform .2s ease, opacity .2s ease;
  }

  #siteHeader .menu-item.is-open>.menu-trigger::after {
    content: '';
    transform: rotate(-135deg) translate(-1px, -1px);
  }

  #siteHeader .dropdown {
    position: static;
    transform: none;
    display: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    width: 100%;
    padding: 6px 0;
    margin: 0;
    background: rgba(0, 0, 0, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: none;
    border-radius: 0;
  }

  #siteHeader .dropdown::before,
  #siteHeader .has-submenu>.submenu::before {
    display: none
  }

  #siteHeader .menu-item.is-open>.dropdown {
    display: block
  }

  #siteHeader .dropdown-link,
  #siteHeader .submenu-trigger.dropdown-link {
    padding: 12px 44px 12px 18px;
    color: rgba(255, 255, 255, 0.88);
    position: relative
  }

  #siteHeader .has-submenu {
    position: static
  }

  #siteHeader .has-submenu>.submenu-trigger::after {
    content: '+';
    font-size: 15px;
    opacity: .7
  }

  #siteHeader .has-submenu.is-open>.submenu-trigger::after {
    content: '−'
  }

  #siteHeader .has-submenu>.submenu-trigger::before,
  #siteHeader .has-submenu>.submenu-trigger::after {
    content: '';
    position: absolute;
    right: 18px;
    top: 50%;
    width: 10px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: translateY(-50%);
    opacity: .7;
    transition: transform .2s ease, opacity .2s ease;
  }

  #siteHeader .has-submenu>.submenu-trigger::before {
    transform: translateY(-50%) rotate(90deg);
  }

  #siteHeader .has-submenu.is-open>.submenu-trigger::before {
    opacity: 0;
    transform: translateY(-50%) rotate(90deg) scaleX(.2);
  }

  #siteHeader .has-submenu.is-open>.submenu-trigger::after {
    content: '';
  }

  #siteHeader .has-submenu>.submenu {
    display: none;
    position: static;
    min-width: 0;
    margin: 6px 10px 10px;
    padding: 6px 0;
    background: rgba(255, 255, 255, 0.04);
    border-left: 0;
    box-shadow: none;
    border-radius: 10px;
  }

  #siteHeader .has-submenu.is-open>.submenu {
    display: block
  }
}

/* Footer */
#siteFooter {
  background: #111;
  color: #888;
  padding: 50px 20px;
  text-align: center;
  font-size: 14px;
  border-top: 1px solid #222
}

#siteFooter .footer-info {
  max-width: 1000px;
  margin: 0 auto 20px;
  line-height: 1.6
}

#siteFooter .f-info-line {
  margin-bottom: 5px;
  word-break: keep-all
}

#siteFooter .f-info-line strong {
  color: #ddd;
  margin-right: 5px;
  font-weight: 700
}

#siteFooter .f-info-item {
  display: inline-block;
  margin: 0 10px;
  position: relative
}

#siteFooter .f-info-item::after {
  content: '|';
  position: absolute;
  right: -13px;
  color: #444
}

#siteFooter .f-info-item:last-child::after {
  display: none
}

#siteFooter .footer-copy {
  color: #555;
  font-size: 13px;
  margin-top: 20px
}

@media (max-width:768px) {
  #siteFooter {
    padding: 40px 20px
  }

  #siteFooter .footer-info {
    font-size: 12px;
    margin-bottom: 15px
  }

  #siteFooter .f-info-line {
    margin-bottom: 4px;
    line-height: 1.4
  }

  #siteFooter .f-info-item {
    margin: 0 6px
  }

  #siteFooter .f-info-item::after {
    right: -8px
  }

  #siteFooter .footer-copy {
    font-size: 11px;
    margin-top: 15px
  }
}

/* Unified sub-hero + tabs */
#pageRoot .sub-hero {
  height: 350px !important;
  padding-top: var(--header-current) !important
}

#pageRoot .tab-menu-wrapper,
#pageRoot .tab-menu,
#pageRoot .tab-menu-wrapper .tab-menu {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: var(--header-current);
  z-index: 800;
}

#pageRoot .tab-menu,
#pageRoot .tab-menu-wrapper .tab-menu {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 20px;
  height: 60px;
}

#pageRoot .tab-btn {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 10px;
  background: transparent;
  border: 0;
  font-size: 15px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  white-space: nowrap
}

#pageRoot .tab-btn:hover {
  color: var(--tab-active)
}

#pageRoot .tab-btn.active {
  color: var(--tab-active);
  font-weight: 700
}

#pageRoot .tab-btn.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--tab-active)
}

/* Product category tabs */
#pageRoot .nav-bar-wrapper {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: var(--header-current);
  z-index: 850
}

#pageRoot .nav-bar {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px
}

#pageRoot .category-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  height: 100%
}

#pageRoot .cat-link {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 4px;
  font-size: 15px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  white-space: nowrap
}

#pageRoot .cat-link:hover {
  color: var(--tab-active)
}

#pageRoot .cat-link.active {
  color: var(--tab-active);
  font-weight: 700
}

#pageRoot .cat-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--tab-active)
}

#pageRoot .breadcrumb,
#pageRoot .breadcrumb-wrap,
#pageRoot .breadcrumb-inline,
#pageRoot .home-link {
  display: none !important
}

@media (max-width:768px) {
  #pageRoot .sub-hero {
    height: 250px !important
  }

  #pageRoot .tab-menu-wrapper,
  #pageRoot .nav-bar-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap
  }

  #pageRoot .tab-menu,
  #pageRoot .tab-menu-wrapper .tab-menu,
  #pageRoot .nav-bar {
    max-width: none;
    width: max-content;
    padding: 0 16px;
    height: 56px;
    gap: 22px
  }

  #pageRoot .tab-btn,
  #pageRoot .cat-link {
    font-size: 15px;
    height: 56px;
    padding: 0 8px
  }

  #pageRoot .category-tabs {
    gap: 22px
  }

  #pageRoot .tab-menu-wrapper,
  #pageRoot .tab-menu,
  #pageRoot .tab-menu-wrapper .tab-menu {
    position: static !important;
    top: auto !important;
    inset: auto !important;
    z-index: auto !important;
  }

  #pageRoot[data-page="public"] .tab-menu-wrapper {
    position: relative !important
  }

  #pageRoot[data-page="public"] .tab-menu {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    touch-action: pan-x;
    scrollbar-width: none;
  }

  #pageRoot[data-page="public"] .tab-menu::-webkit-scrollbar {
    display: none
  }

  #pageRoot[data-page="public"] .tab-btn {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }
}

/* Tables */
#pageRoot .table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 0
}

#pageRoot .table-scroll::-webkit-scrollbar {
  height: 6px
}

#pageRoot .table-scroll table {
  min-width: 720px
}

@media (max-width:768px) {
  #pageRoot .table-scroll table {
    min-width: 640px
  }
}

@supports (height:100dvh) {

  #pageRoot .modal,
  #pageRoot .cert-modal-overlay,
  #pageRoot .calc-modal-overlay {
    min-height: 100dvh !important;
    height: 100dvh !important;
  }

  #pageRoot .modal-content {
    height: 95dvh !important;
    max-height: 95dvh !important;
  }

  #pageRoot .cert-modal-content,
  #pageRoot .cert-modal-image {
    max-height: 90dvh !important;
  }

  #pageRoot .detail-hero {
    min-height: 100dvh !important;
    height: 100dvh !important;
  }
}

/* Floating UI safe zone */
#pageRoot .floating-btn {
  bottom: var(--safe-zone-bottom) !important;
  right: 18px !important;
  z-index: 10020 !important
}

.call-bubble {
  position: fixed;
  right: 18px;
  bottom: calc(var(--safe-zone-mobile-bottom) + 64px);
  z-index: 10030;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(0, 30, 60, 0.92);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
  cursor: pointer;
  user-select: none
}

.call-bubble .icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 191, 255, 0.18);
  border: 1px solid rgba(0, 191, 255, 0.35)
}

.call-bubble .icon svg {
  width: 18px;
  height: 18px;
  fill: #fff
}

.call-bubble .text {
  display: flex;
  flex-direction: column;
  line-height: 1.12
}

.call-bubble .label {
  font-size: 11px;
  font-weight: 600;
  opacity: .85
}

.call-bubble .phone {
  font-size: 13px;
  font-weight: 900
}

@media (min-width:769px) {
  .call-bubble {
    display: none !important
  }
}

body.on-product-detail #pageRoot .floating-btn {
  bottom: 86px !important
}

body.on-product-detail .call-bubble {
  bottom: calc(var(--safe-zone-mobile-bottom) + 130px)
}

#pageRoot .detail-hero .back-to-list {
  position: fixed !important;
  top: calc(var(--header-current) + 14px) !important;
  left: 18px !important;
  z-index: 10040 !important
}

@media (max-width:768px) {
  #pageRoot .floating-btn {
    bottom: var(--safe-zone-mobile-bottom) !important;
    right: 14px !important;
    width: 56px !important;
    height: 56px !important
  }

  .call-bubble {
    right: 14px
  }

  #pageRoot .detail-hero .back-to-list {
    top: calc(var(--header-current) + 10px) !important;
    left: 14px !important
  }
}

/* Forms / dense mobile controls */
@media (max-width:768px) {
  #pageRoot .size-inputs {
    flex-direction: column;
    gap: 14px !important
  }

  #pageRoot .board-controls {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important
  }

  #pageRoot .board-search {
    display: grid !important;
    grid-template-columns: 1fr 1fr auto;
    gap: 8px !important;
    width: 100% !important
  }

  #pageRoot .board-search input {
    min-width: 0
  }

  #pageRoot .board-count {
    width: 100% !important;
    text-align: right !important;
    white-space: nowrap !important
  }

  #pageRoot .number-display {
    min-width: 100% !important;
    padding: 28px 20px !important
  }

  #pageRoot .nd-number {
    font-size: clamp(22px, 7vw, 40px) !important;
    letter-spacing: 1px !important
  }

  #pageRoot .btn-call-action {
    width: 100% !important;
    justify-content: center !important;
    font-size: 18px !important;
    padding: 18px !important
  }

  #pageRoot .type-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important
  }
}

@media (max-width:480px) {
  #pageRoot .type-grid {
    grid-template-columns: 1fr !important
  }

  #pageRoot .board-search {
    grid-template-columns: 1fr !important
  }
}

/* About page inline-style cleanup */
#pageRoot .ceo-kicker {
  color: #00bfff;
  font-weight: 700;
  letter-spacing: 1px
}

#pageRoot .ceo-desc-spaced {
  margin-bottom: 30px
}

#pageRoot .ceo-signature {
  margin-top: 40px;
  font-weight: 700;
  font-size: 20px;
  color: #111
}

#pageRoot .ceo-signature span {
  font-size: 24px
}

#pageRoot .about-cert-section {
  background: #f4f6f9;
  padding: 60px 0
}

#pageRoot .about-cert-header {
  text-align: center;
  margin-bottom: 40px
}

#pageRoot .about-cert-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap
}

#pageRoot .about-cert-item {
  background: transparent;
  border: 0;
  padding: 0;
  text-align: center;
  max-width: 200px
}

#pageRoot .about-cert-thumb {
  width: 120px;
  height: 170px;
  object-fit: cover;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px
}

#pageRoot .about-cert-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: #333
}

@media (max-width:768px) {
  #pageRoot .about-cert-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    justify-content: stretch !important;
    align-items: start !important;
    gap: 20px 14px !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 16px !important;
  }

  #pageRoot .about-cert-item {
    width: 100% !important;
    max-width: none !important;
  }

  #pageRoot .about-cert-thumb {
    width: min(100%, 120px) !important;
    height: auto !important;
    aspect-ratio: 12 / 17;
    object-fit: cover !important;
  }

  #pageRoot .about-cert-name {
    font-size: 15px !important;
    line-height: 1.45 !important;
    word-break: keep-all !important;
  }
}

#pageRoot .location-section {
  background: #f9f9f9
}

#pageRoot .map-view--embed {
  width: 100%;
  height: 100%;
  min-height: 400px
}

#pageRoot .map-frame {
  border: 0;
  border-radius: 8px
}

/* Blog / portfolio cleanup */
#pageRoot .blog-video-box--clean {
  margin: 2rem 0;
  text-align: center
}

#pageRoot .blog-video {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1)
}

#pageRoot .blog-caption--video {
  display: block;
  margin-top: 10px
}

#pageRoot .portfolio-cta-divider {
  margin: 30px 0;
  border: 0;
  border-top: 1px solid #ddd
}

#pageRoot .portfolio-cta-note {
  text-align: center;
  font-weight: 700;
  color: #003366
}

#pageRoot .catalog-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0
}

/* Responsive hero text + mobile art direction */
#pageRoot .hero-slider .slide-content h2 {
  font-size: clamp(28px, 5vw, 72px) !important;
  line-height: 1.3 !important;
  letter-spacing: -1px !important;
  word-break: keep-all !important
}

#pageRoot .hero-slider .slide-content p {
  font-size: clamp(15px, 2.3vw, 28px) !important;
  line-height: 1.5 !important;
  word-break: keep-all !important;
  opacity: .92 !important
}

@media (max-width:768px) {
  #pageRoot .hero-slider .slide-content {
    padding: 0 24px !important;
    width: 100% !important
  }

  #pageRoot .hero-slider .slide-content h2 br {
    display: none !important
  }

  #pageRoot .hero-slider .slide .slide-bg[style*="contain"] {
    background-size: cover !important;
    background-position: var(--mobile-focal, center) !important
  }

  #pageRoot .hero-slider .slide .slide-bg {
    background-position: var(--mobile-focal, center) !important
  }
}

/* iOS / mobile fallback for fixed backgrounds */
@media (max-width:768px) {
  #pageRoot .detail-hero {
    background-attachment: scroll !important
  }
}

/* Small polish */
#pageRoot .sub-hero p {
  word-break: keep-all
}

/* ==========================================================
   Patch: 태블릿(창 절반 크기) 화면 헤더 메뉴 깨짐 방지
   ========================================================== */
/* 1. 어떤 상황에서도 메뉴 글씨가 세로로 쪼개지지 않도록 강제 한 줄 보호 */
#siteHeader .menu-item {
  white-space: nowrap;
}

/* 2. 769px ~ 1200px (창을 절반으로 줄였을 때) 공간 다이어트 */
@media (max-width: 1200px) and (min-width: 769px) {
  #siteHeader .header-inner {
    padding: 0 20px;
  }

  /* 양옆 빈 공간 축소 */
  #siteHeader .menu-group {
    gap: 15px;
  }

  /* 메뉴 사이 간격 축소 */
  #siteHeader .menu-trigger {
    font-size: 14px;
  }

  /* 글자 크기 살짝 축소 */
  #siteHeader .logo {
    font-size: 20px;
  }

  /* 로고 크기 살짝 축소 */
  #siteHeader .btn-quote {
    padding: 10px 15px;
    font-size: 14px;
  }

  /* 견적 버튼 축소 */
}


/* ==========================================================
   [통합 패치] 태블릿 구간(769px ~ 1150px) 레이아웃 붕괴 완벽 방어
   - 메뉴 깨짐 방지 및 콘텐츠 찌그러짐 해결
   ========================================================== */
@media (max-width: 1150px) and (min-width: 769px) {

  /* 1. 헤더: 견적 문의 버튼 숨기고, 메뉴 간격 좁혀서 PC 메뉴 100% 살리기 */
  #siteHeader .btn-quote {
    display: none !important;
  }

  #siteHeader .menu-group {
    gap: 15px !important;
  }

  #siteHeader .header-inner {
    padding: 0 20px !important;
  }

  #siteHeader .menu-item {
    white-space: nowrap !important;
  }

  /* 2. 회사소개(CEO): 좁은 공간에서 가로 배치 포기하고 세로로 예쁘게 정렬 */
  .ceo-wrap {
    flex-direction: column !important;
    gap: 40px !important;
  }

  .ceo-img {
    width: 100% !important;
    height: 400px !important;
    padding: 10px !important;
    box-shadow: none !important;
  }

  /* 3. 오시는 길(Map): 지도와 텍스트 박스 세로 배치로 넓게 쓰기 */
  .map-container {
    flex-direction: column !important;
    height: auto !important;
  }

  .map-view {
    height: 400px !important;
  }
}


#pageRoot[data-page="contact"] .sub-hero {
  /* 가로는 정중앙(center), 세로는 위에서 20% 내려온 지점을 기준으로 잡습니다 */
  background-position: center 27% !important;
}

/* ==========================================================
   Patch 22: Before & After 이미지 세로 위치(초점) 미세 조정
   ========================================================== */
#pageRoot .ba-single-box img {
  /* 가로는 중앙(center), 세로는 위에서부터 15% 내려온 지점을 기준으로 잡습니다 */
  object-position: center 20% !important;
}


/* =========================================
   시네마틱 & 스크롤 리빌 애니메이션 엔진
   ========================================= */

/* 1. 기본 리빌(Reveal) 상태: 아래에 숨겨져 있고 투명함 */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  filter: blur(10px);
  transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity, filter;
}

/* 2. 활성화 상태: 제자리로 오면서 선명해짐 */
.reveal.active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* 3. 홈 슬라이더 전용 시네마틱 텍스트 효과 */
/* 글자가 아래에서 위로 차오르는 느낌을 줍니다 */
#pageRoot[data-page="home"] .slide-content h2 {
  overflow: hidden;
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
  transform: translateY(40px);
  filter: blur(15px);
  transition: all 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

#pageRoot[data-page="home"] .slide.active .slide-content h2 {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  transform: translateY(0);
  filter: blur(0);
}

#pageRoot[data-page="home"] .slide-content p {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
  /* 제목보다 0.4초 늦게 */
}

#pageRoot[data-page="home"] .slide.active .slide-content p {
  opacity: 1;
  transform: translateY(0);
}

/* 카드 아이템들이 순차적으로 올라오는 지연 효과 (Stagger) */
.reveal.active:nth-child(2) {
  transition-delay: 0.1s;
}

.reveal.active:nth-child(3) {
  transition-delay: 0.2s;
}

/* ==========================================================
   Advanced cinematic reveal overrides
   ========================================================== */
:root {
  --reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-duration: 1.08s;
  --reveal-distance: 54px;
  --reveal-blur: 14px;
  --reveal-scale: 0.985;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, var(--reveal-distance), 0) scale(var(--reveal-scale));
  filter: blur(var(--reveal-blur));
  transition:
    opacity var(--reveal-duration) var(--reveal-ease),
    transform var(--reveal-duration) var(--reveal-ease),
    filter calc(var(--reveal-duration) * .9) var(--reveal-ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
  backface-visibility: hidden;
}

.reveal--left {
  transform: translate3d(calc(var(--reveal-distance) * -0.9), calc(var(--reveal-distance) * .32), 0) scale(var(--reveal-scale));
}

.reveal--right {
  transform: translate3d(calc(var(--reveal-distance) * .9), calc(var(--reveal-distance) * .32), 0) scale(var(--reveal-scale));
}

.reveal--zoom {
  transform: translate3d(0, calc(var(--reveal-distance) * .48), 0) scale(.94);
}

.reveal--soft {
  filter: blur(calc(var(--reveal-blur) * 1.15)) saturate(.86);
}

.reveal.active {
  opacity: 1;
  transform: none;
  filter: none;
}

#pageRoot[data-page="home"] .slide-content {
  opacity: 1 !important;
}

#pageRoot[data-page="home"] .slide-content h2 {
  overflow: hidden;
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
  transform: translateY(42px);
  filter: blur(16px);
  transition:
    clip-path 1.45s var(--reveal-ease),
    transform 1.45s var(--reveal-ease),
    filter 1.45s var(--reveal-ease);
  transition-delay: .14s;
}

#pageRoot[data-page="home"] .slide.active .slide-content h2 {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  transform: translateY(0);
  filter: blur(0);
}

#pageRoot[data-page="home"] .slide-content p {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(8px);
  transition:
    opacity 1s var(--reveal-ease),
    transform 1s var(--reveal-ease),
    filter 1s var(--reveal-ease);
  transition-delay: .48s;
}

#pageRoot[data-page="home"] .slide.active .slide-content p {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {

  .reveal,
  .reveal.active,
  #pageRoot[data-page="home"] .slide-content h2,
  #pageRoot[data-page="home"] .slide-content p {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* ==========================================================
   포트폴리오 모달창 - 2열 이미지 그리드 (img-grid)
   ========================================================== */
.blog-img-grid {
  display: flex;
  gap: 20px;
  margin: 40px 0;
}

.blog-img-grid .grid-img-box {
  margin: 0;
  flex: 1;
}

@media (max-width: 768px) {
  .blog-img-grid {
    flex-direction: column;
  }
}

/* ==========================================================
   포트폴리오 모달창 - 2열 비디오 그리드 (video-grid)
   ========================================================== */
.blog-video-grid {
  display: flex;
  gap: 20px;
  margin: 40px 0;
}

.blog-video-grid .grid-video-box {
  margin: 0;
  flex: 1;
  text-align: center;
}

.blog-video-grid .blog-video {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .blog-video-grid {
    flex-direction: column;
  }
}

/* Legacy product menu cleanup */
#navbar .has-submenu:has(> a[href="#product/professional"]) {
  display: none;
}

#siteHeader .menu-item>.menu-trigger[data-page="public"]::after {
  content: none;
}

#pageRoot .g2b-desc {
  background: #eaf6ff;
  border-left: 4px solid #00bfff;
  border-radius: 6px;
  color: #004f80;
  font-weight: 700;
  padding: 12px 14px;
}

#pageRoot .public-grid.public-grid-all {
  grid-template-columns: repeat(3, minmax(260px, 1fr));
}

@media (max-width: 1024px) {
  #pageRoot .public-grid.public-grid-all {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
}

@media (max-width: 768px) {
  #pageRoot .public-grid.public-grid-all {
    grid-template-columns: 1fr;
  }
}

/* Public procurement hero */
#pageRoot .public-hero.sub-hero {
  height: 350px;
  background:
    radial-gradient(circle at 17% 48%, rgba(0, 140, 255, .16) 0, rgba(0, 140, 255, .08) 28%, rgba(0, 140, 255, 0) 56%) 0 0 / 70% 100% no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .74) 30%, rgba(255, 255, 255, .24) 54%, rgba(255, 255, 255, 0) 72%) 0 0 / 100% 100% no-repeat,
    url("images/public_hero_배경.webp") center center / cover no-repeat;
  background-color: #f4f8fc;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 22px !important;
  text-align: left;
  color: #101820;
  box-shadow: inset 0 -70px 90px rgba(255, 255, 255, .36);
}

#pageRoot .public-hero-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

#pageRoot .public-hero-copy {
  max-width: 510px;
  position: relative;
  word-break: keep-all;
}

#pageRoot .public-hero-kicker {
  display: block;
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 3px solid #005bac;
  color: #005bac;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

#pageRoot .public-hero-copy h1 {
  margin: 0 0 14px;
  color: #071724;
  font-size: clamp(30px, 3.1vw, 42px);
  font-weight: 900;
  line-height: 1.08;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .9), 0 14px 30px rgba(0, 45, 90, .12);
}

#pageRoot .public-hero-search {
  color: #005bac;
}

#pageRoot .public-hero-space {
  display: inline-block;
  margin: 0 .05em;
  color: #00aeea;
  font-size: .7em;
  font-weight: 900;
  transform: translateY(-.08em);
}

#pageRoot .public-hero-copy p {
  max-width: 500px;
  margin: 0;
  color: #24313f;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.48;
  opacity: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .82), 0 10px 24px rgba(0, 45, 90, .08);
}

#pageRoot .public-hero-copy p strong,
#pageRoot .public-hero-copy p span {
  display: block;
}

#pageRoot .public-hero-copy p strong {
  color: #005bac;
  font-size: 20px;
  font-weight: 900;
}

@media (max-width: 1024px) {
  #pageRoot .public-hero.sub-hero {
    height: 350px;
    background-size: 70% 100%, 100% 100%, cover;
    background-position: 0 0, 0 0, center center;
  }

  #pageRoot .public-hero-copy {
    max-width: 450px;
  }
}

@media (max-width: 768px) {
  #pageRoot .public-hero.sub-hero {
    height: 250px;
    min-height: 0;
    align-items: center;
    justify-content: center;
    padding: 0 20px !important;
    background:
      radial-gradient(circle at 20% 28%, rgba(0, 140, 255, .18) 0, rgba(0, 140, 255, .08) 30%, rgba(0, 140, 255, 0) 60%) 0 0 / 100% 100% no-repeat,
      linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .82) 54%, rgba(255, 255, 255, .36) 100%) 0 0 / 100% 100% no-repeat,
      url("images/public_hero_배경_mobile.webp") center 34% / cover no-repeat;
  }

  #pageRoot .public-hero-copy {
    max-width: 315px;
  }

  #pageRoot .public-hero-kicker {
    margin-bottom: 8px;
    font-size: 11px;
  }

  #pageRoot .public-hero-copy h1 {
    margin-bottom: 8px;
    font-size: 23px;
    line-height: 1.08;
  }

  #pageRoot .public-hero-copy p {
    max-width: 300px;
    font-size: 12.5px;
    line-height: 1.46;
  }

  #pageRoot .public-hero-copy p strong {
    font-size: 13.5px;
  }

}
