/* ==========================================================================
   (주)현진비즈넷 — LabCenter 2.0 Enterprise Medical Software Design System
   Modern Web Standards: CSS Custom Properties, clamp(), @container, dvh,
   Scroll-Driven Header Animation (@supports), Native <dialog> Lightbox
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

:root {
  /* Brand & Medical Enterprise Palette */
  --primary-900: #0a1931;
  --primary-800: #0f2547;
  --primary-700: #16386b;
  --primary-600: #1d4ed8;
  --primary-500: #2563eb;
  --primary-400: #3b82f6;
  --primary-100: #dbeafe;
  --primary-50:  #eff6ff;

  /* Medical Teal / Bio Cyan Accent */
  --accent-600:  #0284c7;
  --accent-500:  #0ea5e9;
  --accent-400:  #38bdf8;
  --teal-600:    #0d9488;
  --teal-500:    #14b8a6;
  --teal-50:     #f0fdfa;

  /* Neutral Slate */
  --slate-950:   #020617;
  --slate-900:   #0f172a;
  --slate-800:   #1e293b;
  --slate-700:   #334155;
  --slate-600:   #475569;
  --slate-500:   #64748b;
  --slate-400:   #94a3b8;
  --slate-300:   #cbd5e1;
  --slate-200:   #e2e8f0;
  --slate-100:   #f1f5f9;
  --slate-50:    #f8fafc;
  --white:       #ffffff;

  /* Semantic Status */
  --success:     #10b981;
  --warning:     #f59e0b;
  --danger:      #ef4444;

  /* Layout & Spacing */
  --container-max: 1280px;
  --header-height-initial: 104px;
  --header-height-scrolled: 84px;
  --topbar-height: 38px;
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs:   0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm:   0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-md:   0 12px 28px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg:   0 20px 40px -8px rgba(15, 23, 42, 0.14);
  --shadow-glow: 0 10px 30px -5px rgba(37, 99, 235, 0.35);

  /* Transitions */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Noto Sans KR', sans-serif;
  color: var(--slate-800);
  background-color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding-top: calc(var(--topbar-height) + var(--header-height-initial));
}

@media (max-width: 960px) {
  body {
    padding-top: var(--header-height-initial);
  }
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

ul, ol {
  list-style: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* Fluid Typography using clamp() */
.display-title {
  font-size: clamp(2.15rem, 1.4rem + 2.8vw, 3.6rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.section-title {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}

.section-subtitle {
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.15rem);
  color: var(--slate-600);
  max-width: 68ch;
  line-height: 1.75;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-600);
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-600);
}

/* ==========================================================================
   Top Utility Bar & Fixed Shrinking Header
   ========================================================================== */
.site-header-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.top-utility-bar {
  height: var(--topbar-height);
  background: var(--primary-900);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, height 0.25s ease, opacity 0.25s ease;
}

.top-utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.utility-contacts {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.utility-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.utility-item svg {
  width: 18px;
  height: 18px;
  color: currentColor;
  stroke-width: 1.8;
}

.utility-item a:hover {
  color: var(--accent-400);
}

.utility-hours {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.utility-badge {
  background: rgba(14, 165, 233, 0.18);
  color: var(--accent-400);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 0.1rem 0.55rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
}

@media (max-width: 960px) {
  .top-utility-bar {
    display: none;
  }
}

.site-header {
  height: var(--header-height-initial);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  transition: height 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}

.site-header.is-scrolled {
  height: var(--header-height-scrolled);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

/* Native CSS Scroll-Driven Animation where supported */
@keyframes shrinkHeader {
  to {
    height: 84px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    background-color: rgba(255, 255, 255, 0.98);
  }
}

@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  @media (prefers-reduced-motion: no-preference) {
    .site-header {
      animation: shrinkHeader auto linear both;
      animation-timeline: scroll(block root);
      animation-range: 0px 140px;
    }
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo img {
  height: 76px;
  width: auto;
  object-fit: contain;
}

.brand-text-fallback {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text-fallback .company-name {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--primary-900);
  letter-spacing: -0.02em;
}

.brand-text-fallback .company-sub {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary-600);
  letter-spacing: 0.06em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  position: relative;
  padding: 0.55rem 0.95rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate-700);
  border-radius: var(--radius-sm);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-600);
  background: var(--primary-50);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0.95rem;
  right: 0.95rem;
  height: 2px;
  background: var(--primary-600);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.22s var(--ease-out);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-600), var(--accent-600));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background: transparent;
  border-color: var(--slate-300);
  color: var(--slate-800);
}

