/* ==========================================================================
   ASUS J.S.C - Main Stylesheet (Semantic Variables Architecture)
   Design Philosophy: Architectural Glass & Aluminum, Premium Blue/Navy Hierarchy
   Theme Prepared for seamless Light Theme extension via CSS variables.
   Reference: images/reference/kieu-2-reference.png
   ========================================================================== */

html {
  background-color: var(--page-bg);
}

body {
  position: relative;
  isolation: isolate;
  font-family: var(--font-main);
  background: var(--ambient-background);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.55;
  overflow-x: hidden;
}

/* Ambient system background: precision mechanics meet the five-element flow. */
body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -2;
  inset: -8%;
  opacity: 0.78;
  background:
    repeating-linear-gradient(22deg, transparent 0 72px, var(--ambient-grid-line) 72px 73px),
    repeating-linear-gradient(112deg, transparent 0 96px, var(--ambient-grid-line) 96px 97px),
    radial-gradient(circle at 78% 20%, transparent 0 92px, var(--ambient-ring) 93px 94px, transparent 95px 185px, var(--ambient-ring) 186px 187px, transparent 188px 300px),
    repeating-conic-gradient(from 4deg at 78% 20%, transparent 0 8deg, var(--ambient-metal) 8.2deg 9.4deg, transparent 9.6deg 18deg),
    radial-gradient(circle at 18% 78%, transparent 0 72px, var(--ambient-ring) 73px 74px, transparent 75px 150px, var(--ambient-ring) 151px 152px, transparent 153px 250px),
    repeating-conic-gradient(from 20deg at 18% 78%, transparent 0 11deg, var(--ambient-wood) 11.3deg 12deg, transparent 12.3deg 22deg);
  transform: rotate(-4deg) scale(1.08);
  animation: ambient-mechanical-orbit 70s linear infinite;
}

body::after {
  z-index: -1;
  inset: -12%;
  opacity: 0.64;
  background:
    radial-gradient(ellipse at 14% 18%, var(--ambient-fire) 0%, transparent 30%),
    radial-gradient(ellipse at 86% 32%, var(--ambient-water) 0%, transparent 28%),
    radial-gradient(ellipse at 50% 92%, var(--ambient-earth) 0%, transparent 34%),
    conic-gradient(from 120deg at 50% 50%, transparent 0deg 38deg, var(--ambient-water) 39deg 55deg, transparent 56deg 120deg, var(--ambient-wood) 121deg 145deg, transparent 146deg 230deg, var(--ambient-earth) 231deg 252deg, transparent 253deg 360deg);
  filter: blur(28px);
  animation: ambient-feng-shui-flow 32s ease-in-out infinite alternate;
}

@keyframes ambient-mechanical-orbit {
  from {
    transform: rotate(-4deg) scale(1.08);
  }

  to {
    transform: rotate(356deg) scale(1.08);
  }
}

@keyframes ambient-feng-shui-flow {
  0% {
    transform: translate3d(-2%, -1%, 0) rotate(0deg) scale(1);
  }

  50% {
    transform: translate3d(2%, 1%, 0) rotate(4deg) scale(1.04);
  }

  100% {
    transform: translate3d(-1%, 2%, 0) rotate(-3deg) scale(1.02);
  }
}

main {
  position: relative;
  isolation: isolate;
}

