/* ====== Design Tokens ====== */
:root {
  --bg: #f7f8fb;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --text: #12172b;
  --text-muted: #5b6478;
  --border: #e7e9f2;
  --primary: #007dc2;
  --primary-dark: #005e93;
  --primary-light: #e1f2fc;
  --accent: #54af3a;
  --brand-red: #e31e24;
  --gradient: linear-gradient(135deg, #007dc2 0%, #54af3a 100%);
  --shadow-sm: 0 2px 8px rgba(18, 23, 43, 0.06);
  --shadow-md: 0 12px 32px rgba(18, 23, 43, 0.08);
  --shadow-lg: 0 24px 64px rgba(18, 23, 43, 0.12);
  --radius: 20px;
  --radius-sm: 12px;
  --header-h: 78px;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
}

[data-theme="dark"] {
  --bg: #0b0f1a;
  --bg-alt: #10162a;
  --surface: #131a2e;
  --text: #f1f3fb;
  --text-muted: #9aa3bd;
  --border: #232b45;
  --primary: #2fa4e0;
  --primary-dark: #007dc2;
  --primary-light: rgba(47, 164, 224, 0.14);
  --accent: #6fc94c;
  --brand-red: #ff4d52;
  --gradient: linear-gradient(135deg, #2fa4e0 0%, #6fc94c 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ====== Cursor glow (desktop) ====== */
.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,125,194,0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  display: none;
}
@media (min-width: 992px) { .cursor-glow { display: block; } }

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 125, 194, 0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(0, 125, 194, 0.38); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }

/* ====== Header ====== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--bg-alt) 88%, transparent);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; align-items: center; }
.logo-img { height: 60px; width: auto; }
.footer-logo .logo-img { height: 58px; }

.nav-desktop { display: none; align-items: center; gap: 24px; }
.nav-desktop a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-desktop a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gradient);
  transition: width 0.25s ease;
}
.nav-desktop a:hover { color: var(--text); }
.nav-desktop a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.theme-toggle {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.3s ease, border-color 0.2s ease;
}
.theme-toggle:hover { transform: rotate(20deg); border-color: var(--primary); }
.nav-cta { display: none; }

.menu-toggle {
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s ease; }
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  background: var(--bg-alt);
  transition: max-height 0.35s ease;
  border-top: 1px solid var(--border);
}
.nav-mobile.open { max-height: 400px; }
.nav-mobile a { padding: 16px 24px; border-bottom: 1px solid var(--border); font-weight: 500; }

@media (min-width: 992px) {
  .nav-desktop { display: flex; }
  .nav-cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .nav-mobile { display: none; }
}

/* ====== Hero ====== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 40px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}
.blob-1 { width: 480px; height: 480px; background: var(--primary); top: -160px; right: -120px; animation: float1 12s ease-in-out infinite; }
.blob-2 { width: 420px; height: 420px; background: var(--accent); bottom: -140px; left: -100px; animation: float2 14s ease-in-out infinite; }
@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-30px, 40px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px, -30px); } }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 20%, transparent 75%);
  opacity: 0.5;
}

.hero-inner {
  display: grid;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 700;
  margin-bottom: 22px;
}
.hero-lede {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { position: relative; min-height: 380px; display: flex; align-items: center; justify-content: center; }
.orbit-card.card-main {
  width: 220px; height: 220px;
  border-radius: 32px;
  background: var(--gradient);
  color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  animation: spin-slow 10s ease-in-out infinite;
  font-weight: 600;
}
.orbit-card.card-main i { font-size: 3rem; }
@keyframes spin-slow { 0%,100% { transform: rotate(-4deg) scale(1); } 50% { transform: rotate(4deg) scale(1.03); } }

.floating-card {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  animation: bob 6s ease-in-out infinite;
}
.floating-card i { font-size: 1.3rem; color: var(--primary); }
.floating-card b { display: block; font-size: 0.9rem; }
.floating-card span { color: var(--text-muted); font-size: 0.78rem; }
.fc-1 { top: 6%; left: 0%; animation-delay: 0s; }
.fc-2 { bottom: 10%; right: 2%; animation-delay: 1.2s; }
.fc-3 { top: 55%; left: -6%; animation-delay: 2.4s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

@media (min-width: 992px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
}

.stat-strip {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow-md);
}
.stat { text-align: center; }
.stat-num, .stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: var(--primary);
}
.stat p { color: var(--text-muted); font-size: 0.85rem; margin-top: 6px; }
@media (min-width: 768px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } }

/* ====== Home banner slider ====== */
.banner-section { padding: 36px 0 90px; }
.banner-slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.banner-track { display: flex; transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1); }
.banner-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 56px 64px;
  min-height: 320px;
  color: #fff;
}
.banner-slide-1 { background: linear-gradient(135deg, #007dc2, #54af3a); }
.banner-slide-2 { background: linear-gradient(135deg, #54af3a, #007dc2); }
.banner-slide-3 { background: linear-gradient(135deg, #005e93, #2fa4e0); }
.banner-slide-4 { background: linear-gradient(135deg, #e31e24, #ff7a45); }

.banner-content { max-width: 480px; }
.banner-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.banner-content h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 14px; color: #fff; }
.banner-content p { opacity: 0.92; margin-bottom: 26px; font-size: 1rem; }
.banner-content .btn-primary { background: #fff; color: var(--primary-dark); box-shadow: none; }
.banner-content .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25); }

.banner-icon { font-size: 7rem; opacity: 0.9; flex-shrink: 0; }

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 5;
}
.banner-arrow:hover { background: rgba(255, 255, 255, 0.35); }
.banner-prev { left: 16px; }
.banner-next { right: 16px; }

.banner-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.banner-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}
.banner-dot.active { background: #fff; width: 26px; border-radius: 5px; }

@media (max-width: 767px) {
  .banner-slide { flex-direction: column; text-align: center; padding: 44px 28px 56px; min-height: auto; }
  .banner-icon { font-size: 4.5rem; }
  .banner-content { max-width: none; }
  .banner-arrow { display: none; }
}

/* ====== Sections ====== */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 16px; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

/* ====== Profile ====== */
.profile-grid { display: grid; gap: 40px; }
.profile-copy p { color: var(--text-muted); margin-bottom: 18px; }
.check-list { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.check-list i { color: var(--primary); }

.profile-cards { display: grid; gap: 20px; }
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.info-card i { font-size: 1.6rem; color: var(--primary); margin-bottom: 14px; }
.info-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.info-card p { color: var(--text-muted); font-size: 0.92rem; }

@media (min-width: 992px) {
  .profile-grid { grid-template-columns: 1.2fr 1fr; }
}

/* ====== Vision & Mission ====== */
.vm-grid { display: grid; gap: 24px; margin-bottom: 70px; }
.vm-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.vm-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.vm-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.vm-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.vm-card p { color: var(--text-muted); }
@media (min-width: 768px) { .vm-grid { grid-template-columns: 1fr 1fr; } }

.values-title { font-size: 1.4rem; margin-bottom: 28px; text-align: center; }
.values-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 26px 22px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.value-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-md); border-color: var(--primary); }
.value-letter {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.value-card h4 { margin-bottom: 8px; }
.value-card p { color: var(--text-muted); font-size: 0.88rem; }
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(4, 1fr); } }

/* ====== Products ====== */
.product-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}
.product-card > * { position: relative; z-index: 1; }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card:hover::before { opacity: 1; }
.product-card:hover i, .product-card:hover h3, .product-card:hover p { color: #fff; }
.product-card i { font-size: 1.8rem; color: var(--primary); margin-bottom: 18px; transition: color 0.3s ease; }
.product-card h3 { font-size: 1.15rem; margin-bottom: 10px; transition: color 0.3s ease; }
.product-card p { color: var(--text-muted); font-size: 0.9rem; transition: color 0.3s ease; }
.product-card-cta {
  background: var(--primary-light);
  border-style: dashed;
  display: flex; flex-direction: column; gap: 12px;
}
.product-card-cta .btn { align-self: flex-start; margin-top: 6px; }
.product-card-cta:hover { transform: none; box-shadow: none; }
.product-card-cta:hover::before { opacity: 0; }
.product-card-cta:hover i, .product-card-cta:hover h3, .product-card-cta:hover p { color: var(--text); }
.product-card-cta:hover p { color: var(--text-muted); }

@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

/* ====== Career ====== */
.career-inner { display: grid; gap: 40px; align-items: center; }
.career-copy p { color: var(--text-muted); margin: 18px 0 28px; }
.career-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.badge-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}
.badge-card:hover { transform: translateY(-6px); }
.badge-card i { font-size: 1.6rem; color: var(--primary); }
@media (min-width: 992px) { .career-inner { grid-template-columns: 1.1fr 0.9fr; } }

/* ====== Contact ====== */
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-info-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .contact-info-grid { grid-template-columns: repeat(3, 1fr); } }
.social-row { display: flex; gap: 12px; margin-top: 6px; }
.social-row-center { justify-content: center; margin-top: 36px; }
.social-row a {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.social-row a:hover { background: var(--gradient); color: #fff; border-color: transparent; transform: translateY(-4px); }
.inline-link { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 18px;
}
.form-row { display: grid; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.field input, .field textarea {
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}
.form-note { font-size: 0.78rem; color: var(--text-muted); text-align: center; }

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

/* ====== Footer ====== */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 70px 0 0; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 50px; }
.footer-tagline { color: var(--text-muted); margin-top: 14px; font-size: 0.9rem; max-width: 260px; }
.footer-grid h4 { font-size: 0.95rem; margin-bottom: 16px; }
.footer-grid a { display: block; color: var(--text-muted); margin-bottom: 10px; font-size: 0.9rem; transition: color 0.2s ease; }
.footer-grid a:hover { color: var(--primary); }
.footer-cert { color: var(--text-muted); display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.footer-cert i { color: var(--primary); }
.footer-contact { color: var(--text-muted); display: flex; align-items: flex-start; gap: 8px; font-size: 0.85rem; line-height: 1.5; margin-bottom: 12px; }
.footer-contact i { color: var(--primary); margin-top: 3px; flex-shrink: 0; }
.footer-contact a { display: inline; margin: 0; color: inherit; transition: color 0.2s ease; }
.footer-contact a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  display: flex; flex-direction: column; gap: 8px;
  color: var(--text-muted);
  font-size: 0.82rem;
  text-align: center;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* ====== Scroll to top ====== */
.scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 900;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-4px); }

/* ====== Reveal animation ====== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ====== Nav active state ====== */
.nav-desktop a.active, .nav-mobile a.active { color: var(--primary); font-weight: 700; }
.nav-desktop a.active::after { width: 100%; }

/* ====== Section-head CTA ====== */
.section-head-cta { margin-top: 26px; }

/* ====== Page banner (inner pages) ====== */
.page-banner {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 80px;
  overflow: hidden;
}
.breadcrumb {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 22px;
}
.breadcrumb i { font-size: 0.7rem; }
.breadcrumb a { color: var(--text-muted); transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text); font-weight: 600; }
.page-banner h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin: 18px 0 20px;
}
.page-banner .hero-lede { max-width: 640px; }

/* ====== Product catalog ====== */
.product-catalog { padding-top: 0; }
.catalog-toolbar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
}
.search-box {
  position: relative;
  max-width: 360px;
}
.search-box i {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
}
.search-box input {
  width: 100%;
  padding: 13px 18px 13px 44px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search-box input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.results-count { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 28px; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}
.product-item {
  position: relative;
  background: #aaaeb1;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.product-item.hidden { display: none; }
.product-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.product-item-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 16px;
}
.product-item-icon.product-item-photo {
  width: 300px; height: 300px;
  max-width: 100%;
  background: #aaaeb1;
  padding: 8px;
  margin: 0 auto 16px;
}
.product-item-icon.product-item-photo img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; cursor: zoom-in; }

