@charset "utf-8";

@font-face {
  font-family: 'NanumGothic';
  src: url('/font/NanumGothic.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'NanumGothic';
  src: url('/font/NanumGothicBold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}

:root {
  --brand-blue: #0e76bc;
  --brand-blue-dark: #095285;
  --brand-teal: #11999e;
  --brand-orange: #f39c12;
  --bg-page: #f4f7fb;
  --bg-card: #ffffff;
  --text-primary: #1a2332;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --border-light: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 20px rgba(15, 23, 42, 0.09);
  --radius-md: 14px;
  --radius-lg: 18px;
  --header-h: 58px;
  --bottom-nav-h: 62px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body.m-body {
  margin: 0;
  padding: 0 0 calc(var(--bottom-nav-h) + 16px) 0;
  font-family: 'NanumGothic', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.55;
  overflow-x: hidden;
}

/* ==========================================================================
   Navigation Drawer (modern-web-guidance: navigation-drawer)
   ========================================================================== */
.Drawer {
  --drawer-width: min(20em, 80dvw);
  --drawer-backdrop: 0;
  position: fixed;
  inset: 0;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  overflow: visible;
  z-index: 2000;
}

.Drawer::backdrop {
  background: #000;
  opacity: calc(var(--drawer-backdrop) / 2);
}

.Drawer-scroller {
  position: relative;
  display: grid;
  grid-template-columns: var(--drawer-width) 100%;
  width: 100dvw;
  height: 100svh;
  overflow-x: scroll;
  overscroll-behavior: none;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.Drawer-scroller::-webkit-scrollbar {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .Drawer-scroller {
    scroll-behavior: smooth;
  }
}

.Drawer-scroller::after {
  content: '';
  scroll-snap-align: end;
  scroll-initial-target: nearest;
}

.Drawer-sheet {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100svh;
  background: #162232;
  color: #ffffff;
  overflow-y: auto;
  scroll-snap-align: start;
  scrollbar-width: none;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.35);
  outline: none;
}
.Drawer-sheet::-webkit-scrollbar {
  display: none;
}

@supports (animation-timeline: scroll()) {
  .Drawer {
    timeline-scope: --drawer-fade;
    animation: fade-drawer-backdrop linear both;
    animation-timeline: --drawer-fade;
  }
  .Drawer-scroller {
    scroll-timeline: --drawer-fade x;
  }
  @property --drawer-backdrop {
    syntax: '<number>';
    inherits: true;
    initial-value: 0;
  }
  @keyframes fade-drawer-backdrop {
    0% { --drawer-backdrop: 1; }
    100% { --drawer-backdrop: 0; }
  }
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}
.drawer-brand {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: #fff;
}
.drawer-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.drawer-nav-list {
  list-style: none;
  margin: 0;
  padding: 12px 14px;
}
.drawer-nav-item {
  margin-bottom: 6px;
}
.drawer-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  color: #f1f5f9;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}
.drawer-nav-link:active,
.drawer-nav-link:hover {
  background: var(--brand-blue);
  color: #fff;
}
.drawer-sub-list {
  list-style: none;
  margin: 4px 0 8px 0;
  padding: 0 0 0 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.drawer-sub-link {
  display: inline-block;
  padding: 6px 11px;
  font-size: 0.82rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  text-decoration: none;
}
.drawer-sub-link:active,
.drawer-sub-link:hover {
  background: var(--brand-teal);
  color: #fff;
}

.drawer-footer {
  padding: 14px 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 8px;
}
.drawer-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}
.drawer-action-btn.call {
  background: var(--brand-blue);
  color: #fff;
}
.drawer-action-btn.pc {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

/* ==========================================================================
   Sticky Mobile Header
   ========================================================================== */
.m-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}

.m-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.m-logo-img {
  height: 36px;
  width: auto;
  aspect-ratio: 201 / 59;
  display: block;
}

.m-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.m-lang-switch {
  display: inline-flex;
  background: #edf2f7;
  border-radius: 999px;
  padding: 2px;
  font-size: 0.75rem;
  font-weight: 700;
}
.m-lang-switch a {
  padding: 4px 9px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-secondary);
}
.m-lang-switch a.active {
  background: var(--brand-blue);
  color: #fff;
}

.m-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: #fff;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}
.m-icon-btn svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Main Container & Responsive Typography (modern-web-guidance: responsive-design)
   ========================================================================== */
.m-container {
  max-width: 640px;
  margin: 0 auto;
  padding: 14px;
}

.m-hero {
  background: linear-gradient(135deg, #0b5a94 0%, #0e76bc 55%, #11999e 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 22px 18px 20px;
  box-shadow: var(--shadow-md);
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}

.m-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.m-hero-title {
  margin: 0 0 8px 0;
  font-size: clamp(1.3rem, 1rem + 2.5vw, 1.85rem);
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.m-hero-desc {
  margin: 0 0 16px 0;
  font-size: clamp(0.86rem, 0.8rem + 0.6vw, 0.98rem);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
}

.m-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.m-hero-chip {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}

/* Bento Grid Quick Links */
.m-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.m-bento-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 98px;
  transition: transform 0.15s ease;
}
.m-bento-card:active {
  transform: scale(0.98);
}
.m-bento-card.accent-teal {
  background: linear-gradient(135deg, #0f8a8f 0%, #15b2b8 100%);
  color: #fff;
  border: none;
}
.m-bento-card.accent-amber {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
  color: #fff;
  border: none;
}
.m-bento-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #ebf5ff;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.m-bento-card.accent-teal .m-bento-icon,
.m-bento-card.accent-amber .m-bento-icon {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.m-bento-title {
  font-weight: 700;
  font-size: 0.96rem;
  margin: 0 0 3px 0;
}
.m-bento-sub {
  font-size: 0.77rem;
  color: var(--text-muted);
  margin: 0;
}
.m-bento-card.accent-teal .m-bento-sub,
.m-bento-card.accent-amber .m-bento-sub {
  color: rgba(255, 255, 255, 0.9);
}

/* Section Card */
.m-section {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.m-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.m-section-eyebrow {
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-blue);
  margin: 0 0 2px 0;
}
.m-section-title {
  font-size: clamp(1.15rem, 0.95rem + 1.5vw, 1.4rem);
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

/* Interactive Sub-Tabs */
.m-tabs {
  display: flex;
  gap: 6px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.m-tabs::-webkit-scrollbar {
  display: none;
}
.m-tab-btn {
  flex: 1 1 auto;
  white-space: nowrap;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 9px 12px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.m-tab-btn.active {
  background: #ffffff;
  color: var(--brand-blue);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

.m-tab-panel {
  display: none;
}
.m-tab-panel.active {
  display: block;
}

/* Info Table / Key-Value List */
.m-lead-quote {
  background: #f0f7ff;
  border-left: 4px solid var(--brand-blue);
  padding: 12px 14px;
  border-radius: 0 10px 10px 0;
  font-size: 0.9rem;
  color: #1e3a5f;
  margin: 0 0 14px 0;
  font-weight: 700;
}

.m-kv-list {
  display: grid;
  gap: 10px;
  margin: 0;
}
.m-kv-item {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 11px;
  padding: 12px 14px;
}
.m-kv-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 4px;
}
.m-kv-value {
  font-size: 0.9rem;
  color: var(--text-primary);
  margin: 0;
}
.m-kv-value ul {
  margin: 4px 0 0 0;
  padding-left: 18px;
}
.m-kv-value li {
  margin-bottom: 3px;
}

/* Core Values 6-Grid */
.m-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.m-value-card {
  background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
  border: 1px solid #cfe4f9;
  border-radius: 12px;
  padding: 12px;
}
.m-value-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand-blue-dark);
  margin: 0 0 4px 0;
}
.m-value-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.45;
}

/* Business Flow Cards & Diagram Preview */
.m-diagram-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 12px;
  text-align: center;
}
.m-diagram-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 560;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  cursor: zoom-in;
}
.m-diagram-hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.m-flow-steps {
  display: grid;
  gap: 8px;
}
.m-flow-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 11px;
  padding: 11px 13px;
}
.m-flow-badge {
  flex-shrink: 0;
  background: var(--brand-teal);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 2px;
}
.m-flow-body h4 {
  margin: 0 0 3px 0;
  font-size: 0.9rem;
  color: var(--text-primary);
}
.m-flow-body p {
  margin: 0;
  font-size: 0.81rem;
  color: var(--text-secondary);
}

/* Welfare & Recruitment */
.m-welfare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0 16px;
}
.m-welfare-item {
  background: #f0f7ff;
  border: 1px solid #d0e5fb;
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
}

.m-process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.m-process-pill {
  flex: 1 1 calc(33.33% - 6px);
  min-width: 92px;
  background: #1e293b;
  color: #fff;
  border-radius: 10px;
  padding: 9px 8px;
  text-align: center;
  font-size: 0.79rem;
  font-weight: 700;
}
.m-process-pill span {
  display: block;
  font-size: 0.68rem;
  color: #93c5fd;
  margin-bottom: 2px;
}

/* Board Post List (News & Careers) */
.m-post-list {
  list-style: none;
  margin: 0 0 14px 0;
  padding: 0;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.m-post-item {
  border-bottom: 1px solid var(--border-light);
}
.m-post-item:last-child {
  border-bottom: 0;
}
.m-post-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  text-decoration: none;
  color: var(--text-primary);
}
.m-post-link:active {
  background: #f1f5f9;
}
.m-post-subj {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.m-post-date {
  flex-shrink: 0;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.m-btn-row {
  display: flex;
  gap: 8px;
}
.m-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 11px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.m-btn-primary {
  background: var(--brand-blue);
  color: #fff;
}
.m-btn-outline {
  background: #f8fafc;
  border-color: var(--border-light);
  color: var(--text-primary);
}

/* Map & Contact */
.m-map-frame {
  width: 100%;
  height: 260px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 10px;
}
.m-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
.m-footer {
  text-align: center;
  padding: 20px 16px 26px;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.6;
}
.m-footer-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}
.m-footer-links a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e2e8f0;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.76rem;
}

/* Sticky Bottom Tab Bar */
.m-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-h);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 990;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.m-bottom-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
}
.m-bottom-tab svg {
  width: 20px;
  height: 20px;
}
.m-bottom-tab.active,
.m-bottom-tab:active {
  color: var(--brand-blue);
}

/* Lightbox Modal for Diagrams */
.m-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.88);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.m-lightbox.open {
  display: flex;
}
.m-lightbox-inner {
  position: relative;
  max-width: 100%;
  max-height: 90dvh;
  overflow: auto;
}
.m-lightbox-inner img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #fff;
}
.m-lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  background: #fff;
  color: #0f172a;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

/* Map Navigation App Buttons (Kakao / Naver / Google) */
.m-map-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.m-map-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 6px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 2px 5px rgba(15, 23, 42, 0.08);
  transition: transform 0.12s ease;
}
.m-map-nav-btn:active {
  transform: scale(0.97);
}
.m-map-nav-btn.kakao {
  background: #FEE500;
  color: #191919;
  border: 1px solid #ebd400;
}
.m-map-nav-btn.naver {
  background: #03C75A;
  color: #ffffff;
}
.m-map-nav-btn.google {
  background: #4285F4;
  color: #ffffff;
}