main::before,
main::after {
  content: "";
  position: absolute;
  z-index: -1;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

/* Large rotating gear watermark: the technical axis of the page. */
main::before {
  top: clamp(100px, 14vh, 220px);
  right: clamp(-220px, -12vw, -80px);
  width: clamp(300px, 38vw, 620px);
  background:
    radial-gradient(circle at center, var(--ambient-fire) 0 4px, transparent 5px 24%, var(--ambient-ring) 24.4% 24.9%, transparent 25.3% 42%, var(--ambient-metal) 42.4% 42.9%, transparent 43.3% 57%, var(--ambient-ring) 57.4% 57.9%, transparent 58.3%),
    repeating-conic-gradient(from 0deg, transparent 0 8deg, var(--ambient-metal) 8.2deg 10deg, transparent 10.2deg 18deg);
  box-shadow: 0 0 0 1px var(--ambient-ring), 0 0 84px var(--ambient-water);
  opacity: 0.72;
  animation: ambient-gear-turn 90s linear infinite;
}

/* Smaller counter-rotating gear: an opposing balance point. */
main::after {
  left: clamp(-170px, -8vw, -60px);
  bottom: clamp(90px, 16vh, 250px);
  width: clamp(220px, 28vw, 440px);
  background:
    radial-gradient(circle at center, var(--ambient-earth) 0 3px, transparent 4px 22%, var(--ambient-ring) 22.4% 22.9%, transparent 23.3% 41%, var(--ambient-wood) 41.4% 42%, transparent 42.4% 57%, var(--ambient-ring) 57.4% 58%, transparent 58.4%),
    repeating-conic-gradient(from 18deg, transparent 0 11deg, var(--ambient-wood) 11.2deg 13deg, transparent 13.2deg 24deg);
  box-shadow: 0 0 0 1px var(--ambient-ring), 0 0 70px var(--ambient-earth);
  opacity: 0.58;
  animation: ambient-gear-counter 64s linear infinite;
}

@keyframes ambient-gear-turn {
  from {
    transform: rotate(0deg) scale(0.98);
  }

  50% {
    transform: rotate(180deg) scale(1.02);
  }

  to {
    transform: rotate(360deg) scale(0.98);
  }
}

@keyframes ambient-gear-counter {
  from {
    transform: rotate(360deg) scale(1.02);
  }

  50% {
    transform: rotate(180deg) scale(0.97);
  }

  to {
    transform: rotate(0deg) scale(1.02);
  }
}

@keyframes ambient-section-flow {
  from {
    background-position: 0% 0, 0 0;
  }

  to {
    background-position: 100% 0, 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after,
  main::before,
  main::after,
  .section-wrapper {
    animation: none;
  }
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-wrapper {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
  position: relative;
  background-image: linear-gradient(115deg, transparent 22%, var(--ambient-water) 46%, var(--ambient-wood) 54%, transparent 76%);
  background-size: 220% 100%;
  background-position: 0% 0;
  animation: ambient-section-flow 30s ease-in-out infinite alternate;
}

/* Fixed Header Offset for Section Anchors */
section[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

#home {
  scroll-margin-top: 0;
}

/* Section Header Component */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section-title {
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0;
}

.section-accent-line {
  display: inline-block;
  width: 40px;
  height: 3px;
  background-color: var(--brand-red);
  border-radius: 2px;
}

.section-more-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--link-more);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.section-more-link:hover {
  color: var(--link-more-hover);
  transform: translateX(3px);
}

/* Buttons & CTA (Refined, Non-Ecommerce Proportion) */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background-color: var(--btn-cta-bg);
  color: var(--btn-cta-text);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: var(--shadow-cta);
}

.btn-cta:hover {
  background-color: var(--btn-cta-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.btn-cta:active {
  background-color: var(--btn-cta-active);
  transform: translateY(0);
}

.btn-cta-lg {
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
}

/* ==========================================================================
   1. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  height: var(--header-height);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo Area: Brand Spotlight */
.brand-logo-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 4px 12px;
  border-radius: 10px;
  background: radial-gradient(ellipse at center,
      rgba(90, 150, 230, 0.28) 0%,
      rgba(12, 82, 168, 0.14) 52%,
      transparent 78%);
  border: 0;
  box-shadow: 0 0 18px rgba(10, 61, 131, 0.22);
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

/* Restrained Light Sweep Highlight (Hover/Focus only, 550ms) */
.brand-logo-link::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.25) 50%,
      transparent 100%);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: none;
}

.brand-logo-link:hover::after,
.brand-logo-link:focus-visible::after {
  left: 140%;
  transition: left 550ms ease-out;
}

.brand-logo-link:hover,
.brand-logo-link:focus-visible {
  z-index: 1;
  transform: translateY(-1px) scale(1.02);
  box-shadow:
    0 0 24px rgba(90, 150, 230, 0.55),
    0 0 38px rgba(12, 82, 168, 0.48),
    0 2px 8px rgba(0, 0, 0, 0.22);
  background: radial-gradient(ellipse at center,
      rgba(90, 150, 230, 0.45) 0%,
      rgba(12, 82, 168, 0.24) 50%,
      transparent 80%);
}

.brand-logo-link:hover .brand-logo-image,
.brand-logo-link:focus-visible .brand-logo-image {
  filter: brightness(1.15) drop-shadow(0 0 8px rgba(90, 150, 230, 0.75));
  transform: scale(1.04);
}

/* Light Theme: Controlled Separation Capsule */
[data-theme="light"] .site-header .brand-logo-link {
  background: linear-gradient(135deg,
      rgba(241, 245, 250, 0.96) 0%,
      rgba(255, 255, 255, 0.98) 100%);
  border: 0;
  box-shadow: 0 2px 10px rgba(4, 32, 82, 0.08), 0 1px 3px rgba(4, 32, 82, 0.05);
}

[data-theme="light"] .site-header .brand-logo-link::after {
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.45) 50%,
      transparent 100%);
}

[data-theme="light"] .site-header .brand-logo-link:hover,
[data-theme="light"] .site-header .brand-logo-link:focus-visible {
  background: linear-gradient(135deg,
      rgba(235, 242, 250, 0.98) 0%,
      rgba(255, 255, 255, 1) 100%);
  box-shadow:
    0 0 24px rgba(12, 82, 168, 0.32),
    0 4px 14px rgba(4, 32, 82, 0.12),
    0 1px 3px rgba(4, 32, 82, 0.08);
}

/* Logo Image */
.brand-logo-image {
  display: block;
  width: auto;
  height: 46px;
  max-height: 48px;
  max-width: 140px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
  transition: filter 200ms ease, transform 200ms ease;
}

[data-theme="light"] .site-header .brand-logo-image {
  height: 46px;
  max-height: 48px;
  filter: drop-shadow(0 1px 4px rgba(4, 32, 82, 0.18));
}

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

  .brand-logo-link,
  .brand-logo-link:hover,
  .footer-brand .brand-logo-link:hover,
  .brand-logo-image,
  .brand-logo-link:hover .brand-logo-image,
  .brand-logo-link:focus-visible .brand-logo-image {
    transition: none !important;
    transform: none !important;
  }

  .brand-logo-link::after,
  .brand-logo-link:hover::after,
  .brand-logo-link:focus-visible::after {
    transition: none !important;
    left: -120% !important;
  }
}

