/* ===================================================================
   PCY ENGINEERING - CLEAN WHITE & MODERN HEALTHCARE TECH DESIGN SYSTEM
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Prompt:wght@300;400;500;600;700&display=swap');

:root {
  /* Clean White Palette */
  --bg-dark: #f8fafc;
  --bg-primary: #ffffff;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.94);
  --bg-footer: #f8fafc;

  /* Brand Tech Colors */
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #0284c7;
  --primary-soft: #e0f2fe;
  --primary-glow: rgba(2, 132, 199, 0.15);

  --accent-cyan: #0284c7;
  --accent-emerald: #059669;
  --accent-emerald-soft: #d1fae5;
  --accent-emerald-glow: rgba(5, 150, 105, 0.15);
  --accent-indigo: #4f46e5;
  --accent-amber: #d97706;
  --accent-coral: #ea580c;

  /* Borders & Dividers */
  --border-subtle: #e2e8f0;
  --border-card: #e2e8f0;
  --border-glow: #cbd5e1;
  --border-strong: #0284c7;

  /* High-Contrast Crisp Typography */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;
  --text-white: #ffffff;

  /* Soft Clean Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -4px rgba(15, 23, 42, 0.07), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
  --shadow-glow: 0 10px 30px rgba(2, 132, 199, 0.12);
  --shadow-emerald: 0 10px 30px rgba(5, 150, 105, 0.12);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Prompt', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 10% 10%, rgba(2, 132, 199, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 25%, rgba(16, 185, 129, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 50% 75%, rgba(99, 102, 241, 0.03) 0%, transparent 45%);
  background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Typography Helpers */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Prompt', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (min-width: 1400px) {
  .container {
    padding: 0 3.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
}


/* Gradient Texts & Badges */
.text-gradient {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
  background: linear-gradient(135deg, #0284c7 0%, #6366f1 50%, #9333ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-tech {
  background: var(--primary-soft);
  border: 1px solid #bae6fd;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08);
}

.badge-pulse::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.4);
    opacity: 1;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

/* Clean Cards */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  background: var(--bg-card);
  border-color: #bae6fd;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.65rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
  transform: translateY(-2px);
  color: #ffffff !important;
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--text-main);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
  background: #f0f9ff;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-glow {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.28);
}

.btn-glow:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  box-shadow: 0 6px 22px rgba(5, 150, 105, 0.4);
  transform: translateY(-2px);
  color: #ffffff !important;
}

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

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
}

/* ===================================================================
   HEADER & NAVBAR
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.site-header.scrolled {
  border-bottom-color: #cbd5e1;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  transition: var(--transition);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.04);
}

.brand-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.brand-icon-wrap svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--primary);
  letter-spacing: 0.08em;
  font-weight: 600;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4rem;
  list-style: none;
}

.nav-link {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.4rem 0;
}

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

.nav-link.active::after,
.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent-emerald));
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.3rem;
}

/* ===================================================================
   HERO SECTION
   =================================================================== */
.hero-section {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-dark) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 0.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.8rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item h3 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-item p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Video Player Frame */
.hero-visual {
  position: relative;
}

.video-frame-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #000000;
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.15), 0 0 25px rgba(2, 132, 199, 0.12);
  aspect-ratio: 16 / 10;
}

.video-frame-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-controls-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.4rem;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.video-badge-info h4 {
  font-size: 1.05rem;
  color: #ffffff;
}

.video-badge-info p {
  font-size: 0.8rem;
  color: #38bdf8;
}

.video-btn-wrap {
  display: flex;
  gap: 0.6rem;
}

.video-ctrl-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.1rem;
}

.video-ctrl-btn:hover {
  background: var(--primary);
  transform: scale(1.08);
}

.floating-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.tag-pill {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.tag-pill i {
  color: var(--accent-emerald);
}

/* ===================================================================
   SECTION HEADERS
   =================================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.8rem;
}

.section-subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.6rem;
  display: block;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ===================================================================
   PRODUCTS & SOLUTIONS GRID
   =================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.8rem;
}

.product-card {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-card);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #bae6fd;
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}

.product-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: var(--primary-soft);
  border: 1px solid #bae6fd;
}

.product-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.product-title {
  font-size: 1.45rem;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.product-tagline {
  font-size: 0.92rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.product-body {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.product-features-list {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.product-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-main);
}

.product-features-list li i {
  color: var(--accent-emerald);
  margin-top: 0.2rem;
  font-size: 0.95rem;
}

.product-card-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===================================================================
   REFERENCES FILTER & GALLERY
   =================================================================== */
.ref-filter-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.8rem;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.filter-btn:hover {
  background: #f0f9ff;
  color: var(--primary);
  border-color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.8rem;
}

.ref-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-card);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.ref-card:hover {
  transform: translateY(-6px);
  border-color: #bae6fd;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08), 0 0 20px rgba(2, 132, 199, 0.1);
}

