/* ============================================
   PH Hardware — Modern Premium Edition
  肇庆派辉装饰五金制品有限公司
   Palette: Navy / Warm Bronze / Clean White
   ============================================ */

/* ── 图片防复制 / 防下载 (v37.96) ──
   禁用图片拖拽与选中（防拖到桌面、防选中后复制）。
   注意：后台(admin/) 不引用本文件，不受影响。 */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

:root {
  /* ── Brand Colors (v33: slightly lighter) ── */
  --primary: #253E66;
  --primary-light: #305080;
  --primary-dark: #1A2E4A;
  --accent: #C8A96A;
  --accent-light: #D4BA85;
  --accent-dark: #A88942;

  /* ── Neutrals ── */
  --text-dark: #1E293B;
  --text-mid: #546072;
  --text-light: #8A95A6;
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-warm: #FBFAF7;
  --bg-dark: #111827;
  --border: #E2E8F0;
  --border-light: #F1F5F9;

  /* ── Shadows (soft, layered) ── */
  --shadow-xs: 0 1px 2px rgba(26,43,74,0.04);
  --shadow-sm: 0 2px 8px rgba(26,43,74,0.06);
  --shadow-md: 0 8px 28px rgba(26,43,74,0.10);
  --shadow-lg: 0 20px 50px rgba(26,43,74,0.14);
  --shadow-glow: 0 0 30px rgba(200,169,106,0.15);

  /* ── Radii ── */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* ── Motion ── */
  --transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { text-decoration: none; color: inherit; transition: var(--transition); }

::selection { background: var(--accent); color: #fff; }

/* ══════════════════════════════════
   TYPOGRAPHY
   ══════════════════════════════════ */

h1 { font-size: clamp(2rem, 4.5vw, 3.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.7rem); font-weight: 700; line-height: 1.18; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { color: var(--text-mid); line-height: 1.75; }

/* ══════════════════════════════════
   BUTTONS — refined pill & ghost
   ══════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(200,169,106,0.30);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200,169,106,0.40);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.70);
}
.btn-dark {
  background: var(--primary);
  color: #fff;
}
.btn-dark:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ══════════════════════════════════
   LAYOUT
   ══════════════════════════════════ */

.container { max-width: 1220px; margin: 0 auto; padding: 0 28px; }
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }

/* ── Section Headings ── */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  position: relative;
  padding-left: 18px;
}
.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transform: translateY(-50%);
}
.section-title { color: var(--primary); margin-bottom: 18px; }
.section-desc { color: var(--text-mid); max-width: 600px; font-size: 1.04rem; line-height: 1.8; }
.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }

/* ══════════════════════════════════
   HEADER / NAVIGATION
   ══════════════════════════════════ */

#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}
#header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-top {
  background: var(--primary);
  padding: 8px 0;
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-top-info {
  display: flex;
  gap: 28px;
  font-size: 0.79rem;
  color: rgba(255,255,255,0.80);
}
.header-top-info a:hover { color: var(--accent); }
.header-top-info span { display: flex; align-items: center; gap: 6px; }
.header-top-right { display: flex; align-items: center; gap: 16px; }

/* Language Switcher */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  color: #fff;
  padding: 5px 13px;
  border-radius: 50px;
  font-size: 0.79rem;
  cursor: pointer;
  transition: var(--transition);
}
.lang-btn:hover { background: rgba(255,255,255,0.18); }
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 150px;
  padding: 6px 0;
  display: none;
  z-index: 1000;
}
.lang-dropdown.open { display: block; animation: fadeInDown 0.25s ease; }
.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 17px;
  font-size: 0.84rem;
  color: var(--text-dark);
  transition: var(--transition);
}
.lang-dropdown a:hover { background: var(--bg-light); color: var(--primary); }
.lang-dropdown a.active { color: var(--primary); font-weight: 600; }