/* Fallback / compatibility wrapper */
.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* Desktop Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
  display: inline-block;
  white-space: nowrap;
}

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

/* Single Shared Sliding Red Indicator (#D71E26) */
.nav-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background-color: var(--nav-indicator-color);
  border-radius: 1px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition: transform var(--transition-normal),
    width var(--transition-normal),
    opacity 180ms ease;
  will-change: transform, width;
}

.nav-indicator.is-visible {
  opacity: 1;
}

.nav-indicator.no-transition {
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  .nav-indicator {
    transition: none !important;
  }
}

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

/* Header Admin Utility Action */
.header-admin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background-color: var(--theme-toggle-bg);
  border: 1px solid var(--theme-toggle-border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  flex-shrink: 0;
}

.header-admin-link:hover {
  color: var(--text-primary);
  background-color: var(--theme-toggle-hover-bg);
  border-color: var(--card-border-hover);
  transform: translateY(-1px);
}

.header-admin-link:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}

.header-admin-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke-width: 2.2;
}

[data-theme="light"] .header-admin-link {
  color: var(--navy-900);
}

[data-theme="light"] .header-admin-link:hover {
  color: var(--brand-red);
  border-color: rgba(215, 30, 38, 0.4);
}

/* Theme Toggle Button Component (Single toggle per page) */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-color: var(--theme-toggle-bg);
  border: 1px solid var(--theme-toggle-border);
  color: var(--theme-toggle-color);
  cursor: pointer;
  padding: 0;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background-color: var(--theme-toggle-hover-bg);
  color: var(--theme-toggle-hover-color);
  border-color: var(--card-border-hover);
  transform: translateY(-1px);
}

.theme-toggle-btn:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
  display: block;
  pointer-events: none;
}

/* Icon toggle based on data-theme attribute */
.theme-icon-sun {
  display: none;
}

.theme-icon-moon {
  display: block;
}

[data-theme="light"] .theme-icon-sun {
  display: block;
}

[data-theme="light"] .theme-icon-moon {
  display: none;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 0;
  height: clamp(380px, 50vh, 480px);
  background-color: #0b4a92;
  background-image:
    linear-gradient(108deg, rgba(2, 18, 48, 0.94) 0%, rgba(4, 53, 113, 0.78) 52%, rgba(4, 32, 82, 0.28) 100%),
    url("../images/hero/theme.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0%, transparent 54.5%, rgba(125, 190, 255, 0.16) 55%, transparent 55.5%),
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.16), transparent 26%);
}

.hero-copy-panel {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  background-image: url("../images/hero/theme.jpg");
  background-position: left center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-copy-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(2, 18, 48, 0.68) 0%,
      rgba(3, 30, 76, 0.45) 58%,
      rgba(2, 22, 54, 0.16) 100%);
  pointer-events: none;
}

.hero-copy-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 18% 28%, rgba(215, 30, 38, 0.16) 0%, transparent 58%);
  pointer-events: none;
}

[data-theme="light"] .hero-section {
  background-color: #e4eef9;
}

[data-theme="light"] .hero-copy-panel::before {
  background: linear-gradient(90deg,
      rgba(237, 243, 250, 0.75) 0%,
      rgba(241, 245, 250, 0.55) 58%,
      rgba(237, 243, 250, 0.32) 100%);
}

.hero-bg-visual {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(4, 32, 82, 0.72) 0%, rgba(4, 32, 82, 0.24) 18%, transparent 42%);
}

.hero-bg-visual::before {
  content: "";
  position: absolute;
  inset: 16px 18px 16px 0;
  z-index: 2;
  border: 1px solid rgba(203, 229, 255, 0.28);
  border-left: 0;
  box-shadow: inset 16px 0 34px rgba(2, 22, 54, 0.18), 0 0 28px rgba(74, 155, 235, 0.18);
  pointer-events: none;
}

.hero-architectural-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  filter: saturate(1.08) contrast(1.04);
}

.hero-section .container {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 24px clamp(20px, 4vw, 64px);
}

.hero-content {
  max-width: 520px;
  position: relative;
  padding: 20px 24px 18px 22px;
  background: linear-gradient(135deg, rgba(3, 30, 72, 0.92), rgba(2, 18, 48, 0.76));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(164, 207, 249, 0.36);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(0, 8, 28, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero-content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 0 3px 3px 0;
  background: var(--brand-red);
  box-shadow: 0 0 18px rgba(215, 30, 38, 0.52);
}

.hero-content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  width: 112px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-red), rgba(215, 30, 38, 0));
  box-shadow: 0 0 14px rgba(215, 30, 38, 0.46);
}

[data-theme="light"] .hero-content {
  background: rgba(255, 255, 255, 0.70);
  border-color: rgba(12, 82, 168, 0.16);
  box-shadow: 0 6px 24px rgba(4, 32, 82, 0.08);
}

.hero-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-red);
}

.hero-brand-title {
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.hero-brand-title .text-red {
  color: var(--brand-red);
}

.hero-brand-title .text-white {
  color: var(--text-primary);
}

.hero-tagline {
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.25;
}

.hero-description {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 14px;
  max-width: 440px;
}

.hero-content .btn-cta-lg {
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(215, 30, 38, 0.28);
}

/* ==========================================================================
   3. COMPANY STATISTICS (Compact Information Bar)
   ========================================================================== */
.stats-section {
  padding-top: 16px;
  padding-bottom: 16px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background-color: var(--stats-bg);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-card);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 4px 8px;
}