.ref-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f5f9;
}

.ref-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ref-card:hover .ref-img-wrap img {
  transform: scale(1.07);
}

.ref-badge-count {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  z-index: 2;
}

.ref-badge-cat {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--primary);
  color: #ffffff;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
  z-index: 2;
}

.ref-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.ref-title {
  font-size: 1.18rem;
  color: var(--text-main);
  margin-bottom: 0.45rem;
  line-height: 1.35;
}

.ref-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.ref-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.2rem;
}

.ref-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: auto;
}

.ref-card:hover .ref-action {
  color: var(--primary-hover);
}

/* ===================================================================
   LIGHTBOX MODAL
   =================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  max-width: 1050px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-header {
  padding: 1.3rem 1.8rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}

.modal-title-block h3 {
  font-size: 1.35rem;
  color: var(--text-main);
}

.modal-title-block p {
  font-size: 0.88rem;
  color: var(--primary);
  margin-top: 0.2rem;
  font-weight: 500;
}

.modal-close-btn {
  background: #f1f5f9;
  border: none;
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #fee2e2;
  color: #ef4444;
  transform: rotate(90deg);
}

.modal-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  overflow-y: auto;
  background: #ffffff;
}

.modal-main-img-stage {
  position: relative;
  width: 100%;
  height: 480px;
  background: #0f172a;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-main-img-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--text-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-nav-btn:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.modal-nav-prev {
  left: 16px;
}

.modal-nav-next {
  right: 16px;
}

.modal-thumbnails-strip {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0.5rem 0.2rem;
}

.modal-thumb {
  width: 76px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.6;
  transition: var(--transition);
  background: #f1f5f9;
}

.modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-thumb.active,
.modal-thumb:hover {
  opacity: 1;
  border-color: var(--primary);
  transform: scale(1.05);
}

.modal-info-footer {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-info-footer p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ===================================================================
   WHY CHOOSE US / ADVANTAGES
   =================================================================== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}

.advantage-card {
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.advantage-card:hover {
  transform: translateY(-5px);
  border-color: #a7f3d0;
  box-shadow: var(--shadow-md), var(--shadow-emerald);
}

.advantage-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-emerald-soft);
  border: 1px solid #a7f3d0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-emerald);
  margin-bottom: 1.3rem;
}

.advantage-title {
  font-size: 1.22rem;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.advantage-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================================================================
   CTA BANNER
   =================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #e0f2fe 0%, #ecfdf5 100%);
  border: 1px solid #bae6fd;
  border-radius: var(--radius-xl);
  padding: 4rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.08);
}

.cta-banner-content {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  font-size: 2.5rem;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ===================================================================
   CONTACT & QUOTATION FORM
   =================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2.5rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-card-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.4rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-card-item:hover {
  border-color: var(--primary);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-soft);
  border: 1px solid #bae6fd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 0.3rem;
}

.contact-details p,
.contact-details a {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.contact-form-wrap {
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  background: #ffffff;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.3rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-feedback {
  display: none;
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
  font-size: 0.92rem;
}

.form-feedback.success {
  display: block;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.map-container {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  margin-top: 2rem;
  box-shadow: var(--shadow-sm);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===================================================================
   FOOTER (CLEAN LIGHT)
   =================================================================== */
.site-footer {
  background: var(--bg-footer);
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  font-size: 1.15rem;
  color: var(--text-main);
  margin-bottom: 1.3rem;
  position: relative;
  display: inline-block;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-contact-item i {
  color: var(--primary);
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footer-status-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-emerald-soft);
  border: 1px solid #a7f3d0;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  color: var(--accent-emerald);
  font-size: 0.8rem;
  font-weight: 600;
}

/* ===================================================================
   RESPONSIVE DESIGN SYSTEM
   =================================================================== */

/* Mini Feature Grid Helper */
.feature-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Tablets and Laptops (<= 1200px) */
@media (max-width: 1200px) {
  .nav-links {
    gap: 2rem;
  }
}