.nav-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* ── LOGO ── */
.logo {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.logo-img {
  height: 85px;
  width: auto;
  object-fit: contain;
  /* v37: show original colors, no invert filter */
  transition: filter var(--transition);
}
#header:not(.scrolled) .logo-img,
header .logo-img {
  filter: none; /* show original colors in header */
}
.logo-icon {
  /* legacy fallback — hidden when logo-img is used */
  display: none !important;
}
.logo span { color: var(--accent); font-weight: 800; }

/* Footer logo override */
footer .logo-img {
  height: 70px;
  filter: none !important;
}
footer .logo { gap: 0; }

/* ── Nav Links ── */
.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
  align-items: center;
}
.nav-links > li > a {
  padding: 9px 17px;
  border-radius: var(--radius-sm);
  font-size: 0.89rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.01em;
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--primary);
  background: var(--bg-light);
  font-weight: 600;
}

/* Dropdown */
.nav-links li.has-dropdown { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: #fff;
  min-width: 230px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  padding: 8px 0;
  display: none;
  z-index: 9999;
  border: 1px solid var(--border);
  pointer-events: auto;
}
.nav-links li.has-dropdown:hover .nav-dropdown,
.nav-links li.has-dropdown .nav-dropdown:hover { display: block !important; animation: fadeInDown 0.25s ease; }
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 20px;
  font-size: 0.86rem;
  color: var(--text-mid);
  transition: var(--transition);
  pointer-events: auto;
  cursor: pointer;
  text-decoration: none;
}
.nav-dropdown a:hover { color: var(--primary); background: var(--bg-light); padding-left: 25px; }
.nav-dropdown a .nav-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  object-fit: contain;
  display: inline-block;
  border-radius: 3px;
  background: transparent;
  pointer-events: none;
}
.nav-dropdown a .nav-icon-emoji {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  background: transparent;
}
/* Invisible bridge so the dropdown stays open when moving cursor from Products link */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  pointer-events: auto;
}

.nav-cta { display: flex; align-items: center; gap: 14px; }

/* Mobile menu btn */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ══════════════════════════════════
   HERO SECTION
   ══════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;  /* v37.35: safety net — center the hero unit */
  /* v37.20: Center content unit, allow video to show fully */
  overflow: hidden;
  background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 45%, #1e3d5c 100%);
  padding-top: 130px;
}

.hero .container {
  /* v37.89: Wider container to accommodate 50% larger hero video (570px) */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;                       /* No gap — elements touch */
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
}