.stat-item:not(:last-child) {
  border-right: 1px solid var(--border-soft);
}

.stat-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--blue-200);
}

.stat-number {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  color: var(--text-accent);
  line-height: 1.05;
  margin-bottom: 2px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.25;
}

/* ==========================================================================
   4. SERVICES SECTION
   ========================================================================== */
.services-section {
  background-color: var(--section-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 0 0 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition-normal), background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  box-shadow: var(--shadow-card);
}

.service-card:hover {
  background-color: var(--card-bg-hover);
  border-color: var(--card-border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.service-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--thumb-bg);
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.service-icon-wrap {
  width: 48px;
  height: 48px;
  margin: 14px 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-wrap svg {
  width: 42px;
  height: 42px;
  stroke: var(--brand-red);
  fill: none;
  stroke-width: 1.8;
}

.service-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding: 0 18px;
}

.service-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
  padding: 0 18px;
}

.service-action-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--link-more);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition-fast);
}

.service-card:hover .service-action-link {
  color: var(--link-more-hover);
}

/* ==========================================================================
   5. FEATURED PROJECTS SECTION
   ========================================================================== */
.projects-section {
  background-color: var(--section-alt-bg);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}

.project-card {
  background-color: var(--project-card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  cursor: pointer;
  box-shadow: var(--shadow-card);
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: var(--card-border-hover);
  box-shadow: var(--shadow-hover);
}

.project-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  background-color: var(--thumb-bg);
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.project-card:hover .project-img {
  transform: scale(1.04);
}

.project-info-bar {
  background-color: var(--project-info-bg);
  padding: 10px 10px;
  text-align: center;
  border-top: 1px solid var(--border-soft);
}

.project-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

/* Carousel Indicators */
.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--carousel-dot-bg);
  transition: background-color var(--transition-fast), width var(--transition-fast);
}

.carousel-dot.active {
  background-color: var(--carousel-dot-active);
  width: 20px;
  border-radius: 4px;
}

/* ==========================================================================
   6. WHY CHOOSE ASUS J.S.C
   ========================================================================== */
.why-choose-section {
  padding-top: 16px;
  padding-bottom: 16px;
}

.why-choose-bar {
  background-color: var(--why-choose-bg);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-card);
}

.why-choose-title-block {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  border-right: 1px solid var(--border-soft);
  padding-right: 18px;
}

.why-choose-label {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-accent);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.15;
}

.why-choose-brand {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.15;
}

.why-choose-items {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  gap: 12px;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.why-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--brand-red);
}

.why-text {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.25;
}

/* ==========================================================================
   7. NEWS & EVENTS SECTION
   ========================================================================== */
.news-section {
  background-color: var(--section-bg);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.news-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  box-shadow: var(--shadow-card);
}

.news-card:hover {
  transform: translateY(-3px);
  border-color: var(--card-border-hover);
  box-shadow: var(--shadow-hover);
}

.news-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--thumb-bg);
  overflow: hidden;
}

.news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.news-card:hover .news-img {
  transform: scale(1.04);
}

.news-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-date {
  font-size: 11.5px;
  color: var(--text-dim);
  font-weight: 500;
  margin-top: auto;
}

/* ==========================================================================
   8. CONTACT CTA SECTION
   ========================================================================== */
.contact-cta-section {
  background: var(--contact-cta-bg);
  border-top: 1px solid var(--contact-cta-outline, var(--border-soft));
  border-bottom: 1px solid var(--contact-cta-outline, var(--border-soft));
  padding: 36px 0;
  position: relative;
  overflow: hidden;
}

.contact-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-cta-text {
  max-width: 620px;
}

.contact-cta-title {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 800;
  color: var(--contact-cta-heading);
  margin-bottom: 6px;
  line-height: 1.25;
}

.contact-cta-desc {
  font-size: 13.5px;
  color: var(--contact-cta-text);
  line-height: 1.55;
}

.contact-cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-hotline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--contact-cta-phone-bg, var(--hotline-badge-bg));
  border: 1px solid var(--contact-cta-phone-border, var(--border-card));
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--contact-cta-phone-text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.contact-hotline-badge svg {
  color: var(--brand-red);
}

.contact-hotline-badge:hover {
  border-color: var(--blue-300);
  background-color: rgba(10, 61, 131, 0.85);
  color: var(--white);
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
  color: var(--footer-text);
  padding-top: 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.4fr;
  gap: 28px;
  padding-bottom: 32px;
}

.site-footer h2,
.site-footer h3,
.site-footer h4,
.footer-col-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--footer-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  position: relative;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-brand .brand-logo-link,
.footer-brand-wrap.brand-logo-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: 8px;
  background: radial-gradient(ellipse at center,
      rgba(90, 150, 230, 0.20) 0%,
      rgba(12, 82, 168, 0.08) 50%,
      transparent 75%);
  border: 1px solid rgba(90, 150, 230, 0.18);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  margin-bottom: 14px;
  transition: transform 180ms ease, border-color 180ms ease;
  overflow: hidden;
}