/* Large Tablets & Small Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .nav-links {
    gap: 1.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-title {
    font-size: 2.7rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Mobile & Tablets (<= 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-head {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: 1.85rem;
    line-height: 1.3;
  }

  .section-desc {
    font-size: 0.95rem;
  }

  /* Navigation & Mobile Drawer */
  .site-header {
    height: 70px;
  }

  .nav-container {
    height: 70px;
  }

  .nav-links {
    display: none;
  }

  .nav-actions .btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 1.25rem 1.25rem 2rem;
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    gap: 0.75rem;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    z-index: 1001;
  }

  .nav-links.mobile-open .nav-link {
    font-size: 1.05rem;
    padding: 0.65rem 0.5rem;
    border-bottom: 1px solid var(--border-subtle);
    display: block;
    width: 100%;
  }

  .nav-links.mobile-open .nav-link.active::after,
  .nav-links.mobile-open .nav-link:hover::after {
    display: none;
  }

  /* Hero Section */
  .hero-section {
    padding: 2.5rem 0 2rem;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.25;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-btn-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-btn-group .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    text-align: center;
    padding-top: 1.4rem;
    margin-top: 1.4rem;
  }

  .floating-tags {
    gap: 0.45rem;
  }

  .tag-pill {
    font-size: 0.78rem;
    padding: 0.35rem 0.75rem;
  }

  /* Video Overlay */
  .video-controls-overlay {
    padding: 0.85rem;
  }

  .video-badge-info h4 {
    font-size: 0.92rem;
  }

  .video-badge-info p {
    font-size: 0.75rem;
  }

  .video-ctrl-btn {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }

  /* Products Grid - Fix for Overflow */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .product-card {
    padding: 1.5rem;
  }

  .product-title {
    font-size: 1.3rem;
  }

  .product-features-list {
    margin-bottom: 1.4rem;
  }

  .product-card-footer {
    flex-direction: column;
    gap: 0.75rem;
  }

  .product-card-footer .btn {
    width: 100%;
  }

  /* References Section */
  .ref-filter-wrap {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.85rem;
    gap: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.45rem 1rem;
    font-size: 0.84rem;
  }

  .references-grid {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .ref-content {
    padding: 1.25rem;
  }

  .ref-title {
    font-size: 1.1rem;
  }

  /* Mini Grid inside product cards */
  .feature-mini-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  /* Advantages */
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .advantage-card {
    padding: 1.5rem;
  }

  /* CTA Banner */
  .cta-banner {
    padding: 2.5rem 1.25rem;
    margin: 2rem auto 3rem !important;
  }

  .cta-banner h2 {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  .cta-banner p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .cta-banner .btn {
    width: 100%;
  }

  /* Contact & Form */
  .contact-form-wrap {
    padding: 1.4rem;
  }

  .contact-card-item {
    padding: 1.1rem;
    gap: 0.9rem;
  }

  .form-control {
    font-size: 16px;
    padding: 0.8rem 1rem;
  }

  .map-container {
    height: 260px;
    margin-top: 1.4rem;
  }

  /* Lightbox Modal */
  .modal-overlay {
    padding: 0.5rem;
  }

  .modal-content {
    max-height: 94vh;
    border-radius: var(--radius-lg);
  }

  .modal-header {
    padding: 0.9rem 1.1rem;
  }

  .modal-title-block h3 {
    font-size: 1.1rem;
  }

  .modal-body {
    padding: 0.9rem;
    gap: 0.8rem;
  }

  .modal-main-img-stage {
    height: 230px;
  }

  .modal-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .modal-nav-prev {
    left: 8px;
  }

  .modal-nav-next {
    right: 8px;
  }

  .modal-thumb {
    width: 58px;
    height: 42px;
  }

  .modal-info-footer {
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.8rem 1rem;
    text-align: center;
  }

  /* Footer */
  .site-footer {
    padding: 3rem 0 1.5rem;
    margin-top: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    font-size: 0.82rem;
  }
}

/* Small Smartphone Screen (<= 480px) */
@media (max-width: 480px) {
  .brand-logo-img {
    height: 42px;
    max-width: 60px;
  }

  .brand-icon-wrap {
    width: 36px;
    height: 36px;
  }

  .brand-icon-wrap svg {
    width: 20px;
    height: 20px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-sub {
    font-size: 0.65rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .btn-lg {
    padding: 0.8rem 1.4rem;
    font-size: 0.95rem;
  }
}