/* v37.23: DISABLED external background — was blocking load for 30s+ from China */
.hero-bg-photo {
  position: absolute;
  inset: 0;
  /* background-image removed — no more unsplash blocking */
  background: transparent;
  opacity: 0;
  display: none; /* v37.23: Completely remove from render tree */
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(200,169,106,0.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(36,59,95,0.20) 0%, transparent 45%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.018'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 2;
  /* v37.37: Wider to show full title without truncation */
  max-width: 560px;
  flex-shrink: 0;
  padding-right: 36px;         /* v37.36: wider gap between text and video */
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,169,106,0.12);
  border: 1px solid rgba(200,169,106,0.30);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.81rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 30px;
}
.hero h1 { color: #fff; margin-bottom: 26px;
  /* v37.37: No line limit — show full title, area widened instead */
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p {
  color: rgba(255,255,255,0.72);
  font-size: 1.08rem;
  line-height: 1.85;
  margin-bottom: 42px;
  max-width: 520px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 44px;
  border-top: 1px solid rgba(255,255,255,0.09);
}
.hero-stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.hero-visual {
  /* v37.89: Enlarged 50% to 570px while keeping natural aspect ratio */
  position: relative;
  flex-shrink: 0;
  width: 570px;
  /* height auto — determined by video/content inside */
  z-index: 1;
}
.hero-visual-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.04);
}
.ring1 { inset: 0; animation: spinSlow 35s linear infinite; }
.ring2 { inset: 45px; animation: spinSlow 25s linear infinite reverse; }
.ring3 { inset: 90px; animation: spinSlow 18s linear infinite; }
.hero-product-showcase {
  position: absolute;
  /* v37.89: Enlarged 50% to 570px to match hero video */
  inset: auto;
  width: 100%;
  max-width: 570px;
  /* height set by JS after video loads, or default 16:9 */
  aspect-ratio: 16 / 9;
  background: rgba(255,255,255,0.02);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

/* v37.37: Hero Video — natural aspect ratio, 100% of container */
.hero-video-wrapper {
  /* v37.89: Enlarged 50% to 570px */
  position: relative;
  display: inline-block;
  border-radius: 16px;
  overflow: hidden;
  line-height: 0;
  background: #000;
  width: 100%;
  max-width: 570px;
}
.hero-video-wrapper video {
  /* v37.37: Natural ratio — no forced square, no crop */
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 16px;
}
.hero-video-controls {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero-video-controls button {
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background 0.2s;
}
.hero-video-controls button:hover {
  background: rgba(200,169,106,0.9);
}

@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ══════════════════════════════════
   TRUST BAR — marquee
   ══════════════════════════════════ */

.trust-bar {
  background: var(--primary);
  padding: 22px 0;
  overflow: hidden;
}
.trust-bar-track {
  display: flex;
  gap: 64px;
  align-items: center;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.72);
  font-size: 0.84rem;
  font-weight: 500;
  flex-shrink: 0;
}
.trust-item svg, .trust-item span.icon { color: var(--accent); font-size: 1.1rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ══════════════════════════════════
   WHY CHOOSE US — cards
   ══════════════════════════════════ */

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 26px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.why-card:hover::before { transform: scaleX(1); }
.why-icon {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 22px;
  color: #fff;
}
.why-card h3 { font-size: 1.06rem; color: var(--primary); margin-bottom: 12px; }
.why-card p { font-size: 0.87rem; color: var(--text-light); line-height: 1.68; }

/* v37.88: Surface Finish card — no outer card frame, just the swatch image + name */
.sf-card {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.sf-card::before { display: none !important; }
.sf-card:hover { transform: translateY(-4px) !important; box-shadow: none !important; }
.sf-img-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 14px;
  background: transparent;
}
.sf-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}
.sf-card:hover .sf-img-wrap img { transform: scale(1.04); }
.sf-img-placeholder {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sf-card h3 { margin-bottom: 0 !important; font-size: 1rem; color: var(--primary); }

/* ══════════════════════════════════
   CAPABILITIES — Vertical sections (About page) v3.0
   ══════════════════════════════════ */
.capability-section {
  margin-bottom: 72px;
}
.capability-section h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.capability-section .section-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 32px;
}
.capability-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.capability-img-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.capability-img-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.capability-img-item img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  display: block;
  background: #f8f9fc;
  flex-shrink: 0;
}
.capability-img-item .img-caption {
  padding: 14px 18px 16px;
  font-size: 14px;
  color: var(--text-mid);
  text-align: center;
  font-weight: 500;
  border-top: 1px solid var(--border);
  background: #fafbfd;
  margin-top: auto; /* Push caption to bottom of card */
}
@media (max-width: 767px) {
  .capability-section { margin-bottom: 48px; }
  .capability-section h3 { font-size: 22px; }
  .capability-section .section-text { font-size: 15px; margin-bottom: 24px; }
  .capability-images { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
}

/* ══════════════════════════════════
   CERTIFICATES — Horizontal scrolling carousel
   ══════════════════════════════════ */
.certificate-section {
  padding: 50px 0 60px;
  background: linear-gradient(180deg, var(--bg-light) 0%, #fff 100%);
  overflow: hidden;
}
.cert-track-wrap {
  overflow: hidden;
  padding: 20px 0 40px;
  position: relative;
}
.cert-track-wrap::before,
.cert-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 40px;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.cert-track-wrap::before { left: 0; background: linear-gradient(90deg, rgba(255,255,255,1), transparent); }
.cert-track-wrap::after { right: 0; background: linear-gradient(-90deg, rgba(255,255,255,1), transparent); }
.cert-track {
  display: flex;
  gap: 40px;
  /* v37.20: Even slower — was 60s, now 72s (20% slower) */
  animation: certScroll 108s linear infinite; /* v37.37: slowed by 50% (was 72s) */
  width: max-content;
  padding: 0 20px;
}
.cert-track:hover { animation-play-state: paused; }
@keyframes certScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.cert-item {
  flex-shrink: 0;
  /* v37.19: Larger + 100% visible — was 220x300 */
  width: 280px;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(0,0,0,0.12);
  background: #fff;
  padding: 10px; /* v37.19: Frame effect for certificates */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cert-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}
.cert-item img {
  width: 100%;
  height: 100%;
  /* v37.19: contain (not cover) — shows 100% of certificate without cropping */
  object-fit: contain;
  display: block;
  border-radius: 4px;
}

/* ══════════════════════════════════
   PRODUCTS — grid & cards
   ══════════════════════════════════ */

.products-section { background: var(--bg-light); }
.products-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 44px 0;
}
.tab-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text-mid);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.tab-btn:hover, .tab-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-img {
  width: 100%;
  min-height: 200px;
  max-height: 320px;
  object-fit: contain;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--primary);
  font-weight: 300;
  position: relative;
  overflow: hidden;
  padding: 12px;
}
.product-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.7s var(--ease-out);
}
.product-card:hover .product-img img {
  transform: scale(1.07);
}
.product-img .img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,43,74,0.45) 0%, transparent 55%);
  pointer-events: none;
}
.product-body { padding: 18px 20px 22px; }
.product-cat {
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 10px;
}
.product-card h3 { font-size: 0.97rem; color: var(--primary); margin-bottom: 8px; line-height: 1.35; }
.product-card p { font-size: 0.86rem; color: var(--text-light); line-height: 1.62; margin-bottom: 18px; }
.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}
.spec-tag {
  background: var(--bg-warm);
  color: var(--text-mid);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.73rem;
  font-weight: 500;
  border: 1px solid var(--border-light);
}
.product-actions { display: flex; gap: 10px; }
.product-actions .btn { padding: 9px 20px; font-size: 0.82rem; }