.footer-brand .brand-logo-link:hover,
.footer-brand-wrap.brand-logo-link:hover {
  transform: translateY(-1px);
  border-color: rgba(141, 187, 235, 0.38);
}

.footer-brand .brand-logo-image,
.footer-brand-wrap .brand-logo-image {
  height: 56px;
  max-height: 60px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-company-desc,
.site-footer p {
  font-size: 13px;
  color: var(--footer-text);
  line-height: 1.6;
  margin: 0;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.social-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--footer-icon-bg);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-link);
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.social-icon-btn:hover {
  background-color: var(--social-btn-hover);
  color: var(--white);
  border-color: var(--social-btn-hover);
}

.footer-links-list,
.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer a,
.footer-link,
.footer-links-list a,
.footer-nav-list a {
  font-size: 12.5px;
  color: var(--footer-link);
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.site-footer a:hover,
.footer-link:hover,
.footer-links-list a:hover,
.footer-nav-list a:hover {
  color: var(--footer-link-hover);
  transform: translateX(3px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: var(--footer-text);
  line-height: 1.45;
  margin-bottom: 8px;
}

.footer-contact-item span {
  color: var(--footer-text);
}

.footer-contact-item svg,
.site-footer svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--footer-icon-color);
}

.footer-contact-item a {
  color: var(--footer-link);
  display: inline;
  transform: none;
}

.footer-contact-item a:hover {
  color: var(--footer-link-hover);
  transform: none;
}

.footer-copyright-bar,
.footer-bottom-bar {
  background-color: var(--footer-copyright-bg);
  padding: 10px 0;
  text-align: center;
}

.footer-bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.copyright-text {
  font-size: 12.5px;
  color: var(--footer-copyright-text);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0;
}

.footer-bottom-links {
  font-size: 12px;
  color: var(--footer-copyright-text);
  opacity: 0.9;
}

/* ==========================================================================
   MODAL COMPONENT (Vanilla JS Project Details)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--modal-backdrop-bg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background-color: var(--modal-bg);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  box-shadow: var(--shadow-hover);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.modal-backdrop.is-open .modal-container {
  transform: scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-soft);
  background-color: var(--modal-header-bg);
}

.modal-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
}

.modal-close-btn {
  color: var(--text-muted);
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

.modal-body {
  padding: 20px 18px;
}

.modal-project-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  background-color: var(--modal-img-bg);
}

.modal-project-meta {
  display: flex;
  gap: 14px;
  font-size: 12.5px;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.modal-project-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.modal-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background-color: var(--modal-footer-bg);
}

/* ==========================================================================
   8. INNER PAGES — PAGE HERO & BREADCRUMB
   ========================================================================== */
.page-hero {
  --page-hero-photo: url("../images/work/work-12-tower.jpg");
  background: var(--page-hero-bg);
  border-bottom: 1px solid var(--border-soft);
  padding: 56px 0 44px;
  position: relative;
  overflow: hidden;
  min-height: 240px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(2, 22, 54, 0.88) 0%, rgba(2, 22, 54, 0.58) 55%, rgba(2, 22, 54, 0.42) 100%),
    var(--page-hero-photo) center / cover no-repeat;
}

.page-hero--about {
  --page-hero-photo: url("../images/work/work-03-balcony.jpg");
}

.page-hero--services {
  --page-hero-photo: url("../images/work/work-15-doors.jpg");
}

.page-hero--projects {
  --page-hero-photo: url("../images/work/work-11-crane.jpg");
}

.page-hero--news {
  --page-hero-photo: url("../images/work/work-08-stairs.jpg");
}

.page-hero--contact {
  --page-hero-photo: url("../images/work/work-18-gate.jpg");
}

.page-hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item a {
  color: var(--link-more);
  transition: color var(--transition-fast);
}

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

.breadcrumb-item.active {
  color: var(--text-muted);
}

.breadcrumb-separator {
  color: var(--text-dim);
  opacity: 0.6;
}

.page-hero-title {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
}

.page-hero-subtitle {
  font-size: clamp(14px, 1.6vw, 16px);
  color: rgba(255, 255, 255, 0.88);
  max-width: 680px;
  margin: 0;
  line-height: 1.55;
}

.page-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.72);
}

.page-hero .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.88);
}

.page-hero .breadcrumb-item.active,
.page-hero .breadcrumb-separator {
  color: rgba(255, 255, 255, 0.62);
}

/* ==========================================================================
   9. ABOUT US PAGE COMPONENTS
   ========================================================================== */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.about-intro-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-intro-text p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.about-intro-media {
  background-color: var(--navy-thumb);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 5;
  min-height: 320px;
}

.about-intro-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.value-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-fast);
  box-shadow: var(--shadow-card);
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--card-border-hover);
}

.value-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--icon-box-bg);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-red);
  margin-bottom: 4px;
}

.value-card-title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0;
}

.value-card-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* Neutral Placeholder Area for Partners / Certificates */
.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.placeholder-badge {
  border: 1px dashed var(--placeholder-badge-border);
  border-radius: var(--radius-sm);
  background-color: var(--placeholder-badge-bg);
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.placeholder-badge svg {
  color: var(--blue-300);
  opacity: 0.7;
}

.placeholder-badge-text {
  font-size: 12.5px;
  color: var(--text-dim);
  font-weight: 500;
}

/* ==========================================================================
   10. SERVICES PAGE COMPONENTS
   ========================================================================== */
.services-list-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.service-detail-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-fast);
  box-shadow: var(--shadow-card);
}

