:root {
  --eco-shell-navy-950: #061d31;
  --eco-shell-navy-900: #082b47;
  --eco-shell-blue: #1aaed7;
  --eco-shell-blue-dark: #098eb7;
  --eco-shell-ink: #12263a;
  --eco-shell-muted: #647586;
  --eco-shell-line: #dce4e9;
  --eco-shell-soft: #f3f7f9;
  --eco-shell-container: 1320px;
  --eco-shell-header-height: 92px;
  --eco-shell-ease: cubic-bezier(.22, 1, .36, 1);
}

body { margin: 0; }

body.eco-index-shell-menu-open { overflow: hidden; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 9999; padding: 12px 18px; color: #fff !important; background: var(--eco-shell-navy-950); text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 16px; }
.container { width: min(calc(100% - 80px), var(--eco-shell-container)); margin-inline: auto; }

/* Global Site Header - Identical to index.html */
.site-header { position: relative; z-index: 1000; display: block !important; padding: 0 !important; color: var(--eco-shell-ink); background: #ffffff !important; font-family: "Pretendard Variable", Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.site-header :where(a, button), .footer a, .quick a { color: inherit; text-decoration: none; }
.site-header :where(a, button):focus-visible, .footer :where(a, button):focus-visible, .quick :where(a, button):focus-visible { outline: 3px solid rgba(26, 174, 215, .46); outline-offset: 4px; }

.utility { min-height: 42px; color: rgba(255,255,255,.9); background: var(--eco-shell-navy-950); font-size: 18px; padding: 6px 0; }
.utility .container { height: 100%; display: flex; align-items: center; justify-content: space-between; width: min(calc(100% - 80px), var(--eco-shell-container)); margin-inline: auto; }
.utility-brand { letter-spacing: .02em; font-size: 18px; white-space: nowrap; }
.utility-links { display: flex; align-items: center; gap: 22px; white-space: nowrap; }
.utility-links a { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: 18px; color: rgba(255,255,255,.9) !important; text-decoration: none; }
.utility-links a + a { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.24); }
.utility-links svg { width: 16px; height: 16px; flex-shrink: 0; }

.header-main { height: var(--eco-shell-header-height); border-bottom: 1px solid rgba(5,30,49,.1); background: #ffffff !important; }
.header-main .container { display: flex; height: 100%; align-items: center; }
.brand { flex: 0 0 auto; width: 238px; }
.brand img { display: block; width: 220px; height: auto; filter: none !important; opacity: 1 !important; }

@media (max-width: 1160px) {
  .header-main .brand img, .brand img { width: 194px !important; }
}
@media (max-width: 768px) {
  .header-main .brand img, .brand img { width: 188px !important; }
}
@media (max-width: 480px) {
  .header-main .brand img, .brand img { width: 174px !important; }
}
.desktop-nav { height: 100%; margin-left: auto; }
.gnb { display: flex; height: 100%; align-items: stretch; margin: 0; padding: 0; list-style: none; }
.gnb-item { position: relative; display: flex; align-items: stretch; }
.gnb-link { position: relative; display: flex; align-items: center; padding: 0 17px; color: #172b3f !important; font-size: 20px !important; font-weight: 800 !important; white-space: nowrap; }
.gnb-link::after { position: absolute; right: 16px; bottom: 0; left: 16px; height: 3px; background: var(--eco-shell-blue); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--eco-shell-ease); }
.gnb-item:hover .gnb-link::after, .gnb-item:focus-within .gnb-link::after { transform: scaleX(1); }
.submenu { position: absolute; top: calc(100% - 1px); left: 50%; z-index: 2; min-width: 174px; margin: 0; padding: 12px; list-style: none; border-top: 0 !important; background: #fff; box-shadow: 0 18px 36px rgba(7,37,59,.16); opacity: 0; visibility: hidden; transform: translate(-50%, 12px); transition: opacity .22s var(--eco-shell-ease), transform .22s var(--eco-shell-ease), visibility .22s; }
.gnb-item:hover .submenu, .gnb-item:focus-within .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.submenu a { display: block; padding: 10px 12px; color: #526475; font-size: 16px; font-weight: 650; white-space: nowrap; }
.submenu a:hover, .submenu a:focus-visible { color: var(--eco-shell-blue-dark); background: var(--eco-shell-soft); }
.header-quote { display: inline-flex !important; height: 44px !important; min-height: 44px !important; align-items: center !important; justify-content: center !important; gap: 8px !important; margin-left: 16px !important; padding: 0 20px !important; color: #ffffff !important; background: var(--eco-shell-blue, #0284c7) !important; border-radius: 8px !important; font-size: 15px !important; font-weight: 700 !important; text-decoration: none !important; white-space: nowrap !important; transition: all .2s ease !important; border: 0 !important; outline: 0 !important; }
.header-quote:hover { background: var(--eco-shell-blue-dark, #0369a1) !important; transform: translateY(-1px) !important; }
.header-quote svg { display: inline-block !important; width: 18px !important; height: 18px !important; min-width: 18px !important; min-height: 18px !important; flex-shrink: 0 !important; transition: transform .25s var(--eco-shell-ease) !important; }
.header-quote:hover svg { transform: translateX(3px) !important; }
.menu-toggle { display: none; width: 48px; height: 48px; margin-left: auto; padding: 0; color: var(--eco-shell-navy-900); border: 0; background: transparent; cursor: pointer; position: relative; z-index: 999990; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { display: block; width: 24px; height: 2px; margin: 5px auto; background: currentColor; content: ""; transition: .25s; }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: fixed !important; inset: 0 !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; width: 100% !important; height: 100vh !important; height: 100dvh !important; z-index: 1000000 !important; display: none; overflow-y: auto; padding: 20px 24px 40px !important; color: var(--eco-shell-ink); background: #ffffff !important; box-sizing: border-box !important; }
.mobile-menu.is-open { display: block !important; }
body.eco-index-shell-menu-open .menu-toggle { visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.mobile-menu-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--eco-shell-line, #e2e8f0); }
.mobile-brand img { width: 170px; height: auto; display: block; }
.mobile-menu-close { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; color: #082b47; background: #f1f5f9; border: 0; border-radius: 50%; cursor: pointer; transition: background .2s, transform .2s; position: relative; z-index: 1000005 !important; }
.mobile-menu-close:hover { background: #e2e8f0; transform: scale(1.05); }
.mobile-menu-close svg { width: 22px; height: 22px; }
.mobile-nav { margin: 0; padding: 0; list-style: none; }
.mobile-nav > li { border-bottom: 1px solid var(--eco-shell-line, #f1f5f9); }
.mobile-group-button { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 18px 4px; color: var(--eco-shell-ink, #0f172a); border: 0; background: transparent; font: inherit; font-size: 17px; font-weight: 750; text-align: left; cursor: pointer; }
.mobile-group-button svg { width: 18px; color: #64748b; transition: transform .2s var(--eco-shell-ease); }
.mobile-group-button[aria-expanded="true"] svg { transform: rotate(180deg); color: #0284c7; }
.mobile-submenu { display: none; padding: 16px 16px 24px; background: #edf2f7; border-radius: 12px; margin: 6px 0 16px; }
.mobile-submenu.is-open { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px 14px !important; }
.mobile-submenu a { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 14px; color: #0f172a !important; font-size: 16px; font-weight: 700; background: #ffffff !important; border: 1.5px solid #cbd5e1 !important; border-radius: 10px; text-align: center; text-decoration: none; box-shadow: 0 2px 4px rgba(0,0,0,0.04); transition: all .2s ease; }
.mobile-submenu a:hover, .mobile-submenu a:active { color: #0284c7 !important; background: #f0f9ff !important; border-color: #0284c7 !important; }
.mobile-contact { display: none !important; }

/* Page Hero Subtext - Pure White & Default Gothic (Pretendard) Font */
.page-hero .page-hero__text,
.page-hero__text,
.page-hero__text span {
  color: #ffffff !important;
  font-family: "Pretendard Variable", Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  opacity: 0.95 !important;
  word-break: keep-all !important;
}

/* Global Footer - Identical to index.html */
.site-footer { color: rgba(255,255,255,.78) !important; background: #041625 !important; font-size: 18px !important; line-height: 1.6 !important; font-family: "Pretendard Variable", Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important; padding: 0 !important; border-top: 0 !important; margin-top: 0 !important; }
.site-footer .footer-main { display: grid; grid-template-columns: 280px 1fr; gap: 64px; padding: 68px 0 54px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .footer-brand img { width: 210px; height: auto; filter: brightness(0) invert(1); opacity: .94; }
.site-footer .footer-tagline { margin: 16px 0 0; color: rgba(255,255,255,.68); font-size: 18px; font-weight: 550; letter-spacing: -.01em; }
.site-footer .footer-content { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; }
.site-footer .footer-info { display: grid; grid-template-columns: repeat(2, minmax(210px, 1fr)); gap: 11px 28px; align-content: start; margin: 0; }
.site-footer .footer-info div { display: grid; grid-template-columns: 100px 1fr; gap: 8px; font-size: 18px; }
.site-footer .footer-info dt { color: rgba(255,255,255,.95); font-weight: 750; letter-spacing: -.01em; }
.site-footer .footer-info dd { margin: 0; color: rgba(255,255,255,.8); }
.site-footer .footer-info dd a { color: inherit; transition: color .2s; }
.site-footer .footer-info dd a:hover { color: var(--eco-shell-blue); text-decoration: underline; }
.site-footer .footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.site-footer .footer-links a { color: rgba(255,255,255,.9); font-size: 18px; font-weight: 650; letter-spacing: -.01em; transition: color .2s; }
.site-footer .footer-links a:hover { color: var(--eco-shell-blue); }
.site-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,.1); background: rgba(0,0,0,.15); }
.site-footer .footer-bottom .container { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 18px; color: rgba(255,255,255,.68); }
.site-footer .copyright { letter-spacing: .02em; }
.site-footer .footer-admin-login { display: grid; width: 44px; height: 44px; place-items: center; color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.2); border-radius: 0; text-decoration: none; transition: color .2s, border-color .2s, background .2s; }
.site-footer .footer-admin-login:hover { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.08); }
.site-footer .footer-admin-login:focus-visible { outline: 3px solid rgba(26, 174, 215, .7); outline-offset: 3px; }
.site-footer .footer-admin-login svg { width: 18px; height: 18px; }

/* Global Quick Menu - Identical to index.html */
.quick {
  position: fixed; right: 28px; bottom: 36px; z-index: 990;
  display: flex; flex-direction: column; gap: 12px;
  padding: 0; background: transparent; border-radius: 0; box-shadow: none; border: 0;
}
.quick-btn {
  display: flex; width: 56px; height: 56px; align-items: center; justify-content: center;
  border-radius: 50%; color: #fff !important; text-decoration: none; border: 0; cursor: pointer;
  box-shadow: 0 8px 24px rgba(6,29,49,.18); transition: transform .25s var(--eco-shell-ease), box-shadow .25s var(--eco-shell-ease);
}
.quick-btn span { display: none; }
.quick-btn svg { width: 24px; height: 24px; }
.quick-btn:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(6,29,49,.28); }
.quick-btn.tel { background: #1aaed7; }
.quick-btn.sms { background: #22c55e; }
.quick-btn.quote { background: #082b47; }
.quick-btn.to-top { background: #098eb7; }

@media (max-width: 1160px) {
  .desktop-nav, .header-quote { display: none !important; }
  .menu-toggle {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    margin-left: auto !important;
    padding: 0 !important;
    color: #0f172a !important;
    background: transparent !important;
    border: 0 !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 999990 !important;
  }
  .menu-toggle span,
  .menu-toggle::before,
  .menu-toggle::after {
    display: block !important;
    width: 24px !important;
    height: 2.5px !important;
    margin: 3px 0 !important;
    background-color: #0f172a !important;
    content: "" !important;
    border-radius: 2px !important;
    transition: transform .25s ease, opacity .25s ease !important;
  }
  .container { width: min(calc(100% - 40px), var(--eco-shell-container)); }
  .site-footer .footer-main { grid-template-columns: 240px 1fr; gap: 40px; }
  .site-footer .footer-content { grid-template-columns: 1fr; gap: 30px; }
  .site-footer .footer-links { flex-direction: row; justify-content: flex-start; gap: 20px; align-items: flex-start; }
}

@media (max-width: 820px) {
  .site-footer .footer-main { grid-template-columns: 1fr; gap: 32px; padding-top: 52px; }
  .site-footer .footer-info { grid-template-columns: 1fr 1fr; gap: 10px 20px; }
}

@media (max-width: 560px) {
  .site-footer .footer-info { grid-template-columns: 1fr; }
  .site-footer .footer-bottom .container { align-items: flex-start; flex-direction: column; padding: 22px 0; }
  .site-footer .footer-admin-login { align-self: flex-end; }
}

/* Hide .board-description across all pages */
.board-description { display: none !important; }

/* Fixed Floating Quick Menu Widget */
.quick-menu,
.scm-quick-menu {
  position: fixed !important;
  right: 24px !important;
  bottom: 32px !important;
  z-index: 99990 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.quick-menu__item {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  background: #0284c7 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
  text-decoration: none !important;
  transition: transform .25s ease, background-color .25s ease !important;
  position: relative !important;
}

.quick-menu__item:hover {
  transform: translateY(-3px) scale(1.05) !important;
  background: #0369a1 !important;
}

.quick-menu__item--phone { background: #0284c7 !important; }
.quick-menu__item--kakao { background: #fee500 !important; color: #191919 !important; }
.quick-menu__item--contact { background: #10b981 !important; }
.quick-menu__item--top { background: #0f172a !important; }

.quick-menu__icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 22px !important;
}

.quick-menu__label {
  display: none !important;
}

@media (max-width: 768px) {
  aside.quick, .quick, .scm-quick-menu {
    right: 12px !important;
    bottom: 16px !important;
    gap: 6px !important;
  }
  aside.quick .quick-btn, .quick-btn, .quick-menu__item {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }
  aside.quick .quick-btn svg, .quick-btn svg, .quick-menu__icon {
    font-size: 18px !important;
    width: 18px !important;
    height: 18px !important;
  }
}
@media (max-width: 380px) {
  aside.quick, .quick, .scm-quick-menu {
    right: 10px !important;
    bottom: 12px !important;
    gap: 5px !important;
  }
  aside.quick .quick-btn, .quick-btn, .quick-menu__item {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }
  aside.quick .quick-btn svg, .quick-btn svg, .quick-menu__icon {
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
  }
}