/* ══════════════════════════════════
   PROCESS STEPS
   ══════════════════════════════════ */

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 60px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 0;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 12px;
}
.step-num {
  width: 76px;
  height: 76px;
  background: #fff;
  border: 2.5px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0 auto 22px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.step:hover .step-num {
  background: var(--primary);
  color: #fff;
  transform: scale(1.08);
}
.step h4 { color: var(--primary); margin-bottom: 10px; font-size: 0.96rem; }
.step p { font-size: 0.82rem; color: var(--text-light); line-height: 1.55; }

/* ══════════════════════════════════
   CERTIFICATIONS
   ══════════════════════════════════ */

.cert-bar {
  background: var(--bg-dark);
  padding: 56px 0;
}
.cert-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 36px;
}
.cert-item {
  text-align: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  transition: var(--transition);
}
.cert-item:hover { color: #fff; transform: translateY(-4px); }
.cert-badge {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  margin: 0 auto 12px;
  color: var(--accent);
}

/* ══════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 60px;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 34px 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  position: relative;
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.stars { color: var(--accent); font-size: 1rem; margin-bottom: 18px; letter-spacing: 3px; }
.testimonial-text { color: var(--text-mid); font-size: 0.91rem; line-height: 1.78; margin-bottom: 26px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
.author-name { font-weight: 600; font-size: 0.91rem; color: var(--text-dark); }
.author-title { font-size: 0.78rem; color: var(--text-light); }
.quote-icon {
  position: absolute;
  top: 22px; right: 26px;
  font-size: 3.2rem;
  color: var(--bg-light);
  line-height: 1;
}

/* ══════════════════════════════════
   CTA SECTION
   ══════════════════════════════════ */

.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #284a70 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(200,169,106,0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(36,59,95,0.15) 0%, transparent 40%);
}
.cta-section h2 { color: #fff; font-size: clamp(1.85rem, 3.6vw, 2.9rem); margin-bottom: 22px; position: relative; }
.cta-section p { color: rgba(255,255,255,0.82); font-size: 1.08rem; max-width: 580px; margin: 0 auto 42px; position: relative; line-height: 1.78; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ══════════════════════════════════
   NEWS SECTION
   ══════════════════════════════════ */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 60px;
}
.news-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.25);
  overflow: hidden;
  position: relative;
}
.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.news-card:hover .news-img img { transform: scale(1.06); }
.news-img-label {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 0.70rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 50px;
}
.news-body { padding: 24px 26px 28px; }
.news-date { font-size: 0.78rem; color: var(--text-light); margin-bottom: 12px; }
.news-card h3 { font-size: 1.02rem; color: var(--primary); margin-bottom: 11px; line-height: 1.45; }
.news-card p { font-size: 0.86rem; color: var(--text-light); line-height: 1.62; margin-bottom: 18px; }
.read-more {
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.read-more:hover { gap: 11px; color: var(--accent); }

/* ══════════════════════════════════
   CONTACT FORM
   ══════════════════════════════════ */

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  margin-top: 60px;
  align-items: start;
}
.contact-info h3 { color: var(--primary); margin-bottom: 28px; }
.contact-item {
  display: flex;
  gap: 18px;
  margin-bottom: 30px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.contact-item-text h4 { font-size: 0.84rem; color: var(--text-mid); margin-bottom: 5px; }
.contact-item-text p, .contact-item-text a { font-size: 0.97rem; color: var(--text-dark); font-weight: 500; }
.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 42px 38px;
  box-shadow: var(--shadow-md);
}
.contact-form-wrap h3 { color: var(--primary); margin-bottom: 30px; font-size: 1.32rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 0.80rem; font-weight: 600; color: var(--text-mid); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 17px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.90rem;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: var(--transition);
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26,43,74,0.08);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* ══════════════════════════════════
   FOOTER
   ══════════════════════════════════ */

footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.52);
  padding: 78px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px;
  padding-bottom: 58px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand .logo { color: #fff; margin-bottom: 20px; }
.footer-brand p { font-size: 0.87rem; line-height: 1.78; margin-bottom: 26px; max-width: 310px; }
.social-links { display: flex; gap: 12px; }
.social-btn {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  transition: var(--transition);
}
.social-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-col h4 { color: #fff; font-size: 0.88rem; font-weight: 700; margin-bottom: 22px; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { font-size: 0.86rem; transition: var(--transition); color: rgba(255,255,255,0.52); }
.footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.80rem;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom a:hover { color: var(--accent); }

/* ══════════════════════════════════
   SCROLL TO TOP
   ══════════════════════════════════ */

#scrollTop {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 46px; height: 46px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 900;
  border: none;
  font-size: 1.05rem;
}
#scrollTop.visible { opacity: 1; pointer-events: all; }
#scrollTop:hover { background: var(--accent); transform: translateY(-3px); }

/* ══════════════════════════════════
   COOKIE BANNER
   ══════════════════════════════════ */

#cookie-banner {
  position: fixed;
  bottom: 22px; left: 22px; right: 22px;
  background: var(--bg-dark);
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-md);
  padding: 22px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  font-size: 0.85rem;
  max-width: 920px;
  margin: 0 auto;
  transform: translateY(20px);
  animation: slideUp 0.45s ease forwards;
}
@keyframes slideUp { to { transform: translateY(0); opacity: 1; } }
#cookie-banner .btn { padding: 10px 24px; font-size: 0.82rem; }
#cookie-banner.hidden { display: none; }

/* ══════════════════════════════════
   FLOATING WHATSAPP
   ══════════════════════════════════ */

.floating-wa {
  position: fixed;
  bottom: 96px; right: 32px;
  width: 54px; height: 54px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.55rem;
  box-shadow: 0 4px 22px rgba(37,211,102,0.35);
  cursor: pointer;
  transition: var(--transition);
  z-index: 890;
  text-decoration: none;
}
.floating-wa:hover { transform: scale(1.08); box-shadow: 0 8px 30px rgba(37,211,102,0.45); }

/* ══════════════════════════════════
   APPLICATION SCENES
   ══════════════════════════════════ */