.service-detail-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--card-border-hover);
}

.service-detail-thumb {
  position: relative;
  background-color: var(--navy-thumb);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  overflow: hidden;
}

.service-detail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-order-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: var(--brand-red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.service-detail-content {
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.service-detail-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-badge-pill {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--blue-200);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.service-detail-title {
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: 0.02em;
}

.service-detail-description {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.service-detail-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 4px;
}

.empty-state-card {
  text-align: center;
  padding: 50px 24px;
  background-color: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
}

/* ==========================================================================
   11. PROJECTS CATALOG & DETAIL PAGES
   ========================================================================== */
.projects-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-catalog-card {
  display: flex;
  flex-direction: column;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-fast);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
}

.project-catalog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--card-border-hover);
}

.project-catalog-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: var(--navy-thumb);
  overflow: hidden;
  position: relative;
}

.project-catalog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.project-catalog-card:hover .project-catalog-img {
  transform: scale(1.03);
}

.project-catalog-body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  justify-content: space-between;
}

.project-catalog-meta {
  display: flex;
  gap: 14px;
  font-size: 12.5px;
  color: var(--text-dim);
  flex-wrap: wrap;
}

.project-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.project-meta-item svg {
  color: var(--brand-red);
}

.project-catalog-title {
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.35;
}

.project-catalog-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.project-catalog-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--link-more);
  margin-top: 6px;
  transition: color var(--transition-fast);
}

.project-catalog-card:hover .project-catalog-action {
  color: var(--link-more-hover);
}

/* Project Detail Layout */
.project-detail-layout {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.project-detail-header-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-detail-main-title {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.25;
}

.project-detail-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.project-detail-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--pill-bg);
  border: 1px solid var(--pill-border);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-secondary);
}

.project-detail-meta-pill svg {
  color: var(--brand-red);
}

.project-detail-media-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-card);
  background-color: var(--navy-thumb);
  box-shadow: var(--shadow-card);
}

.project-detail-main-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.project-detail-content-body {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 28px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.project-detail-content-body p {
  margin: 0 0 16px 0;
}

.project-detail-content-body p:last-child {
  margin-bottom: 0;
}

.project-detail-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.btn-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--link-more);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.btn-back-link:hover {
  color: var(--white);
  transform: translateX(-3px);
}

.not-found-card {
  text-align: center;
  padding: 60px 24px;
  background-color: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.not-found-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.not-found-desc {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0;
}

/* ==========================================================================
   12. NEWS CATALOG & DETAIL PAGES
   ========================================================================== */
.news-filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.news-filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.news-filter-btn:hover {
  background-color: var(--card-border);
  color: var(--text-primary);
}

.news-filter-btn.active {
  background-color: var(--brand-red);
  border-color: var(--brand-red);
  color: #ffffff;
  font-weight: 600;
}

.news-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-catalog-card {
  display: flex;
  flex-direction: column;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-fast);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
}

.news-catalog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--card-border-hover);
}

.news-catalog-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: var(--navy-thumb);
  overflow: hidden;
  position: relative;
}

.news-catalog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.news-catalog-card:hover .news-catalog-img {
  transform: scale(1.03);
}

.news-catalog-body {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  justify-content: space-between;
}

.news-catalog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-dim);
}

.news-meta-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.news-meta-date svg {
  color: var(--brand-red);
}

.news-catalog-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-catalog-excerpt {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-catalog-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--link-more);
  margin-top: 6px;
  transition: color var(--transition-fast);
}

.news-catalog-card:hover .news-catalog-action {
  color: var(--link-more-hover);
}

/* News Detail Layout */
.news-detail-layout {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.news-detail-header-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-detail-main-title {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.news-detail-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.news-detail-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--pill-bg);
  border: 1px solid var(--pill-border);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-secondary);
}

.news-detail-meta-pill svg {
  color: var(--brand-red);
}

.news-detail-media-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-card);
  background-color: var(--navy-thumb);
  box-shadow: var(--shadow-card);
}

.news-detail-main-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.news-detail-content-body {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.news-detail-content-body p {
  margin: 0 0 16px 0;
}

.news-detail-content-body p:last-child {
  margin-bottom: 0;
}

.news-detail-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 8px;
}

/* ==========================================================================
   13. CONTACT PAGE & 404 ERROR PAGE
   ========================================================================== */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 36px;
  align-items: start;
}

.contact-info-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: var(--shadow-card);
}