/* ====== Photo lightbox ====== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(11, 15, 26, 0.88);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.24); }
.product-chip {
  position: absolute;
  top: 22px; right: 22px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  padding: 4px 10px;
  border-radius: 999px;
}
.product-item h3 { font-size: 1.02rem; margin-bottom: 4px; padding-right: 60px; }
.product-meta { color: var(--text-muted); font-size: 0.84rem; }

@media (min-width: 768px) {
  .catalog-toolbar { flex-direction: row; align-items: center; justify-content: space-between; }
}

.no-results {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 60px 0;
  color: var(--text-muted);
  text-align: center;
}
.no-results.visible { display: flex; }
.no-results i { font-size: 2rem; }

.catalog-cta {
  margin-top: 70px;
  text-align: center;
  background: var(--gradient);
  border-radius: var(--radius);
  padding: 50px 30px;
  color: #fff;
}
.catalog-cta h3 { font-size: 1.5rem; margin-bottom: 12px; }
.catalog-cta p { opacity: 0.92; max-width: 520px; margin: 0 auto 26px; }
.catalog-cta .btn-primary { background: #fff; color: var(--primary-dark); box-shadow: none; }
.catalog-cta .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0,0,0,0.2); }

/* ====== Product detail page ====== */
.detail-section { padding-top: 60px; }
.detail-grid { display: grid; gap: 40px; align-items: start; }
.detail-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.detail-icon-circle {
  width: 180px; height: 180px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  box-shadow: var(--shadow-lg);
}
.detail-icon-circle.has-photo {
  width: min(340px, 80vw);
  height: min(340px, 80vw);
  border-radius: var(--radius);
  background: #fff;
  padding: 28px;
}
.detail-icon-circle.has-photo img { width: 100%; height: 100%; object-fit: contain; }
.detail-chip {
  position: static;
  background: var(--primary-light);
  color: var(--primary-dark);
}
.detail-copy h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 12px 0 6px; }
.detail-meta { font-size: 1rem; margin-bottom: 26px; }
.verified-info { display: grid; gap: 20px; margin-top: 10px; }
.verified-info .info-card p { color: var(--text); }
.disclaimer {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.disclaimer i { margin-top: 2px; color: var(--primary); }

.placeholder-card {
  background: var(--surface);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 10px;
}
.placeholder-card i { font-size: 1.8rem; color: var(--primary); margin-bottom: 14px; }
.placeholder-card h3 { margin-bottom: 10px; }
.placeholder-card p { color: var(--text-muted); margin-bottom: 20px; }

.back-link { margin-top: 32px; }

@media (min-width: 768px) { .detail-grid { grid-template-columns: 340px 1fr; } }

/* ====== Career page ====== */
.perks-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .perks-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .perks-grid { grid-template-columns: repeat(3, 1fr); } }

.placeholder-card.wide {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.field input[type="file"] { padding: 10px 14px; cursor: pointer; }

/* ====== Inquiry page ====== */
.form-row-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .form-row-3 { grid-template-columns: repeat(3, 1fr); } }

/* ====== Reduced motion ====== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