.btn-outline:hover {
  border-color: var(--primary-600);
  color: var(--primary-600);
  background: var(--primary-50);
}

.btn-white {
  background: var(--white);
  color: var(--primary-800);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  transform: translateY(-2px);
  background: var(--primary-50);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--white);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

/* Mobile Menu Button */
.mobile-menu-toggle {
  display: none;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--slate-800);
}

@media (max-width: 1024px) {
  .main-nav {
    position: fixed;
    top: var(--header-height-initial);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease-out), opacity 0.25s ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }

  .nav-link.active::after {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .header-actions .btn-tel-desktop {
    display: none;
  }
}

/* ==========================================================================
   Hero Section (Index) & Page Sub-Header Banner
   ========================================================================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 82% 20%, rgba(14, 165, 233, 0.25) 0%, transparent 45%),
              radial-gradient(circle at 18% 80%, rgba(37, 99, 235, 0.28) 0%, transparent 50%),
              linear-gradient(135deg, #071326 0%, #0d2244 52%, #133163 100%);
  color: var(--white);
  padding-block: clamp(4rem, 7vw, 6.5rem);
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--accent-400);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.35rem;
}

.hero-title {
  font-size: clamp(2.1rem, 1.5rem + 2.5vw, 3.35rem);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

.hero-title .text-gradient {
  background: linear-gradient(90deg, #60a5fa, #38bdf8, #2dd4bf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 60ch;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.hero-slide-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 640px) {
  .hero-slide-pills {
    grid-template-columns: 1fr;
  }
}

.hero-pill-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.05rem;
  cursor: pointer;
  transition: all 0.22s ease;
}

.hero-pill-card.active,
.hero-pill-card:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--accent-400);
  transform: translateY(-2px);
}

.hero-pill-card h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-400);
  margin-bottom: 0.25rem;
}

.hero-pill-card p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.45;
}

/* Hero Right Dashboard Visual */
.hero-visual-panel {
  background: rgba(15, 37, 71, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(2, 6, 23, 0.55);
  backdrop-filter: blur(16px);
}

.dashboard-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #ef4444; }
.window-dots span:nth-child(2) { background: #f59e0b; }
.window-dots span:nth-child(3) { background: #10b981; }

.window-title {
  font-size: 0.78rem;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  color: rgba(255, 255, 255, 0.7);
}

.window-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #34d399;
  font-weight: 600;
}

.window-status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.dashboard-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.dash-metric-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.dash-metric-box .label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 0.3rem;
}

.dash-metric-box .value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
}

.dash-metric-box .value span {
  color: var(--accent-400);
  font-size: 1.1rem;
}

.dash-metric-box .sub {
  font-size: 0.73rem;
  color: #34d399;
  margin-top: 0.25rem;
}

.dash-module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.dash-module-tag {
  font-size: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.28);
  border: 1px solid rgba(96, 165, 250, 0.3);
  color: #bfdbfe;
  font-weight: 600;
}

/* ==========================================================================
   Page Hero (Subpages)
   ========================================================================== */
.page-hero {
  position: relative;
  background: radial-gradient(circle at 85% 25%, rgba(14, 165, 233, 0.22), transparent 50%),
              linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 60%, var(--primary-700) 100%);
  color: var(--white);
  padding-block: clamp(3rem, 5vw, 4.5rem);
  overflow: hidden;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb .current {
  color: var(--accent-400);
  font-weight: 600;
}

.page-hero h1 {
  font-size: clamp(1.85rem, 1.35rem + 1.8vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-hero p {
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.1rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 65ch;
}

/* ==========================================================================
   Sections, Cards & Grids
   ========================================================================== */
.section {
  padding-block: clamp(4rem, 6.5vw, 6rem);
}

.section-muted {
  background-color: var(--slate-50);
  border-block: 1px solid var(--slate-200);
}

.section-dark {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 100%);
  color: var(--white);
}

.section-dark .section-title {
  color: var(--white);
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.78);
}

.section-header {
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.section-header.center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Container-Query Enabled Card Grids */
.grid-wrapper {
  container-type: inline-size;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

@container (max-width: 980px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@container (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Solution / Feature Card */
.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-400);
}

.card-num {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary-600);
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.35rem;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--slate-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--slate-300);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.card p {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-600);
  margin-top: auto;
}

.card-link:hover {
  gap: 0.6rem;
}

/* ==========================================================================
   Stats Counter Strip
   ========================================================================== */