.contact-info-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.contact-info-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-info-entry {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-info-entry svg {
  width: 18px;
  height: 18px;
  color: var(--brand-red);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-entry a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-info-entry a:hover {
  color: var(--white);
}

.contact-form-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
  position: relative;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-label .req {
  color: var(--brand-red);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--input-text);
  font-family: inherit;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-control::placeholder {
  color: var(--input-placeholder);
}

.form-control:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(215, 30, 38, 0.15);
}

.form-control.is-invalid {
  border-color: var(--brand-red);
}

.form-error-msg {
  font-size: 12px;
  color: var(--brand-red);
  margin-top: 4px;
  display: none;
}

.form-control.is-invalid~.form-error-msg {
  display: block;
}

.form-success-banner {
  background: rgba(12, 82, 168, 0.15);
  border: 1px solid var(--card-border-hover);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.form-success-banner svg {
  color: #10B981;
  flex-shrink: 0;
  margin-top: 2px;
}

.map-placeholder-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 32px 24px;
  text-align: center;
  color: var(--text-dim);
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  gap: 10px;
}

.map-placeholder-card svg {
  color: var(--blue-200);
}

/* 404 Error Page Layout */
.error-404-layout {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  gap: 18px;
}

.error-404-code {
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 900;
  line-height: 1;
  color: var(--brand-red);
  letter-spacing: 0.05em;
}

.error-404-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.error-404-desc {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.6;
  margin: 0;
}

.error-404-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* =============================================================================
   ASUS J.S.C - PUBLIC PRESENTATION ENGINE (PITCH DECK MODE)
   ============================================================================= */

/* Body state when presentation is active */
body.presentation-mode-active {
  overflow: hidden !important;
}

/* Fullscreen Presentation Overlay */
.presentation-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #02122c;
  display: none;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.presentation-overlay.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: #02122c;
  opacity: 1;
}

/* Windowed frame: 16:9 card on the navy backdrop. Native fullscreen expands this frame. */
.presentation-overlay.is-compact-preview {
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: #02122c;
}