.scenes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 60px;
}
.scene-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 380px;
  cursor: pointer;
  group: true;
}
.scene-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--ease-out);
}
.scene-card:hover img { transform: scale(1.08); }
.scene-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,24,39,0.88) 0%, rgba(17,24,39,0.22) 50%, transparent 100%);
  transition: background 0.45s ease;
}
.scene-card:hover .scene-card-overlay {
  background: linear-gradient(to top, rgba(17,24,39,0.93) 0%, rgba(17,24,39,0.35) 60%, rgba(17,24,39,0.08) 100%);
}
.scene-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  z-index: 2;
}
/* v37.69: .scene-tag is the actual class used in HTML; .scene-card-tag kept for compatibility */
.scene-tag, .scene-card-tag {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.scene-card h3 { color: #fff; font-size: 1.22rem; margin-bottom: 9px; line-height: 1.3; }
.scene-card p { color: rgba(255,255,255,0.8); font-size: 0.86rem; line-height: 1.62; margin-bottom: 18px; }
.scene-card .btn {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.45s ease 0.1s;
  padding: 11px 24px;
  font-size: 0.83rem;
}
.scene-card:hover .btn { opacity: 1; transform: translateY(0); }

.scene-card.featured { grid-row: span 2; height: 100%; }

@media (max-width: 768px) {
  .scenes-grid { grid-template-columns: 1fr; }
  .scene-card { height: 280px; }
  .scene-card.featured { grid-row: span 1; }
}
@media (max-width: 480px) { .scene-card .btn { opacity: 1; transform: translateY(0); } }

/* ══════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════ */

@media (max-width: 1024px) {
  .why-us-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .process-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero-visual { display: none; }
}
@media (max-width: 768px) {
  .header-top { display: none; }
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .why-us-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .hero-btns { flex-direction: column; align-items: flex-start; max-width: 320px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .cert-grid { gap: 22px; }
  .section { padding: 72px 0; }
  .hero { min-height: auto; padding: 130px 0 80px; }
}
@media (max-width: 480px) {
  .why-us-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: center; }
  .container { padding: 0 18px; }
}

/* ══════════════════════════════════
   PAGE-SPECIFIC: PRODUCTS
   ══════════════════════════════════ */

/* Products catalog: 4 cards per row, scaled proportionally */
.products-catalog .products-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.products-catalog .product-img {
  min-height: 150px;
  max-height: 240px;
  padding: 8px;
  font-size: 2.6rem;
}
.products-catalog .product-body { padding: 13px 14px 16px; }
.products-catalog .product-cat {
  font-size: 0.65rem;
  margin-bottom: 7px;
}
.products-catalog .product-card h3 {
  font-size: 0.82rem;
  margin-bottom: 6px;
}
.products-catalog .product-card p {
  font-size: 0.76rem;
  line-height: 1.55;
  margin-bottom: 13px;
}
.products-catalog .product-specs {
  gap: 5px;
  margin-bottom: 13px;
}
.products-catalog .spec-tag {
  padding: 3px 9px;
  font-size: 0.66rem;
}
.products-catalog .product-actions { gap: 7px; }
.products-catalog .product-actions .btn {
  padding: 7px 15px;
  font-size: 0.75rem;
}
/* Category description box aligns with product cards grid */
.products-catalog .section-desc {
  max-width: none;
  width: 100%;
}
@media (max-width: 1100px) {
  .products-catalog .products-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .products-catalog .product-img { max-height: 260px; }
}
@media (max-width: 768px) {
  .products-catalog .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .products-catalog .section-desc { max-width: 100%; }
}
@media (max-width: 480px) {
  .products-catalog .products-grid { grid-template-columns: 1fr; }
}

.products-page-header {
  background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 45%, #1e3d5c 100%);
  padding: 145px 0 85px;
  text-align: center;
  color: #fff;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
  justify-content: center;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb span { color: rgba(255,255,255,0.28); }
.products-filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 44px 0 34px;
  align-items: center;
}
.filter-label { font-weight: 600; color: var(--text-mid); font-size: 0.90rem; }
.products-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

/* ══════════════════════════════════
   PAGE-SPECIFIC: ABOUT
   ══════════════════════════════════ */

.about-hero { background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 45%, #1e3d5c 100%); padding: 145px 0 95px; }
/* v37.30: FLEX layout — Image LEFT, Text RIGHT, reliable side-by-side */
.about-story {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-top: 64px;
}
/* v37.30: Image column — LEFT side */
.about-story-visual {
  flex: 0 0 40%;
  min-width: 300px;
  max-width: 480px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  height: 430px;
  position: relative;
  overflow: hidden;
  /* Order: ensure image is first (left) */
  order: 0;
}
/* v37.30: Text column — RIGHT side */
.about-story-text {
  flex: 1;
  min-width: 300px;
  padding-left: 24px;
  /* Order: ensure text is second (right) */
  order: 1;
}
/* v37.20: Multi-image carousel for About Story */
.about-gallery { position: relative; width: 100%; height: 100%; }
/* v37.20: contain = 100% of image visible (no cropping) */
.about-gallery img, .about-gallery video { width: 100%; height: 100%; object-fit: contain; border-radius: var(--radius-lg); background: #f5f5f5; }
.about-gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  /* v37.20: Larger, more visible arrows */
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(26,43,74,0.85); color: #fff; border: none;
  font-size: 18px; cursor: pointer; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.about-gallery-nav:hover { background: rgba(200,169,106,0.9); }
.about-gallery-prev { left: 10px; }
.about-gallery-next { right: 10px; }
.about-gallery-dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 5;
}
.about-gallery-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); border: none; cursor: pointer;
  transition: background 0.2s;
}
.about-gallery-dot.active { background: #C8A96A; }
/* v37.19: Badge overlay on about visual */
.about-story-visual::after {
  content: '20+';
  position: absolute;
  bottom: 32px; right: 32px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
  background: rgba(0,0,0,0.28);
  padding: 11px 22px;
  border-radius: 50px;
}
.about-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 64px 0; }
.about-num-card {
  text-align: center;
  padding: 34px 22px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}
.about-num-card strong { display: block; font-size: 2.5rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 10px; }
.about-num-card span { font-size: 0.86rem; color: var(--text-light); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 58px; }
.team-card {
  text-align: center;
  padding: 30px 22px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 82px; height: 82px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  color: #fff;
  font-weight: 700;
  margin: 0 auto 17px;
}
.team-card h4 { color: var(--primary); margin-bottom: 5px; }
.team-card span { font-size: 0.81rem; color: var(--text-light); }

/* ══════════════════════════════════
   PAGE-SPECIFIC: NEWS
   ══════════════════════════════════ */

.news-hero { background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 45%, #1e3d5c 100%); padding: 145px 0 85px; text-align: center; }
.news-page-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; margin-top: 64px; align-items: start; }
.news-main-grid { display: grid; gap: 30px; }
.news-list-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 28px 34px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 26px;
  transition: var(--transition);
  align-items: center;
}
.news-list-card:hover { box-shadow: var(--shadow-md); transform: translateX(5px); }
.news-thumb {
  height: 105px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  color: rgba(255,255,255,0.25);
}
.news-sidebar { display: flex; flex-direction: column; gap: 26px; }
.sidebar-widget { background: var(--bg-light); border-radius: var(--radius-md); padding: 26px; border: 1px solid var(--border-light); }
.sidebar-widget h4 { color: var(--primary); margin-bottom: 18px; padding-bottom: 14px; border-bottom: 2px solid var(--border); font-size: 1.02rem; }
.category-list { list-style: none; }
.category-list li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--border-light); font-size: 0.87rem; }
.category-list li a { color: var(--text-mid); transition: var(--transition); }
.category-list li a:hover { color: var(--primary); }
.category-count { background: var(--primary); color: #fff; font-size: 0.71rem; font-weight: 700; padding: 2px 10px; border-radius: 50px; }

/* ══════════════════════════════════
   SCROLL ANIMATIONS
   ══════════════════════════════════ */

/* v37.23: IMMEDIATE visibility — no more invisible content blocking UX */
.animate-on-scroll { opacity: 1; transform: none; transition: opacity 0.65s ease, transform 0.65s ease; }
.animate-on-scroll.visible { opacity: 1; transform: none; }

/* ════ v31 Product Detail Modal ════ */
.clickable-card{cursor:pointer;transition:transform .25s ease,box-shadow .25s ease}
.clickable-card:hover{transform:translateY(-5px);box-shadow:0 10px 30px rgba(0,0,0,.15)}
.product-img{position:relative;overflow:hidden}
.img-overlay{position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,rgba(0,0,0,.45) 100%);opacity:0;transition:opacity .3s}
.clickable-card:hover .img-overlay{opacity:1}
.view-badge{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);background:transparent;color:#16a34a;padding:6px 18px;border-radius:20px;font-size:.82rem;font-weight:600;opacity:1;transition:all .3s;white-space:nowrap;z-index:2;cursor:pointer;border:1.5px solid currentColor;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.clickable-card:hover .view-badge{opacity:1;background:rgba(22,163,74,.08);color:#15803d;border-color:#15803d}
/* New badge — red corner tag */
.new-badge{position:absolute;top:10px;left:10px;background:#e74c3c;color:#fff;padding:4px 14px;border-radius:6px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;z-index:2}

/* Modal overlay */
.pdo{position:fixed;inset:0;background:rgba(0,0,0,.65);z-index:9999;display:flex;align-items:center;justify-content:center;padding:20px;animation:pdfade .2s ease}@keyframes pdfade{from{opacity:0}to{opacity:1}}
.pdbox{background:#fff;border-radius:16px;max-width:900px;width:100%;max-height:90vh;overflow-y:auto;display:flex;flex-direction:row;box-shadow:0 25px 80px rgba(0,0,0,.35)}
.pdbody{display:flex;flex-direction:row;width:100%}
.pdclose{position:absolute;top:12px;right:16px;background:none;border:none;font-size:28px;color:#999;cursor:pointer;z-index:10;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all .2s}
.pdclose:hover{color:#333;background:#f0f0f0}

/* Gallery side */
.pdgallery{flex:1.2;background:#111;min-width:280px;display:flex;flex-direction:column}
.pdtrack{flex:1;display:flex;align-items:center;justify-content:center;padding:20px;position:relative;min-height:350px}
.pdls{width:100%;height:100%;display:none;align-items:center;justify-content:center}
.pdls.active{display:flex}
.pdls img{max-width:100%;max-height:400px;object-fit:contain;border-radius:8px}
.pdarrow{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,.15);color:#fff;border:none;width:40px;height:40px;border-radius:50%;font-size:18px;cursor:pointer;z-index:5;transition:background .2s}
.pdarrow:hover{background:rgba(255,255,255,.35)}
.pdprev{left:12px}.pdnext{right:12px}
.pddots{display:flex;justify-content:center;gap:8px;padding:14px;background:#111}
.pddot{width:8px;height:8px;border-radius:50%;background:#555;cursor:pointer;transition:background .3s;border:none;padding:0}
.pddot.act{background:#fff}

/* Info side */
.pdinfo{flex:1;padding:36px 32px;display:flex;flex-direction:column}
.pdcat{color:#16a34a;font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}
.pdinfo h2{font-size:1.6rem;font-weight:800;color:#1a1a2e;margin-bottom:16px;line-height:1.3}
.pddesc{color:#555;line-height:1.7;margin-bottom:20px;font-size:.95rem}
.pdspecs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}
.pdspecs .spec-tag{background:#f0fdf4;color:#16a34a;border:1px solid #bbf7d0;padding:5px 12px;border-radius:6px;font-size:.82rem;font-weight:600}
.pdinq{align-self:flex-start;margin-top:auto;padding:14px 32px;font-size:1rem;border-radius:8px;text-decoration:none}

/* Responsive */
@media(max-width:768px){
  .pdbox{flex-direction:column;max-height:95vh}
  .pdbody{flex-direction:column}
  .pdgallery{min-height:250px}
  .pdtrack{min-height:220px}
  .pdinfo{padding:24px 20px}
}