.stats-banner {
  background: linear-gradient(135deg, var(--primary-900) 0%, #102a56 50%, #0c4a6e 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(2.25rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-lg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

@media (max-width: 860px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-item {
  padding: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item:last-child {
  border-right: none;
}

@media (max-width: 860px) {
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .stat-item:last-child {
    border-bottom: none;
  }
}

.stat-number {
  font-size: clamp(2.2rem, 1.8rem + 1.5vw, 3.1rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.stat-number .unit {
  color: var(--accent-400);
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.25rem;
}

.stat-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.68);
}

/* ==========================================================================
   5-Step Process Flow
   ========================================================================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

@media (max-width: 960px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

.process-step-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  position: relative;
  transition: all 0.22s ease;
}

.process-step-card:hover {
  border-color: var(--primary-500);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.process-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-600);
  color: var(--white);
  font-weight: 800;
  font-size: 0.875rem;
  margin-bottom: 0.85rem;
}

.process-step-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.35rem;
}

.process-step-card p {
  font-size: 0.84rem;
  color: var(--slate-600);
}

/* ==========================================================================
   Split Content Blocks
   ========================================================================== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}

@media (max-width: 900px) {
  .split-section {
    grid-template-columns: 1fr;
  }
}

.visual-frame {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.visual-frame img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: var(--slate-50);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
}

.feature-list-item .check-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  color: var(--slate-700);
  border: 1px solid var(--slate-300);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.feature-list-item .check-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
}

.feature-list-item .contact-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--slate-700);
  border: 1.5px solid var(--slate-300);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-list-item .contact-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
}

.feature-list-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.2rem;
}

.feature-list-item p {
  font-size: 0.9rem;
  color: var(--slate-600);
}

/* ==========================================================================
   Gallery Filter & Lightbox (<dialog>)
   ========================================================================== */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.filter-tab {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--slate-300);
  background: var(--white);
  color: var(--slate-700);
  font-weight: 700;
  font-size: 0.925rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab.active,
.filter-tab:hover {
  background: var(--primary-600);
  color: var(--white);
  border-color: var(--primary-600);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.2s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-400);
}

.gallery-thumb {
  position: relative;
  overflow: hidden;
  background: var(--slate-100);
  aspect-ratio: 4 / 3;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s var(--ease-out);
}

.gallery-card:hover .gallery-thumb img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 49, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  background: var(--white);
  color: var(--primary-900);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
}

.gallery-meta {
  padding: 1.15rem 1.25rem;
}

.gallery-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-600);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.gallery-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
}

/* Native <dialog> Modal */
dialog.modal-dialog {
  margin: auto;
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: min(92vw, 960px);
  max-height: 90dvh;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

dialog.modal-dialog::backdrop {
  background: rgba(2, 6, 23, 0.75);
  backdrop-filter: blur(6px);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--slate-200);
  background: var(--slate-50);
}

.modal-header h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--slate-900);
}

.modal-close-btn {
  background: var(--white);
  border: 1px solid var(--slate-300);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
}

.modal-close-btn:hover {
  background: var(--slate-100);
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  max-height: calc(90dvh - 70px);
}

.modal-body img {
  margin-inline: auto;
  max-height: 75dvh;
  width: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
}

/* ==========================================================================
   Board Table (Customer Service) & Contact Form
   ========================================================================== */
.board-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.board-search {
  display: flex;
  gap: 0.5rem;
}

.input-control {
  padding: 0.65rem 1rem;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.925rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-control:focus {
  outline: none;
  border-color: var(--primary-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.board-table-wrap {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-xs);
}

.board-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.board-table th {
  background: var(--slate-50);
  color: var(--slate-700);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--slate-200);
  white-space: nowrap;
}

.board-table td {
  padding: 1.05rem 1.25rem;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.9375rem;
  color: var(--slate-700);
}

.board-table tr:last-child td {
  border-bottom: none;
}

.board-table tbody tr {
  transition: background-color 0.15s ease;
  cursor: pointer;
}

.board-table tbody tr:hover {
  background-color: var(--primary-50);
}

.badge-notice {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-600);
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-full);
}

/* Contact Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-800);
}

.form-label .req {
  color: var(--danger);
}

textarea.input-control {
  min-height: 150px;
  resize: vertical;
}

/* ==========================================================================
   CTA Banner & Footer
   ========================================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-600) 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-lg);
}

.cta-section h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 58ch;
}

.site-footer {
  margin-top: auto;
  background: var(--slate-950);
  color: rgba(255, 255, 255, 0.72);
  padding-top: 4rem;
  padding-bottom: 2.5rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand img {
  height: 72px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.64);
  margin-bottom: 1.25rem;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a:hover {
  color: var(--accent-400);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.875rem;
}

.footer-contact-list strong {
  color: var(--white);
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.5);
}