/* Presentation Wrapper */
.presentation-wrapper {
  width: min(1280px, calc(100vw - 56px), calc((100vh - 56px) * 16 / 9));
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: calc(100vh - 56px);
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  position: relative;
  background: radial-gradient(circle at 50% 30%, #0a3d83 0%, #022963 45%, #021636 100%);
  color: #FFFFFF;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.presentation-wrapper:fullscreen,
.presentation-wrapper:-webkit-full-screen,
.presentation-wrapper:-moz-full-screen,
.presentation-wrapper.is-native-fullscreen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.presentation-overlay.is-native-fullscreen {
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
  background: #000;
}

/* Floating HUD Top */
.deck-hud-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  padding: 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: linear-gradient(180deg, rgba(2, 22, 54, 0.85) 0%, rgba(2, 22, 54, 0) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hud-top-left {
  display: flex;
  align-items: center;
}

.hud-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hud-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.hud-deck-title {
  font-size: 14px;
  font-weight: 600;
  color: #DCE7F5;
  letter-spacing: 0.02em;
}

.hud-top-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hud-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #DCE7F5;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hud-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
}

.hud-btn-close {
  background: rgba(215, 30, 38, 0.2);
  border-color: rgba(215, 30, 38, 0.4);
  color: #FF8F94;
}

.hud-btn-close:hover {
  background: var(--brand-red, #D71E26);
  color: #FFFFFF;
  border-color: var(--brand-red, #D71E26);
}

/* Stage & Slider Track — fill the viewport like PowerPoint */
.deck-stage {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  position: relative;
  overflow: hidden;
}

.deck-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Presentation Slide */
.presentation-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  box-sizing: border-box;
  opacity: 1;
}

/* Slide surface fills the entire screen */
.slide-aspect-canvas {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  aspect-ratio: auto;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 88px clamp(28px, 5vw, 80px);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.presentation-slide.theme-deep-navy .slide-aspect-canvas {
  background: radial-gradient(circle at 50% 30%, #0a3d83 0%, #022963 45%, #021636 100%);
  color: #FFFFFF;
}

.presentation-slide.theme-light-modern .slide-aspect-canvas {
  background: radial-gradient(circle at 50% 30%, #FFFFFF 0%, #F1F5F9 60%, #E2E8F0 100%);
  color: #042052;
}

.presentation-slide.theme-accent-red .slide-aspect-canvas {
  background: radial-gradient(circle at 50% 30%, #E93C36 0%, #D71E26 50%, #900B11 100%);
  color: #FFFFFF;
}

.presentation-slide.theme-dark-gradient .slide-aspect-canvas {
  background: radial-gradient(circle at 50% 30%, #1E293B 0%, #0F172A 60%, #020617 100%);
  color: #FFFFFF;
}

/* Floating HUD Bottom */
.deck-hud-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 100;
  background: linear-gradient(0deg, rgba(2, 22, 54, 0.9) 0%, rgba(2, 22, 54, 0) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hud-bottom-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.hud-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hud-nav-btn:hover {
  background: var(--brand-red, #D71E26);
  border-color: var(--brand-red, #D71E26);
  transform: scale(1.08);
}

.hud-nav-center {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hud-counter {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #AFC2DA;
}

.hud-dots-rail {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.hud-dot.active {
  background: var(--brand-red, #D71E26);
  width: 28px;
  border-radius: 5px;
}

/* Progress Track & Bar */
.deck-progress-track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.deck-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #0C52A8 0%, #D71E26 100%);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Template: Cover */
.slide-content-cover {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.slide-bleed-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  display: block;
}

.slide-bleed-dim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(2, 22, 54, 0.86) 0%, rgba(2, 22, 54, 0.58) 48%, rgba(2, 22, 54, 0.4) 100%);
}

.slide-content-photo {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 720px;
  gap: 8px;
}

.slide-content-gallery {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
}

.deck-gallery-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 1fr;
  gap: 8px;
  min-height: 0;
}

.deck-gallery-cell {
  overflow: hidden;
  border-radius: 6px;
  background: #02204c;
  min-height: 0;
}

.deck-gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.deck-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
}

.deck-brand-logo {
  height: 24px;
  width: auto;
}

.deck-brand-badge {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #DCE7F5;
}

.deck-cover-title {
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 900;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.deck-cover-subtitle {
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 600;
  color: var(--brand-red, #D71E26);
  margin: 0;
  letter-spacing: 0.04em;
}

.deck-cover-divider {
  width: 60px;
  height: 3px;
  background: var(--brand-red, #D71E26);
  border-radius: 2px;
  margin: 4px auto;
}

.deck-cover-description {
  font-size: clamp(13px, 1.6vw, 16px);
  color: #CAD8E8;
  line-height: 1.6;
  max-width: 780px;
  margin: 0;
}

/* Template: Split Layouts */
.slide-content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3.5vw, 44px);
  align-items: stretch;
  height: 100%;
  min-height: 0;
}

.split-column-media {
  min-height: 0;
  height: 100%;
}

.deck-section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--brand-red, #D71E26);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.deck-slide-title {
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  margin: 0 0 6px;
}

.deck-slide-subtitle {
  font-size: clamp(13px, 1.8vw, 16px);
  font-weight: 600;
  color: #AFC2DA;
  margin: 0 0 14px;
}

.deck-slide-desc {
  font-size: clamp(12px, 1.4vw, 14.5px);
  color: #DCE7F5;
  line-height: 1.6;
  margin: 0 0 16px;
}

.deck-media-frame {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  position: relative;
  background: #02204c;
}

.deck-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.deck-media-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 14px;
  font-size: 11.5px;
  color: #DCE7F5;
  background: linear-gradient(0deg, rgba(2, 22, 54, 0.9) 0%, rgba(2, 22, 54, 0) 100%);
}

/* Template: Metrics */
.slide-content-metrics {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  height: 100%;
}

.deck-header-center {
  text-align: center;
}

.deck-stats-grid {
  display: grid;
  gap: 16px;
}

.deck-stats-grid.deck-stats-4 {
  grid-template-columns: repeat(4, 1fr);
}

.deck-stats-grid.deck-stats-2 {
  grid-template-columns: repeat(2, 1fr);
}

.deck-stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  transition: all 0.2s ease;
}

.deck-stat-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--brand-red, #D71E26);
}

.deck-stat-number {
  display: block;
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 900;
  color: var(--brand-red, #D71E26);
  line-height: 1.1;
  margin-bottom: 4px;
}

.deck-stat-label {
  font-size: 12.5px;
  color: #CAD8E8;
  font-weight: 500;
}

.deck-metrics-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.deck-certs-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cert-pill {
  font-size: 11px;
  font-weight: 700;
  color: #AFC2DA;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: 20px;
}

/* Template: Showcase */
.slide-content-showcase {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  height: 100%;
}

.deck-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.deck-showcase-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.showcase-icon-wrap {
  font-size: 24px;
}

.showcase-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.showcase-card-desc {
  font-size: 12px;
  color: #AFC2DA;
  line-height: 1.5;
  margin: 0;
}

/* Template: Contact */
.slide-content-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  height: 100%;
}

.deck-contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: center;
}

.deck-contact-info-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-card-header {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
}

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
}

.contact-info-row .info-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-row strong {
  display: block;
  color: #FFFFFF;
  font-weight: 600;
}

.contact-info-row p {
  margin: 2px 0 0;
  color: #CAD8E8;
  line-height: 1.45;
}

.deck-contact-qr-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.qr-code-placeholder {
  width: 130px;
  height: 130px;
  background: #FFFFFF;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.qr-brand-logo {
  max-width: 80px;
  height: auto;
}

.qr-label {
  font-size: 9px;
  font-weight: 800;
  color: #022963;
  letter-spacing: 0.05em;
}

.qr-caption {
  font-size: 12px;
  color: #AFC2DA;
  margin: 0;
}

/* Bullet list */
.deck-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.deck-bullet-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(12px, 1.4vw, 13.5px);
  color: #DCE7F5;
}

.deck-bullet-icon {
  color: #10B981;
  font-weight: bold;
}

/* CTA Button in Slide */
.btn-deck-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--brand-red, #D71E26);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(215, 30, 38, 0.4);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-deck-cta:hover {
  background: #E93C36;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(215, 30, 38, 0.6);
}

/* Responsive adjustments for Presentation Engine */
@media (max-width: 992px) {
  .slide-content-split {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .deck-media-frame {
    min-height: 220px;
    max-height: none;
  }

  .deck-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .deck-stats-grid.deck-stats-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .deck-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


@media (max-width: 640px) {
  .deck-hud-top {
    padding: 0 14px;
    height: 52px;
  }

  .deck-hud-bottom {
    padding: 0 14px;
    height: 52px;
  }

  .deck-stage {
    height: 100%;
    margin: 0;
  }

  .presentation-slide {
    padding: 0;
  }

  .slide-aspect-canvas {
    aspect-ratio: auto;
    height: 100%;
    border-radius: 0;
    padding: 64px 16px 68px;
    overflow-y: auto;
  }

  .hud-deck-title {
    display: none;
  }

  .hud-dots-rail {
    display: none;
  }
}
