/* ==========================================================================
   Elite Pipe Iraq — Fresh Industrial B2B + Knowledge Hub Design System
   Light Mode: #F8FAFC / #FFFFFF | Brand Teal: #0D9488 | Copper CTA: #D97706
   Dark Mode:  #090E1A / #111827 | Teal Glow: #2DD4BF  | Amber CTA:  #F59E0B
   ========================================================================== */

:root {
  --bg-page: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-elevated: #F1F5F9;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  --border-strong: #CBD5E1;

  --brand: #0D9488;
  --brand-dark: #0F766E;
  --brand-soft: rgba(13, 148, 136, 0.10);
  --indigo: #1E293B;
  --accent: #D97706;
  --accent-hover: #B45309;
  --accent-soft: rgba(217, 119, 6, 0.12);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px -6px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 44px -12px rgba(15, 23, 42, 0.14);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --header-h: 72px;
  --font-rtl: 'Vazirmatn', 'IBM Plex Sans Arabic', system-ui, -apple-system, sans-serif;
  --font-ltr: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
}

[data-theme="dark"] {
  --bg-page: #090E1A;
  --bg-surface: #111827;
  --bg-elevated: #1E293B;
  --bg-glass: rgba(17, 24, 39, 0.86);
  --text-primary: #F1F5F9;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --border-color: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --brand: #2DD4BF;
  --brand-dark: #14B8A6;
  --brand-soft: rgba(45, 212, 191, 0.12);
  --indigo: #0F172A;
  --accent: #F59E0B;
  --accent-hover: #D97706;
  --accent-soft: rgba(245, 158, 11, 0.14);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 28px -6px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.65);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-rtl);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

main {
  overflow-x: clip;
}

html[dir="ltr"] body {
  font-family: var(--font-ltr);
  line-height: 1.65;
}

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

picture {
  display: contents;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--brand-dark);
}

button,
input,
select,
textarea {
  font-family: inherit;
}

/* Google Material Symbols Rounded */
.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  font-size: 1.2em;
  line-height: 1;
  width: 1.05em;
  height: 1.05em;
  overflow: hidden;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  user-select: none;
  flex-shrink: 0;
}

.channel-icon .material-symbols-rounded {
  font-size: 1.45rem;
}

.topbar .material-symbols-rounded {
  font-size: 1rem;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* Reading Progress Bar */
.reading-progress {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  z-index: 9999;
  transition: width 0.08s linear;
}

/* Top Utility Bar */
.topbar {
  background: var(--indigo);
  color: #E2E8F0;
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .topbar {
  background: #050811;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 7px;
  flex-wrap: wrap;
}

.topbar-contacts {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-contacts a {
  color: #E2E8F0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-contacts a:hover {
  color: #2DD4BF;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5EEAD4;
  font-weight: 600;
}

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-logo {
  width: 52px;
  height: 38px;
  padding: 3px 5px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: block;
  object-fit: contain;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.brand-sub {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.2;
}

@media (max-width: 1220px) {
  .brand-sub {
    display: none;
  }
}

.main-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--brand);
  background: var(--brand-soft);
}

.nav-dropdown-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  min-width: 260px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 150;
}

.nav-dropdown-wrap:hover .nav-dropdown,
.nav-dropdown-wrap:focus-within .nav-dropdown {
  display: flex;
}

.nav-dropdown a {
  width: 100%;
  min-height: 38px;
  padding: 7px 12px;
  font-size: 0.88rem;
  justify-content: flex-start;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.icon-btn {
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-primary);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.18s ease;
}

.icon-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 2px;
}

.lang-switch a {
  min-width: 38px;
  min-height: 38px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: 8px;
  padding-inline: 6px;
}

.lang-switch a.active {
  background: var(--brand);
  color: #FFFFFF;
}

[data-theme="dark"] .lang-switch a.active {
  color: #090E1A;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 20px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-accent {
  background: var(--accent);
  color: #0F172A;
  box-shadow: 0 6px 18px -4px rgba(217, 119, 6, 0.4);
}

.btn-accent:hover {
  background: var(--accent-hover);
  color: #0F172A;
  transform: translateY(-1px);
}

.btn-brand {
  background: var(--brand);
  color: #FFFFFF;
}

.btn-brand:hover {
  background: var(--brand-dark);
  color: #FFFFFF;
}

[data-theme="dark"] .btn-brand {
  color: #090E1A;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.header-cta {
  display: none;
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.88rem;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Slide-Over Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 14, 26, 0.55);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  inset-inline-start: 0;
  width: min(320px, 86vw);
  background: var(--bg-surface);
  z-index: 210;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateX(105%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.25s ease, visibility 0.25s ease;
  overflow-y: auto;
}

html[dir="ltr"] .mobile-drawer {
  transform: translateX(-105%);
}

.mobile-drawer.open {
  transform: translateX(0) !important;
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer a.drawer-link {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--text-primary);
  font-weight: 600;
  border: 1px solid transparent;
}

.mobile-drawer a.drawer-link:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 6vw, 84px);
  background:
    radial-gradient(900px 420px at 85% 15%, var(--brand-soft), transparent 60%),
    radial-gradient(700px 380px at 10% 85%, var(--accent-soft), transparent 60%),
    var(--bg-page);
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

[data-theme="dark"] .hero-pill {
  color: var(--brand);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.85rem, 3.8vw, 3.1rem);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.hero p.hero-sub {
  margin: 0 0 28px;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--text-secondary);
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-visual img {
  margin-inline: auto;
  max-height: 360px;
  object-fit: contain;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border-color);
}

.stat-box strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand);
}

.stat-box span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Section Generic */
.section {
  padding-block: clamp(44px, 5vw, 68px);
}

.section-alt {
  background: var(--bg-surface);
  border-block: 1px solid var(--border-color);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.section-head h2 {
  margin: 0 0 4px;
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  font-weight: 800;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  max-width: 64ch;
}

/* Grid Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

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

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}

.card-media {
  aspect-ratio: 16 / 10;
  background: var(--bg-elevated);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.card-media.contain img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}

.card-media.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-primary);
}

.card-text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  flex: 1;
}

.card-bullets {
  margin: 4px 0 8px;
  padding-inline-start: 18px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}

/* Badges & Chips */
.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 600;
}

.chip:hover,
.chip.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
}

[data-theme="dark"] .chip.active {
  color: #090E1A;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
  font-weight: 600;
}

.breadcrumbs a:hover {
  color: var(--brand);
}

.crumb-home {
  font-size: 1rem;
  color: var(--brand);
}

.crumb-sep {
  font-size: 1rem;
  opacity: 0.65;
}

.crumb-current {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 44ch;
}

/* Article Layout */
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 1024px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}

.article-main {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.article-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.verified-spec-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
}

.verified-spec-badge .material-symbols-rounded {
  font-size: 0.95rem;
  color: var(--brand);
}

.article-header h1 {
  margin: 0 0 18px;
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-muted);
  padding: 0 0 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
}

.author-meta-group {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.author-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid rgba(13, 148, 136, 0.25);
}

.author-avatar .material-symbols-rounded {
  font-size: 1.1rem;
}

.author-text {
  min-width: 0;
}

.author-name {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.author-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.meta-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.font-resizer {
  display: inline-flex;
  border: 1px solid var(--border-color);
  border-radius: 9px;
  background: var(--bg-surface);
  overflow: hidden;
}

.font-ctrl-btn {
  background: transparent;
  border: none;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.font-ctrl-btn+.font-ctrl-btn {
  border-inline-start: 1px solid var(--border-color);
}

.font-ctrl-btn:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.meta-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.meta-copy-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.meta-copy-btn .material-symbols-rounded {
  font-size: 1.05rem;
}

.article-summary-card {
  margin: 0 0 20px;
  padding: 2px 0 2px 14px;
  padding-inline-start: 14px;
  border-inline-start: 3px solid var(--brand);
  background: transparent;
}

.summary-head {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--brand-dark);
  margin-bottom: 4px;
}

[data-theme="dark"] .summary-head {
  color: var(--brand);
}

.summary-head .material-symbols-rounded {
  font-size: 1rem;
  color: var(--brand);
}

.article-summary-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.72;
  color: var(--text-secondary);
  font-weight: 500;
}

.article-callout {
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(217, 119, 6, 0.28);
  border-inline-start: 4px solid var(--accent);
  color: var(--text-primary) !important;
  font-size: 0.96rem;
}

.topic-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid rgba(13, 148, 136, 0.25);
  color: var(--brand-dark);
  font-size: 0.83rem;
  font-weight: 700;
  transition: background 0.16s ease, transform 0.16s ease;
}

[data-theme="dark"] .topic-badge {
  color: var(--brand);
  border-color: rgba(45, 212, 191, 0.28);
}

.topic-badge:hover {
  background: rgba(13, 148, 136, 0.16);
  transform: translateY(-1px);
}

.topic-badge .material-symbols-rounded {
  font-size: 1rem;
  color: var(--brand);
}

.article-featured {
  margin: 0 0 18px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-elevated);
  aspect-ratio: 16 / 9;
  max-height: 380px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}

.article-featured.is-contain {
  background: #FFFFFF;
}

[data-theme="dark"] .article-featured.is-contain {
  background: #FFFFFF;
}

.article-featured img {
  width: 100%;
  height: 100%;
  max-height: 380px;
  object-fit: cover;
  cursor: zoom-in;
}

.article-featured.is-contain img {
  object-fit: contain;
  padding: 12px;
}

.related-section .cards-grid {
  gap: 20px;
}

.related-card .card-media {
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--border-color);
}

.related-card .card-media.contain {
  background: #FFFFFF !important;
  padding: 10px;
}

.related-card .card-media.contain img {
  padding: 6px;
  object-fit: contain;
}

.card-topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 4px;
}

[data-theme="dark"] .card-topic-pill {
  color: var(--brand);
}

.card-topic-pill .material-symbols-rounded {
  font-size: 0.9rem;
  color: var(--brand);
}

.article-prose {
  max-width: 72ch;
  font-size: calc(clamp(1rem, 0.96rem + 0.2vw, 1.07rem) * var(--article-font-scale, 1));
  line-height: 1.92;
  color: var(--text-primary);
  overflow-wrap: anywhere;
}

html[dir="ltr"] .article-prose {
  line-height: 1.75;
}

.article-prose h2 {
  margin-top: 2.2rem;
  margin-bottom: 0.85rem;
  padding-bottom: 10px;
  padding-inline-start: 12px;
  border-inline-start: 4px solid var(--brand);
  border-bottom: 1px solid var(--border-color);
  font-size: clamp(1.2rem, 1.9vw, 1.48rem);
  line-height: 1.38;
  color: var(--text-primary);
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.article-prose h2:first-child {
  margin-top: 0;
}

.article-prose h3,
.article-prose h4 {
  margin-top: 1.6em;
  margin-bottom: 0.55em;
  line-height: 1.4;
  color: var(--brand-dark);
  scroll-margin-top: calc(var(--header-h) + 20px);
}

[data-theme="dark"] .article-prose h3,
[data-theme="dark"] .article-prose h4 {
  color: var(--brand);
}

.article-prose p {
  margin: 0 0 1.2em;
  color: var(--text-secondary);
}

.article-prose p strong {
  color: var(--text-primary);
  font-weight: 700;
}

.article-prose p.article-lead {
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--bg-surface);
  border-inline-start: 4px solid var(--brand);
  padding: 14px 18px;
  border-radius: 10px;
}

.article-prose ul.social-points {
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
  display: grid;
  gap: 12px;
}

.article-prose ul.social-points li {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 13px 16px;
  line-height: 1.75;
}

.article-prose ul.social-points li .sp-ico {
  margin-inline-end: 6px;
}

.article-prose ul,
.article-prose ol {
  margin: 0 0 1.3em;
  padding-inline-start: 24px;
  color: var(--text-secondary);
}

.article-prose li {
  margin-bottom: 0.45em;
}

.article-prose li strong {
  color: var(--text-primary);
}

.article-prose img {
  border-radius: 12px;
  margin-block: 18px;
  border: 1px solid var(--border-color);
  cursor: zoom-in;
}

.table-scroll-wrap {
  position: relative;
  margin-block: 22px;
}

.table-swipe-hint {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin-bottom: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--brand);
}

.table-scroll-wrap.is-scrollable .table-swipe-hint {
  display: flex;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  margin-block: 0;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}

.table-scroll-wrap .table-scroll {
  margin-block: 0;
}

.table-scroll table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  font-size: 0.89rem;
  font-variant-numeric: tabular-nums;
}

.table-scroll th,
.table-scroll td {
  padding: 10px 13px;
  border-bottom: 1px solid var(--border-color);
  border-inline-end: 1px solid var(--border-color);
  text-align: start;
  vertical-align: top;
}

.table-scroll th:last-child,
.table-scroll td:last-child {
  border-inline-end: none;
}

.table-scroll thead th {
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1.4;
  border-bottom: 2px solid var(--brand);
  white-space: normal;
}

[data-theme="dark"] .table-scroll thead th {
  color: var(--brand);
}

.table-scroll tbody tr:nth-child(even) td {
  background: var(--bg-elevated);
}

.table-scroll tbody tr:hover td {
  background: rgba(13, 148, 136, 0.05);
}

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

/* Sticky Sidebar & Clean TOC */
.sidebar-sticky {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 1024px) {
  .sidebar-sticky {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    max-height: calc(100vh - var(--header-h) - 28px);
    overflow-y: auto;
    scrollbar-width: none;
  }

  .sidebar-sticky::-webkit-scrollbar {
    display: none;
  }

  .mobile-toc {
    display: none;
  }
}

@media (max-width: 1023px) {
  .sidebar-sticky {
    display: none;
  }
}

.mobile-toc {
  margin: 0 0 22px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.mobile-toc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
  user-select: none;
}

.mobile-toc summary::-webkit-details-marker {
  display: none;
}

.mobile-toc-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mobile-toc-label .material-symbols-rounded {
  color: var(--brand);
}

.mobile-toc-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 700;
}

.mobile-toc-chevron {
  transition: transform 0.2s ease;
  color: var(--text-muted);
}

.mobile-toc[open] .mobile-toc-chevron {
  transform: rotate(180deg);
}

.mobile-toc .toc-list {
  padding: 0 14px 14px;
  border-top: 1px solid var(--border-color);
  padding-top: 10px;
}

.widget-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.widget-title {
  margin: 0 0 14px;
  font-size: 1.02rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-inline-start: 2px solid var(--border-color);
}

.toc-list a {
  display: block;
  padding: 6px 12px;
  margin-inline-start: -2px;
  border-radius: 0 8px 8px 0;
  font-size: 0.87rem;
  line-height: 1.45;
  color: var(--text-secondary);
  border-inline-start: 2px solid transparent;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

html[dir="rtl"] .toc-list a {
  border-radius: 8px 0 0 8px;
}

.toc-list a.lvl-h3 {
  padding-inline-start: 24px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.toc-list a:hover {
  color: var(--brand);
  background: rgba(13, 148, 136, 0.05);
}

.toc-list a.active {
  background: rgba(13, 148, 136, 0.07);
  color: var(--brand);
  font-weight: 700;
  border-inline-start-width: 3px;
  border-inline-start-color: var(--brand);
}

/* Compact In-Article Further Reading Links */
.further-reading-box {
  margin-top: 20px;
  padding: 14px 0 4px;
  border-top: 1px dashed var(--border-color);
}

.further-reading-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.further-reading-head .material-symbols-rounded {
  font-size: 1.02rem;
  color: var(--brand);
}

.further-reading-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.further-chip {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.4;
  transition: background 0.16s ease, color 0.16s ease;
}

.further-chip:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.further-chip .material-symbols-rounded {
  font-size: 0.95rem;
  opacity: 0.7;
  flex-shrink: 0;
}

/* Forms */
.form-group {
  margin-bottom: 14px;
}

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

.form-control {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg-page);
  color: var(--text-primary);
  font-size: 0.95rem;
}

.form-control:focus {
  outline: 2px solid var(--brand);
  border-color: var(--brand);
}

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

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px 18px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--brand);
}

.faq-item[open] summary::after {
  content: '−';
}

.article-faq-list {
  margin: 16px 0 24px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] {
  border-color: var(--brand);
}

.faq-body {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-body p:last-child {
  margin-bottom: 0;
}

/* Share Strip & Compact Prev/Next */
.share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--border-color);
}

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

.share-badge-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.share-badge-ico .material-symbols-rounded {
  font-size: 0.98rem;
}

.share-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.share-actions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 5px 12px;
  border-radius: 9px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.share-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex-shrink: 0;
}

.share-btn .material-symbols-rounded {
  font-size: 0.95rem;
}

.share-btn:hover {
  transform: translateY(-1px);
}

.share-btn.is-wa {
  color: #16A34A;
  border-color: rgba(37, 211, 102, 0.35);
  background: rgba(37, 211, 102, 0.08);
}

.share-btn.is-wa:hover {
  background: #16A34A;
  border-color: #16A34A;
  color: #FFFFFF;
}

.share-btn.is-tg {
  color: #0284C7;
  border-color: rgba(0, 136, 204, 0.32);
  background: rgba(0, 136, 204, 0.08);
}

.share-btn.is-tg:hover {
  background: #0284C7;
  border-color: #0284C7;
  color: #FFFFFF;
}

.share-btn.is-x {
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.share-btn.is-x:hover {
  background: #0F172A;
  border-color: #0F172A;
  color: #FFFFFF;
}

[data-theme="dark"] .share-btn.is-x:hover {
  background: #F8FAFC;
  border-color: #F8FAFC;
  color: #090E1A;
}

.share-btn.is-copy {
  color: var(--brand-dark);
  border-color: rgba(13, 148, 136, 0.3);
  background: var(--brand-soft);
}

[data-theme="dark"] .share-btn.is-copy {
  color: var(--brand);
}

.share-btn.is-copy:hover,
.share-btn.is-copy.is-copied {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
}

[data-theme="dark"] .share-btn.is-copy:hover,
[data-theme="dark"] .share-btn.is-copy.is-copied {
  color: #090E1A;
}

.post-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.post-nav-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg-elevated);
  border: 1px solid transparent;
  color: var(--text-primary);
  transition: border-color 0.16s ease, background 0.16s ease;
}

.post-nav-card:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--text-primary);
}

.post-nav-card.is-next {
  text-align: end;
}

.post-nav-dir {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand);
}

.post-nav-card.is-next .post-nav-dir {
  justify-content: flex-end;
}

.post-nav-dir .material-symbols-rounded {
  font-size: 0.92rem;
}

.post-nav-card strong {
  font-size: 0.82rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.page-link {
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-weight: 600;
}

.page-link.active,
.page-link:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
}

[data-theme="dark"] .page-link.active {
  color: #090E1A;
}

/* Search Modal (Ctrl+K) & Lightbox */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 14, 26, 0.72);
  backdrop-filter: blur(4px);
  z-index: 300;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 16px 20px;
}

.modal-overlay.open {
  display: flex;
}

.search-box {
  width: 100%;
  max-width: 680px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
}

.search-input-wrap input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 1.05rem;
  outline: none;
}

.search-results {
  max-height: 60vh;
  overflow-y: auto;
  padding: 10px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-primary);
}

.search-result-item:hover {
  background: var(--brand-soft);
}

.search-result-lang {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--bg-elevated);
  color: var(--brand);
  text-transform: uppercase;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 350;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-overlay img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 12px;
}

/* Footer & Mobile Floating CTA */
.site-footer {
  background: linear-gradient(180deg, #0F172A, #070B14);
  color: #E2E8F0;
  padding-top: 0;
  padding-bottom: 26px;
  margin-top: 32px;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--brand), var(--accent), #38BDF8) 1;
}

[data-theme="dark"] .site-footer {
  background: linear-gradient(180deg, #070B14, #030509);
}

.footer-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-block: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 30px;
}

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

.footer-brand-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: #FFFFFF;
  display: block;
}

.footer-brand-sub {
  font-size: 0.82rem;
  color: #94A3B8;
}

.footer-top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #E2E8F0;
  font-size: 0.86rem;
  font-weight: 700;
  transition: all 0.18s ease;
}

.footer-map-btn:hover {
  background: rgba(45, 212, 191, 0.14);
  border-color: var(--brand);
  color: #5EEAD4;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.35fr 1fr 0.95fr 1.15fr;
  }
}

.footer-grid h3,
.footer-grid h4 {
  margin: 0 0 14px;
  color: #FFFFFF;
  font-size: 0.98rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-grid h3 .material-symbols-rounded,
.footer-grid h4 .material-symbols-rounded {
  font-size: 1.15rem;
  color: #2DD4BF;
}

.footer-desc {
  margin: 0 0 16px;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #CBD5E1;
}

.footer-social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
  display: inline-grid;
  place-items: center;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-btn:hover {
  transform: translateY(-3px);
  color: #FFFFFF;
}

.social-btn.is-ig:hover {
  background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF);
  border-color: #DD2A7B;
}

.social-btn.is-fb:hover {
  background: #1877F2;
  border-color: #1877F2;
}

.social-btn.is-in:hover {
  background: #0A66C2;
  border-color: #0A66C2;
}

.social-btn.is-yt:hover {
  background: #FF0000;
  border-color: #FF0000;
}

.social-btn.is-tt:hover {
  background: #010101;
  border-color: #25F4EE;
  color: #25F4EE;
}

.social-btn.is-x:hover {
  background: #111827;
  border-color: #E2E8F0;
}

.social-btn.is-map:hover {
  background: #0D9488;
  border-color: #2DD4BF;
}

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

.footer-links li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.89rem;
  color: #CBD5E1;
}

.footer-links a {
  color: #CBD5E1;
  font-size: 0.89rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer-links a:hover {
  color: #2DD4BF;
}

.footer-links .material-symbols-rounded {
  font-size: 1.05rem;
  color: #5EEAD4;
  flex-shrink: 0;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #CBD5E1;
}

.footer-contact-item .material-symbols-rounded {
  font-size: 1.15rem;
  color: #2DD4BF;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: #E2E8F0;
  font-weight: 600;
}

.footer-contact-item a:hover {
  color: #2DD4BF;
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.83rem;
  color: #94A3B8;
}

.footer-lang-mini {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.footer-lang-mini a {
  color: #CBD5E1;
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.76rem;
  font-weight: 700;
}

.footer-lang-mini a.active,
.footer-lang-mini a:hover {
  border-color: #2DD4BF;
  color: #2DD4BF;
}

.alert {
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-weight: 600;
}

.alert-success {
  background: rgba(13, 148, 136, 0.15);
  color: var(--brand-dark);
  border: 1px solid var(--brand);
}

[data-theme="dark"] .alert-success {
  color: var(--brand);
}

.alert-error {
  background: rgba(220, 38, 38, 0.12);
  color: #DC2626;
  border: 1px solid #DC2626;
}

/* Services & Product Showcase Alternating Rows */
.showcase-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.showcase-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 860px) {
  .showcase-row {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .showcase-row.is-reversed .showcase-media {
    order: -1;
  }
}

.showcase-media {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: grid;
  place-items: center;
  min-height: 240px;
}

.showcase-media img {
  max-height: 260px;
  object-fit: contain;
}

.showcase-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-dark);
  background: var(--brand-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

[data-theme="dark"] .showcase-badge {
  color: var(--brand);
}

.showcase-body h3 {
  margin: 0 0 10px;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.showcase-body p {
  margin: 0 0 16px;
  color: var(--text-secondary);
}

/* Factory Photo Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.gallery-card {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-elevated);
  cursor: zoom-in;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

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

.gallery-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #FFFFFF;
  background: linear-gradient(transparent, rgba(9, 14, 26, 0.86));
}

/* Technical Page Hero, KPI Strip, Cards & Prose Galleries */
.page-hero-media {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-lg);
}

.page-hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md);
  cursor: zoom-in;
}

.specs-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.spec-kpi {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}

.spec-kpi-val {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 4px;
}

.spec-kpi-label {
  display: block;
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 600;
}

.prose-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 18px 0 26px;
}

.prose-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
}

.prose-card h3 {
  margin: 0 0 8px !important;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary) !important;
}

.prose-card p {
  margin: 0 !important;
  font-size: 0.92rem;
  line-height: 1.65;
}

.prose-callout {
  background: var(--brand-soft);
  border-inline-start: 4px solid var(--brand);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 22px 0;
}

.prose-callout p {
  margin: 0;
  color: var(--text-primary);
  font-weight: 500;
}

.prose-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 22px 0 28px;
}

.article-prose .gallery-card {
  margin: 0;
}

.article-prose .gallery-card picture {
  display: contents;
}

.article-prose .gallery-card img {
  margin-block: 0;
  border: none;
  border-radius: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Modern Contact & Quote Hub */
.contact-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.contact-channel-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-channel-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

.contact-channel-card.is-priority {
  border-color: var(--brand);
  background: linear-gradient(155deg, var(--brand-soft), var(--bg-surface) 65%);
}

.channel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--bg-elevated);
  color: var(--brand);
  border: 1px solid var(--border-color);
  font-size: 1.25rem;
}

.channel-badge {
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.channel-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.channel-value {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.channel-value:hover {
  color: var(--brand);
}

.channel-actions {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.copy-chip {
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.copy-chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.copy-chip.is-copied {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
}

.contact-hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

@media (min-width: 980px) {
  .contact-hub-grid {
    grid-template-columns: 1.35fr 0.9fr;
  }
}

.contact-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3.5vw, 38px);
  box-shadow: var(--shadow-md);
}

.contact-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border-color);
}

.sla-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

[data-theme="dark"] .sla-pill {
  color: var(--brand);
}

.sla-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

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

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.choice-chip {
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border-radius: 10px;
  padding: 8px 13px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.choice-chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.choice-chip.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
}

[data-theme="dark"] .choice-chip.active {
  color: #090E1A;
}

.contact-side-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.campus-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.campus-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-elevated);
}

.campus-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campus-media picture {
  display: contents;
}

.campus-overlay {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 12px 16px;
  color: #FFFFFF;
  background: linear-gradient(transparent, rgba(9, 14, 26, 0.88));
  font-weight: 700;
  font-size: 0.92rem;
}

.campus-body {
  padding: 20px;
}

.dept-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.92rem;
}

.dept-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dept-row strong {
  color: var(--text-primary);
}

.dept-row span {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: end;
}

.gov-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gov-pill {
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.wa-preview-box {
  background: var(--bg-elevated);
  border: 1px dashed var(--brand);
  border-radius: 12px;
  padding: 16px 18px;
  margin-block: 16px 20px;
}

.wa-preview-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 8px;
}

.wa-preview-text {
  margin: 0;
  white-space: pre-line;
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--text-primary);
}

.wa-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.direct-action-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Flagship Industrial Homepage Sections */
.layer-grid,
.lab-grid,
.sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 18px;
}

.layer-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--brand);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}

.layer-card.is-core {
  border-top-color: var(--accent);
}

.layer-card.is-inner {
  border-top-color: #38BDF8;
}

.layer-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  margin-bottom: 10px;
}

[data-theme="dark"] .layer-tag {
  color: var(--brand);
}

.layer-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 800;
}

.layer-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.lab-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lab-std {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--bg-elevated);
  color: var(--brand);
  border: 1px solid var(--border-color);
}

.lab-card h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
}

.lab-card p {
  margin: 0;
  font-size: 0.91rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.sector-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-inline-start: 4px solid var(--brand);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.sector-card h3 {
  margin: 0 0 8px;
  font-size: 1.04rem;
  font-weight: 800;
}

.sector-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.68;
}

.cta-banner {
  background: linear-gradient(125deg, #0F766E, #0F172A 48%, #B45309);
  background-size: 200% 200%;
  animation: ctaGradient 12s ease infinite;
  color: #F8FAFC;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .cta-banner {
  background: linear-gradient(125deg, #115E59, #0B1220 50%, #92400E);
  background-size: 200% 200%;
  border: 1px solid var(--border-strong);
}

.cta-banner h2 {
  margin: 0 0 8px;
  color: #FFFFFF;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
}

.cta-banner p {
  margin: 0;
  color: #CBD5E1;
  max-width: 62ch;
  font-size: 0.98rem;
}

/* Vibrant Icons, Hero Motion, Color Themes & Scroll Reveal Animations */
@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

@keyframes pulseDot {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.55);
  }

  70% {
    transform: scale(1.1);
    opacity: 0.85;
    box-shadow: 0 0 0 9px rgba(13, 148, 136, 0);
  }
}

@keyframes ctaGradient {

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

  50% {
    background-position: 100% 50%;
  }
}

.hero {
  background-image:
    radial-gradient(920px 440px at 85% 12%, rgba(13, 148, 136, 0.16), transparent 62%),
    radial-gradient(760px 400px at 10% 88%, rgba(217, 119, 6, 0.14), transparent 62%),
    radial-gradient(rgba(148, 163, 184, 0.18) 1px, transparent 1px);
  background-size: auto, auto, 24px 24px;
}

.hero-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
  display: inline-block;
  animation: pulseDot 2s ease-in-out infinite;
  flex-shrink: 0;
}

.hero-visual {
  background: radial-gradient(circle at 50% 45%, var(--brand-soft), var(--bg-surface) 72%);
  border: 1px solid rgba(13, 148, 136, 0.25);
  overflow: hidden;
}

.hero-visual img {
  animation: heroFloat 5.5s ease-in-out infinite;
  filter: drop-shadow(0 16px 24px rgba(15, 23, 42, 0.16));
}

.stat-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--brand);
  border-radius: 12px;
  padding: 12px 14px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.stat-box:nth-child(even) {
  border-top-color: var(--accent);
}

.stat-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  color: var(--brand);
}

.stat-box:nth-child(even) .stat-icon {
  color: var(--accent);
}

/* Colored Icon Badges */
.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  margin-bottom: 12px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.icon-badge .material-symbols-rounded {
  font-size: 1.45rem;
}

.icon-badge.is-teal {
  background: rgba(13, 148, 136, 0.14);
  color: #0F766E;
}

.icon-badge.is-amber {
  background: rgba(217, 119, 6, 0.14);
  color: #B45309;
}

.icon-badge.is-sky {
  background: rgba(2, 132, 199, 0.14);
  color: #0369A1;
}

.icon-badge.is-emerald {
  background: rgba(5, 150, 105, 0.14);
  color: #047857;
}

.icon-badge.is-indigo {
  background: rgba(79, 70, 229, 0.14);
  color: #4338CA;
}

.icon-badge.is-rose {
  background: rgba(225, 29, 72, 0.13);
  color: #BE123C;
}

[data-theme="dark"] .icon-badge.is-teal {
  background: rgba(45, 212, 191, 0.16);
  color: #2DD4BF;
}

[data-theme="dark"] .icon-badge.is-amber {
  background: rgba(245, 158, 11, 0.16);
  color: #FBBF24;
}

[data-theme="dark"] .icon-badge.is-sky {
  background: rgba(56, 189, 248, 0.16);
  color: #38BDF8;
}

[data-theme="dark"] .icon-badge.is-emerald {
  background: rgba(52, 211, 153, 0.16);
  color: #34D399;
}

[data-theme="dark"] .icon-badge.is-indigo {
  background: rgba(129, 140, 248, 0.16);
  color: #818CF8;
}

[data-theme="dark"] .icon-badge.is-rose {
  background: rgba(251, 113, 133, 0.16);
  color: #FB7185;
}

.card,
.layer-card,
.lab-card,
.sector-card {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover .icon-badge,
.layer-card:hover .icon-badge,
.lab-card:hover .icon-badge,
.sector-card:hover .icon-badge {
  transform: scale(1.1) rotate(-4deg);
}

.card .card-media {
  position: relative;
  background: radial-gradient(circle at center, var(--brand-soft), var(--bg-elevated));
}

.card .card-media img {
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover .card-media img {
  transform: scale(1.06);
}

.card-float-icon {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  display: grid;
  place-items: center;
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.layer-card:hover,
.lab-card:hover,
.sector-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}

.sector-card.is-sky {
  border-inline-start-color: #0284C7;
}

.sector-card.is-emerald {
  border-inline-start-color: #059669;
}

.sector-card.is-amber {
  border-inline-start-color: #D97706;
}

.sector-card.is-indigo {
  border-inline-start-color: #4F46E5;
}

.sector-card.is-rose {
  border-inline-start-color: #E11D48;
}

.pn-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
}

[data-theme="dark"] .pn-badge {
  color: var(--brand);
}

.pn-badge.is-high {
  background: var(--accent-soft);
  color: var(--accent);
}

.sec-head-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Progressive Scroll Reveal & Compact Power Grids */
.ticker-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
}

.ticker-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.ticker-pill .material-symbols-rounded {
  font-size: 1rem;
  color: var(--brand);
}

.cards-grid-4,
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr));
  gap: 16px;
}

@media (min-width: 1080px) {
  .cards-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 960px) {
  .cards-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cards-grid-4 .card-body,
.cards-grid-3 .card-body {
  padding: 15px;
  gap: 8px;
}

.cards-grid-4 .card-media,
.cards-grid-3 .card-media {
  aspect-ratio: 16 / 9;
}

.cards-grid-4 .card-bullets,
.cards-grid-3 .card-bullets {
  font-size: 0.84rem;
}

.cards-grid-4 .card-bullets li,
.cards-grid-3 .card-bullets li {
  margin-bottom: 3px;
}

.card[data-cat].is-hidden {
  display: none;
}

.lab-grid,
.sector-grid,
.gallery-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {

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

@media (min-width: 960px) {

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

.lab-card,
.sector-card,
.layer-card {
  padding: 16px 18px;
}

.process-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 20px;
}

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

@media (min-width: 1024px) {
  .process-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-compact {
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-num {
  font-size: 0.76rem;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: 0.04em;
}

.step-compact h3 {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 800;
}

.step-compact p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.spec-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.spec-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}

.spec-tab-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.spec-tab-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
}

[data-theme="dark"] .spec-tab-btn.active {
  color: #090E1A;
}

.spec-tab-panel {
  display: none;
}

.spec-tab-panel.active {
  display: block;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 860px) {
  .faq-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.faq-grid .faq-item {
  padding: 12px 15px;
}

.faq-grid .faq-item summary {
  font-size: 0.94rem;
}

html.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

html.has-reveal [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

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

  .hero-visual img,
  .hero-live-dot,
  .cta-banner {
    animation: none !important;
  }

  html.has-reveal [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Mobile Viewport & Responsive Overhaul */
.hero-grid>*,
.contact-hub-grid>*,
.article-layout>*,
.showcase-row>*,
.footer-grid>* {
  min-width: 0;
}

@media (max-width: 760px) {
  .ticker-strip {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 0.45rem;
    padding: 0.55rem 0.75rem;
  }

  .ticker-pill {
    flex-shrink: 0;
    font-size: 0.75rem;
    padding: 0.25rem 0.65rem;
  }

  .cards-grid-4,
  .cards-grid-3,
  .lab-grid,
  .sector-grid,
  .layer-grid,
  .tech-grid-5,
  .process-grid-4 {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    overflow-x: visible;
    gap: 0.85rem;
  }

  .spec-tabs {
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 0.45rem;
    padding-bottom: 0.25rem;
  }

  .spec-tab-btn {
    flex-shrink: 0;
    font-size: 0.8rem;
    padding: 0.4rem 0.7rem;
  }
}

@media (max-width: 640px) {
  html {
    font-size: clamp(12.8px, 3.45vw, 15.5px);
  }

  :root {
    --header-h: 3.4rem;
  }

  body {
    padding-bottom: 5rem;
  }

  .meta-controls {
    display: none;
  }

  .article-summary-card {
    padding: 2px 0 2px 12px;
    padding-inline-start: 12px;
    margin-bottom: 16px;
  }

  .article-summary-card p {
    font-size: 0.88rem;
    line-height: 1.62;
  }

  .share-bar {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 8px;
  }

  .share-badge-ico {
    display: none;
  }

  .share-label {
    font-size: 0.84rem;
    white-space: nowrap;
  }

  .share-actions-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    width: auto;
  }

  .share-btn {
    width: 38px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 9px;
  }

  .share-btn span:not(.material-symbols-rounded) {
    display: none;
  }

  .post-nav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-top: 12px;
  }

  .post-nav-card {
    padding: 9px 10px;
  }

  .related-section {
    margin-top: 28px !important;
  }

  .related-section h2 {
    font-size: 1.15rem;
    margin-bottom: 14px !important;
  }

  .related-section .cards-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .related-card {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    padding: 9px;
  }

  .related-card .card-media {
    width: 92px;
    height: 68px;
    aspect-ratio: auto;
    border-bottom: none;
    border-radius: 8px;
    border: 1px solid var(--border-color);
  }

  .related-card .card-media.contain {
    padding: 4px;
  }

  .related-card .card-media.contain img {
    padding: 2px;
  }

  .related-card .card-body {
    padding: 0;
    gap: 3px;
  }

  .related-card .card-topic-pill {
    padding: 2px 7px;
    font-size: 0.68rem;
    margin-bottom: 1px;
  }

  .related-card .card-title {
    font-size: 0.85rem;
    line-height: 1.38;
    margin: 0;
  }

  .related-card .card-meta {
    font-size: 0.72rem;
    gap: 8px;
    margin-top: 2px;
  }

  .container {
    padding-inline: 0.85rem;
  }

  .topbar {
    display: none;
  }

  .header-inner {
    gap: 0.45rem;
  }

  .brand {
    font-size: 0.92rem;
    gap: 0.45rem;
    min-width: 0;
    flex-shrink: 1;
  }

  .brand-logo {
    width: 42px;
    height: 32px;
    padding: 2px 4px;
    border-radius: 8px;
  }

  .header-actions {
    gap: 0.35rem;
  }

  .icon-btn {
    min-width: 2.2rem;
    min-height: 2.2rem;
    padding: 0 0.45rem;
    font-size: 0.82rem;
  }

  .lang-switch a {
    min-width: 1.75rem;
    min-height: 1.95rem;
    font-size: 0.72rem;
    padding-inline: 0.3rem;
  }

  .site-header #themeToggle {
    display: none;
  }

  .hero {
    padding-block: 0.9rem 1.2rem;
  }

  .hero-grid {
    gap: 0.95rem;
  }

  .hero h1 {
    font-size: 1.38rem;
    line-height: 1.25;
    margin-bottom: 0.45rem;
  }

  .hero p.hero-sub {
    font-size: 0.86rem;
    margin-bottom: 0.65rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }

  .hero-actions .btn {
    min-width: 0;
    width: 100%;
    min-height: 2.35rem;
    padding: 0.38rem 0.55rem;
    font-size: 0.82rem;
    border-radius: 0.65rem;
  }

  .hero-actions .btn:last-child {
    grid-column: 1 / -1;
    min-height: 2.15rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.45rem;
    margin-top: 0.75rem;
    padding-top: 0.65rem;
  }

  .stat-box {
    padding: 0.5rem 0.6rem;
  }

  .stat-box strong {
    font-size: 0.92rem;
  }

  .stat-box span {
    font-size: 0.72rem;
  }

  .hero-visual {
    padding: 0.55rem;
  }

  .hero-visual img {
    max-height: 12rem;
  }

  .section {
    padding-block: 2.25rem;
  }

  .section-head {
    margin-bottom: 0.65rem;
    gap: 0.45rem;
  }

  .section-head h2 {
    font-size: 1.18rem;
  }

  .section-head p {
    font-size: 0.84rem;
  }

  .cards-grid-3 .card-media {
    aspect-ratio: 16 / 8.5;
    padding: 0.45rem;
  }

  .card-body,
  .lab-card,
  .sector-card,
  .tech-grid-5 .layer-card {
    padding: 0.75rem;
    gap: 0.35rem;
  }

  .card-title,
  .lab-card h3,
  .sector-card h3,
  .tech-grid-5 .layer-card h3 {
    font-size: 0.96rem;
  }

  .card-bullets,
  .lab-card p,
  .sector-card p,
  .tech-grid-5 .layer-card p {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .showcase-row {
    gap: 1rem;
  }

  .gallery-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
  }

  .gallery-caption {
    font-size: 0.72rem;
    padding: 0.35rem 0.5rem;
  }

  .cert-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem;
    margin-top: 0.9rem;
  }

  .cert-seal {
    padding: 0.5rem 0.6rem;
    gap: 0.45rem;
  }

  .cert-seal strong {
    font-size: 0.8rem;
  }

  .cert-seal span {
    font-size: 0.68rem;
  }

  .pipe-finder {
    padding: 0.85rem;
  }

  .pf-controls {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .pf-results {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }

  .pf-metric {
    padding: 0.45rem 0.35rem;
  }

  .pf-metric strong {
    font-size: 0.84rem;
  }

  .pf-metric span {
    font-size: 0.68rem;
  }

  .system-bundle-strip {
    padding: 0.9rem;
    gap: 0.75rem;
    margin-top: 0.9rem;
  }

  .delivery-zone-card {
    padding: 0.55rem 0.7rem;
  }

  .gov-pills {
    max-height: none;
    overflow: visible;
    gap: 0.32rem;
  }

  .gov-pill {
    font-size: 0.73rem;
    padding: 0.22rem 0.52rem;
  }

  .faq-grid {
    gap: 0.55rem;
  }

  .faq-item summary {
    padding: 0.75rem 0.9rem;
    font-size: 0.88rem;
  }

  .cta-banner {
    padding: 1.1rem 0.95rem;
    gap: 0.75rem;
  }

  .cta-banner h2 {
    font-size: 1.12rem;
  }

  .cta-banner p {
    font-size: 0.84rem;
  }

  .contact-form-card {
    padding: 1rem 0.9rem;
  }

  .wa-action-bar .btn {
    width: 100%;
    flex: 1 1 100%;
  }

  .wa-action-bar .copy-chip {
    width: 100%;
    justify-content: center;
  }

  .article-featured {
    max-height: 185px;
    margin-bottom: 14px;
  }

  .article-featured img {
    max-height: 185px;
  }

  .article-main {
    padding: 0.95rem 0.9rem;
  }

  .mobile-toc {
    margin-bottom: 14px;
  }

  .mobile-toc summary {
    padding: 10px 13px;
    font-size: 0.88rem;
  }

  .breadcrumbs {
    flex-wrap: nowrap;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.78rem;
    gap: 5px;
    margin-bottom: 12px;
  }

  .breadcrumbs a,
  .breadcrumbs>span[aria-hidden] {
    flex-shrink: 0;
  }

  .breadcrumbs>span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
  }

  .article-header h1 {
    font-size: clamp(1.28rem, 4.8vw, 1.6rem);
    line-height: 1.35;
    margin-bottom: 10px;
  }

  .article-meta-bar {
    gap: 8px 12px;
    font-size: 0.78rem;
    padding: 0 0 11px;
    margin-bottom: 14px;
  }

  .table-scroll th,
  .table-scroll td {
    padding: 9px 11px;
    font-size: 0.84rem;
  }

  .table-scroll thead th {
    white-space: normal;
    font-size: 0.82rem;
  }

  .faq-item {
    padding: 12px 14px;
  }

  .faq-item summary {
    font-size: 0.92rem;
    line-height: 1.45;
  }
}

/* Cinematic Full-Bleed Factory Hall Flagship Hero */
@keyframes stageZoom {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.055);
  }
}

.hero-cinema {
  position: relative;
  overflow: hidden;
  padding-block: clamp(32px, 4.6vw, 62px);
  color: #F8FAFC;
  background: #070D19;
  border-bottom: 1px solid rgba(45, 212, 191, 0.22);
}

.hero-cinema-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-cinema-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.32;
  filter: saturate(1.12) contrast(1.06);
  transform: scale(1.03);
}

.hero-cinema-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(760px 420px at 85% 15%, rgba(13, 148, 136, 0.28), transparent 65%),
    radial-gradient(620px 380px at 12% 90%, rgba(217, 119, 6, 0.20), transparent 65%),
    linear-gradient(105deg, rgba(6, 11, 22, 0.92) 0%, rgba(8, 18, 32, 0.82) 52%, rgba(6, 11, 22, 0.72) 100%);
}

html[dir="rtl"] .hero-cinema-scrim {
  background:
    radial-gradient(760px 420px at 15% 15%, rgba(13, 148, 136, 0.28), transparent 65%),
    radial-gradient(620px 380px at 88% 90%, rgba(217, 119, 6, 0.20), transparent 65%),
    linear-gradient(255deg, rgba(6, 11, 22, 0.94) 0%, rgba(8, 18, 32, 0.82) 52%, rgba(6, 11, 22, 0.68) 100%);
}

.hero-cinema>.container {
  position: relative;
  z-index: 2;
}

.hero-cinema-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.hero-cinema-grid>*,
.showcase-row>*,
.article-layout>*,
.pipe-finder-grid>*,
.footer-grid>* {
  min-width: 0;
}

@media (min-width: 980px) {
  .hero-cinema-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 36px;
  }
}

.hero-cinema-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.2);
  border: 1px solid rgba(45, 212, 191, 0.35);
  backdrop-filter: blur(10px);
  color: #5EEAD4;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero-cinema h1 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 3.2vw, 2.7rem);
  line-height: 1.28;
  font-weight: 900;
  color: #FFFFFF;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.hero-cinema .hero-sub {
  margin: 0 0 22px;
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  color: #CBD5E1;
  max-width: 60ch;
  line-height: 1.75;
}

.hero-cinema .btn-glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  backdrop-filter: blur(10px);
}

.hero-cinema .btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #2DD4BF;
  color: #5EEAD4;
}

.hero-cinema-kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 22px;
}

@media (min-width: 640px) {
  .hero-cinema-kpis {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cinema-kpi {
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-top: 2.5px solid #2DD4BF;
  border-radius: 12px;
  padding: 11px 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.cinema-kpi:nth-child(even) {
  border-top-color: #F59E0B;
}

.cinema-kpi:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 212, 191, 0.5);
}

.cinema-kpi-top {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #2DD4BF;
  margin-bottom: 4px;
}

.cinema-kpi:nth-child(even) .cinema-kpi-top {
  color: #FBBF24;
}

.cinema-kpi-top .material-symbols-rounded {
  font-size: 1.1rem;
}

.cinema-kpi strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
}

.cinema-kpi span {
  display: block;
  font-size: 0.75rem;
  color: #94A3B8;
  line-height: 1.4;
  margin-top: 2px;
}

/* Interactive Factory Cinema Stage */
.hero-stage {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 28px 60px -16px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(45, 212, 191, 0.12);
}

.hero-stage-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  background: #0B1220;
}

.hero-stage-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  animation: stageZoom 16s ease-in-out infinite;
  transition: opacity 0.25s ease;
}

.stage-top-badge {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(9, 14, 26, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: #E2E8F0;
  font-size: 0.76rem;
  font-weight: 700;
}

.stage-bottom-bar {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 12px 14px;
  background: linear-gradient(transparent, rgba(6, 11, 22, 0.92));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.stage-caption {
  color: #FFFFFF;
  font-size: 0.86rem;
  font-weight: 700;
}

.stage-pipe-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #F8FAFC;
  font-size: 0.74rem;
  font-weight: 800;
  flex-shrink: 0;
}

.stage-pipe-chip img {
  width: 28px;
  height: 20px;
  object-fit: contain;
  animation: none !important;
  cursor: default;
}

.stage-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.stage-thumb {
  position: relative;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0B1220;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

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

.stage-thumb:hover,
.stage-thumb.active {
  opacity: 1;
  border-color: #2DD4BF;
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .hero-cinema {
    padding-block: 0.85rem 1.15rem;
  }

  .hero-cinema-grid {
    gap: 0.9rem;
  }

  .hero-cinema-pill {
    font-size: 0.72rem;
    padding: 0.25rem 0.65rem;
    margin-bottom: 0.45rem;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-cinema h1 {
    font-size: 1.38rem;
    line-height: 1.24;
    margin-bottom: 0.42rem;
  }

  .hero-cinema .hero-sub {
    font-size: 0.84rem;
    line-height: 1.5;
    margin-bottom: 0.6rem;
  }

  .hero-cinema-kpis {
    gap: 0.45rem;
    margin-top: 0.75rem;
  }

  .cinema-kpi {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 0.48rem;
    align-items: center;
    padding: 0.48rem 0.58rem;
    border-radius: 0.7rem;
  }

  .cinema-kpi-top {
    grid-row: 1 / 3;
    width: 2rem;
    height: 2rem;
    border-radius: 0.55rem;
    background: rgba(45, 212, 191, 0.14);
    justify-content: center;
    margin-bottom: 0;
  }

  .cinema-kpi:nth-child(even) .cinema-kpi-top {
    background: rgba(245, 158, 11, 0.14);
  }

  .cinema-kpi strong {
    font-size: 0.92rem;
    line-height: 1.2;
  }

  .cinema-kpi span {
    font-size: 0.7rem;
    line-height: 1.25;
    margin-top: 0.1rem;
  }

  .hero-stage {
    padding: 0.48rem;
    border-radius: 0.95rem;
    backdrop-filter: none;
  }

  .hero-cinema-pill,
  .cinema-kpi,
  .stage-top-badge {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-stage-frame img {
    animation: none;
  }

  .hero-stage-frame {
    aspect-ratio: 16 / 9;
    border-radius: 0.65rem;
  }

  .stage-thumbs {
    margin-top: 0.42rem;
    gap: 0.4rem;
  }

  .stage-pipe-chip {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-stage-frame img {
    animation: none !important;
  }
}

/* Unified Interior Page Cinematic Hero, Pipe Quick-Finder, Cert Seals & Floating FAB */
.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border-strong);
}

.hero-cinema.is-compact {
  padding-block: clamp(22px, 3vw, 38px);
}

.hero-cinema .breadcrumbs {
  color: #94A3B8;
  margin-bottom: 12px;
}

.hero-cinema .breadcrumbs a {
  color: #CBD5E1;
}

.hero-cinema .breadcrumbs a:hover {
  color: #2DD4BF;
}

.hero-cinema .breadcrumbs span:last-child {
  color: #FFFFFF;
  font-weight: 700;
}

.faq-item {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.faq-item[open] {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

/* Certifications Seal Strip */
.cert-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(155px, 100%), 1fr));
  gap: 10px;
  margin-top: 20px;
}

.cert-seal {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cert-seal:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.cert-seal .material-symbols-rounded {
  font-size: 1.45rem;
  color: var(--brand);
}

.cert-seal strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.cert-seal span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Interactive Pipe Size & Pressure Quick-Finder */
.pipe-finder {
  margin-top: 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-top: 3px solid var(--brand);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

.pipe-finder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
}

@media (min-width: 900px) {
  .pipe-finder-grid {
    grid-template-columns: 1.15fr 1.15fr auto;
  }
}

.pf-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pf-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pf-metric {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
}

.pf-metric strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand);
}

.pf-metric span {
  display: block;
  font-size: 0.73rem;
  color: var(--text-muted);
  margin-top: 2px;
}

@media (max-width: 520px) {
  .pf-controls {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .pf-results {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }

  .pf-metric {
    padding: 0.45rem 0.35rem;
  }

  .pf-metric strong {
    font-size: 0.84rem;
  }
}

/* Mobile Swipe Hint Pill */
.mobile-swipe-hint {
  display: none;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 8px;
}

@media (max-width: 760px) {
  .mobile-swipe-hint {
    display: inline-flex;
  }
}

/* Desktop Floating Action Buttons (Back-to-Top + Quick WhatsApp) */
.floating-fab {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 22px;
  z-index: 95;
  display: none;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 768px) {
  .floating-fab {
    display: flex;
  }
}

.fab-btn {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.fab-btn:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
  color: var(--brand);
}

.fab-btn.is-wa {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
}

.fab-btn.is-wa:hover {
  background: var(--brand-dark);
  color: #FFFFFF;
}

.fab-btn.is-top {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.fab-btn.is-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Hero 5-Product Quick Jump Pills */
.hero-quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.hero-qpill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  color: #E2E8F0;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.hero-qpill .material-symbols-rounded {
  font-size: 1rem;
  color: #2DD4BF;
}

.hero-qpill:hover {
  transform: translateY(-2px);
  background: rgba(13, 148, 136, 0.28);
  border-color: rgba(45, 212, 191, 0.65);
  color: #FFFFFF;
}

@media (max-width: 640px) {
  .hero-quick-pills {
    flex-wrap: wrap;
    overflow: visible;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
  }

  .hero-qpill {
    flex: 0 1 auto;
    font-size: 0.74rem;
    padding: 0.28rem 0.58rem;
    gap: 0.28rem;
  }
}

/* 5-Core-System Engineering Grid & Complete System Bundling Strip */
.tech-grid-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 16px;
}

@media (min-width: 1120px) {
  .tech-grid-5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

.tech-grid-5 .layer-card {
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.tech-grid-5 .layer-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.tech-grid-5 .layer-card p {
  font-size: 0.86rem;
  line-height: 1.62;
}

.layer-card.is-teal {
  border-top-color: #0D9488;
}

.layer-card.is-sky {
  border-top-color: #0284C7;
}

.layer-card.is-emerald {
  border-top-color: #16A34A;
}

.layer-card.is-amber {
  border-top-color: #D97706;
}

.layer-card.is-indigo {
  border-top-color: #4F46E5;
}

.system-bundle-strip {
  margin-top: 20px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(217, 119, 6, 0.08));
  border: 1px solid rgba(13, 148, 136, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.bundle-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.02rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.bundle-title-row .material-symbols-rounded {
  color: var(--brand);
}

.bundle-copy p {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.bundle-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.bundle-chip {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.bundle-plus {
  font-weight: 800;
  color: var(--brand);
  font-size: 0.95rem;
}

/* 19-Governorate Delivery Zone Speed Bar */
.delivery-zones-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

@media (min-width: 760px) {
  .delivery-zones-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.delivery-zone-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-inline-start: 4px solid var(--brand);
}

.delivery-zone-card.is-fast {
  border-inline-start-color: #16A34A;
}

.delivery-zone-card.is-fast .material-symbols-rounded {
  color: #16A34A;
}

.delivery-zone-card.is-mid {
  border-inline-start-color: #0D9488;
}

.delivery-zone-card.is-mid .material-symbols-rounded {
  color: #0D9488;
}

.delivery-zone-card.is-south {
  border-inline-start-color: #D97706;
}

.delivery-zone-card.is-south .material-symbols-rounded {
  color: #D97706;
}

.delivery-zone-card strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.delivery-zone-card span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Clean Vertical Mobile Grid Enforcement (no horizontal card swiping) */
@media (max-width: 760px) {

  .tech-grid-5,
  .lab-grid,
  .sector-grid,
  .cards-grid-3,
  .cards-grid-4,
  .layer-grid,
  .process-grid-4 {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    overflow-x: visible;
    gap: 0.85rem;
  }

  .delivery-zones-grid {
    gap: 0.45rem;
    margin-bottom: 0.7rem;
  }

  .delivery-zone-card {
    padding: 0.45rem 0.65rem;
    gap: 0.5rem;
  }

  .delivery-zone-card strong {
    font-size: 0.84rem;
  }

  .delivery-zone-card span {
    font-size: 0.72rem;
  }

  .bundle-chip {
    padding: 0.25rem 0.55rem;
    font-size: 0.74rem;
  }
}

/* Mobile-First Minimal Contact Hub */
.contact-hero-min {
  padding-block: 1.1rem 1.35rem;
}

.contact-hero-head h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 4vw, 2.15rem);
  line-height: 1.25;
}

.contact-hero-head .hero-sub {
  margin: 0;
  font-size: 0.86rem;
  max-width: 58ch;
  line-height: 1.55;
}

.contact-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 1rem;
}

.contact-mini-card {
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.85rem;
  padding: 0.65rem 0.75rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.contact-mini-card:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 212, 191, 0.55);
}

.contact-mini-card.is-priority {
  border-color: rgba(45, 212, 191, 0.5);
  background: linear-gradient(155deg, rgba(13, 148, 136, 0.24), rgba(15, 23, 42, 0.82));
}

.contact-mini-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.1rem;
}

.contact-mini-icon {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.5rem;
  background: rgba(45, 212, 191, 0.15);
  color: #2DD4BF;
  display: grid;
  place-items: center;
}

.contact-mini-icon .material-symbols-rounded {
  font-size: 1.05rem;
}

.copy-chip.is-sm {
  padding: 0.18rem 0.5rem;
  font-size: 0.7rem;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #E2E8F0;
}

.copy-chip.is-sm.is-copied {
  background: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
}

.contact-mini-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #94A3B8;
}

.contact-mini-val {
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.85rem;
  overflow-wrap: anywhere;
  text-align: start;
}

.contact-mini-val:hover {
  color: #5EEAD4;
}

.contact-main-section {
  padding-block: 1.25rem 2.2rem;
}

.contact-form-card.is-minimal {
  padding: 1rem 0.95rem;
}

.contact-form-card.is-minimal .contact-form-head {
  padding-bottom: 0.75rem;
  margin-bottom: 0.9rem;
  gap: 0.5rem;
}

.contact-form-card.is-minimal .contact-form-head h2 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.contact-form-card.is-minimal .contact-form-head p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.contact-form-card.is-minimal .form-group {
  margin-bottom: 0.75rem;
}

.contact-form-card.is-minimal .form-label {
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

.contact-form-card.is-minimal .chip-group {
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.contact-form-card.is-minimal .choice-chip {
  padding: 0.36rem 0.68rem;
  font-size: 0.79rem;
  border-radius: 0.55rem;
}

.contact-form-card.is-minimal .wa-preview-box {
  padding: 0.7rem 0.85rem;
  margin-block: 0.85rem;
}

.contact-form-card.is-minimal .wa-preview-text {
  font-size: 0.82rem;
  line-height: 1.55;
}

.contact-form-card.is-minimal .wa-action-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

.contact-form-card.is-minimal .wa-action-bar .btn-brand {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 2.65rem;
}

.contact-form-card.is-minimal .wa-action-bar .btn-accent {
  min-height: 2.45rem;
  width: 100%;
}

.contact-form-card.is-minimal .wa-action-bar .copy-chip {
  min-height: 2.45rem;
  padding: 0 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: auto;
}

.campus-card.is-minimal .campus-body {
  padding: 0.95rem;
}

.contact-min-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
  align-items: stretch;
}

.contact-info-min {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.campus-desc {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.campus-hours {
  margin-bottom: 0.8rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.7rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
}

.campus-hours-title {
  display: block;
  font-size: 0.82rem;
  color: var(--brand);
  margin-bottom: 0.25rem;
}

.campus-hours .dept-row {
  padding: 0.42rem 0;
  font-size: 0.83rem;
}

.dept-row.is-icon-row strong {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  flex-shrink: 0;
}

.dept-row.is-icon-row strong .material-symbols-rounded {
  font-size: 1.05rem;
  color: var(--brand);
}

.campus-map-btn {
  width: 100%;
  min-height: 2.6rem;
  font-size: 0.88rem;
}

/* Embedded Google Map Card & Contact Social Box */
.map-embed-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.map-card-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-elevated);
}

.map-card-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.map-card-title>.material-symbols-rounded {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.2rem;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.map-card-title strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.25;
}

.map-card-title span {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.map-open-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid rgba(13, 148, 136, 0.25);
  color: var(--brand-dark);
  font-size: 0.76rem;
  font-weight: 800;
  flex-shrink: 0;
}

[data-theme="dark"] .map-open-pill {
  color: var(--brand);
}

.map-open-pill .material-symbols-rounded {
  font-size: 1rem;
}

.map-frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 240px;
  flex: 1;
  background: var(--bg-elevated);
}

.map-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-social-box {
  margin-bottom: 0.95rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
}

.contact-social-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.contact-social-head .material-symbols-rounded {
  font-size: 1.1rem;
  color: var(--brand);
}

.contact-social-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contact-social-grid .social-btn {
  width: 2.45rem;
  height: 2.45rem;
  background: var(--bg-surface);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.contact-social-grid .social-btn.is-ig {
  color: #DD2A7B;
}

.contact-social-grid .social-btn.is-fb {
  color: #1877F2;
}

.contact-social-grid .social-btn.is-in {
  color: #0A66C2;
}

.contact-social-grid .social-btn.is-yt {
  color: #FF0000;
}

.contact-social-grid .social-btn.is-tt {
  color: var(--text-primary);
}

.contact-social-grid .social-btn.is-x {
  color: var(--text-primary);
}

.contact-social-grid .social-btn.is-map {
  color: var(--brand);
}

.contact-social-grid .social-btn:hover {
  color: #FFFFFF;
}

@media (min-width: 900px) {
  .contact-hero-min {
    padding-block: 1.8rem 2.2rem;
  }

  .contact-mini-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1.35rem;
  }

  .contact-mini-card {
    padding: 0.85rem 1rem;
  }

  .contact-mini-val {
    font-size: 0.94rem;
  }

  .contact-main-section {
    padding-block: 2rem 3rem;
  }

  .contact-min-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 1.4rem;
  }

  .contact-info-min {
    padding: 1.45rem 1.6rem;
  }

  .map-frame-wrap {
    min-height: 360px;
  }
}

.about-line-link {
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-line-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: inherit;
}

/* Knowledge Hub & Compact Editorial Archive */
.archive-hero {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding-block: 18px 22px;
}

[data-theme="dark"] .archive-hero {
  background: linear-gradient(180deg, rgba(13, 148, 136, 0.08), transparent);
}

.archive-hero .breadcrumbs {
  margin-bottom: 10px;
  font-size: 0.8rem;
}

.archive-hero-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 20px;
  flex-wrap: wrap;
}

.archive-hero-copy {
  min-width: 0;
  flex: 1 1 360px;
}

.archive-hero-copy h1 {
  margin: 0 0 4px;
  font-size: clamp(1.32rem, 2.4vw, 1.82rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
}

.archive-hero-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 62ch;
}

.archive-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.archive-count-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  border: 1px solid rgba(13, 148, 136, 0.2);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

[data-theme="dark"] .archive-count-pill {
  color: var(--brand);
}

.archive-count-pill .material-symbols-rounded {
  font-size: 1rem;
}

.archive-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  min-height: 34px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.archive-search-btn:hover {
  border-color: var(--brand);
  color: var(--text-primary);
  background: var(--bg-surface);
}

.archive-search-btn .material-symbols-rounded {
  font-size: 1rem;
  color: var(--brand);
}

.archive-search-btn kbd {
  padding: 1px 6px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  font-family: inherit;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.archive-section {
  padding-block: 20px 52px;
}

.archive-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.archive-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.archive-chips .chip {
  min-height: 32px;
  padding: 4px 11px;
  font-size: 0.8rem;
  gap: 5px;
  font-weight: 600;
}

.archive-chips .chip .material-symbols-rounded {
  font-size: 0.95rem;
}

.chip-count {
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.78;
  font-variant-numeric: tabular-nums;
}

.archive-meta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-color);
  flex-wrap: wrap;
}

.archive-page-status {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.archive-sort-tabs {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border-radius: 9px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
}

.archive-sort-tab {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: background 0.16s ease, color 0.16s ease;
}

.archive-sort-tab .material-symbols-rounded {
  font-size: 0.92rem;
}

.archive-sort-tab:hover {
  color: var(--text-primary);
}

.archive-sort-tab.active {
  background: var(--bg-surface);
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.archive-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1180px) {
  .archive-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

.archive-card .card-media {
  aspect-ratio: 16 / 9;
}

.archive-card .card-media.contain {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
}

.archive-card .card-media.contain img {
  padding: 10px;
}

.archive-card .card-body {
  padding: 13px 15px;
  gap: 7px;
}

.archive-card-topic {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.4;
}

[data-theme="dark"] .archive-card-topic {
  color: var(--brand);
}

.archive-card-topic .material-symbols-rounded {
  font-size: 0.84rem;
}

.archive-card .card-title {
  font-size: 0.95rem;
  line-height: 1.42;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.archive-card .card-title a {
  color: inherit;
}

.archive-card .card-title a:hover {
  color: var(--brand);
}

.archive-card .card-text {
  font-size: 0.82rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.archive-card .card-meta {
  padding-top: 8px;
  font-size: 0.74rem;
  gap: 8px;
}

.archive-card .card-meta>span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.archive-card .card-meta .material-symbols-rounded {
  font-size: 0.88rem;
  opacity: 0.78;
}

.archive-empty {
  text-align: center;
  padding: 40px 20px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-color);
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.archive-empty .material-symbols-rounded {
  font-size: 2.2rem;
  color: var(--text-muted);
}

.archive-empty p {
  margin: 0;
  color: var(--text-secondary);
}

.archive-pagination-wrap {
  margin-top: 28px;
}

.archive-pagination {
  margin-top: 0;
  gap: 6px;
}

.archive-pagination .page-link {
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  font-size: 0.88rem;
  border-radius: 9px;
}

.archive-pagination .page-arrow {
  padding: 0 8px;
}

.archive-pagination .page-arrow .material-symbols-rounded {
  font-size: 1.2rem;
}

.page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  color: var(--text-muted);
  font-weight: 700;
}

@media (max-width: 639px) {
  .archive-hero {
    padding-block: 14px 16px;
  }

  .archive-hero-desc {
    font-size: 0.82rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .archive-search-btn {
    flex: 1 1 auto;
    justify-content: flex-start;
  }

  .archive-search-btn kbd {
    display: none;
  }

  .archive-section {
    padding-block: 14px 36px;
  }

  .archive-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .archive-chips::-webkit-scrollbar {
    display: none;
  }

  .archive-chips .chip {
    flex-shrink: 0;
  }

  .archive-grid {
    gap: 10px;
  }

  .archive-card {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    padding: 9px;
    border-radius: 12px;
  }

  .archive-card .card-media {
    width: 100px;
    height: 74px;
    aspect-ratio: auto;
    border-bottom: none;
    border-radius: 8px;
    border: 1px solid var(--border-color);
  }

  .archive-card .card-media.contain img {
    padding: 4px;
  }

  .archive-card .card-body {
    padding: 0;
    gap: 4px;
    min-width: 0;
  }

  .archive-card-topic {
    font-size: 0.66rem;
    padding: 1px 6px;
  }

  .archive-card .card-title {
    font-size: 0.88rem;
    line-height: 1.38;
  }

  .archive-card .card-text {
    display: none;
  }

  .archive-card .card-meta {
    padding-top: 4px;
    border-top: none;
    font-size: 0.72rem;
  }

  .archive-pagination .page-link {
    min-width: 36px;
    min-height: 36px;
    padding: 0 9px;
    font-size: 0.82rem;
    border-radius: 8px;
  }
}

/* Dedicated Industrial Product Datasheet Pages */
.product-hero {
  padding-block: 24px 30px;
}

.product-hero .breadcrumbs {
  margin-bottom: 12px;
  color: rgba(248, 250, 252, 0.72);
}

.product-hero .breadcrumbs a {
  color: rgba(248, 250, 252, 0.9);
}

.product-hero .breadcrumbs a:hover {
  color: #5EEAD4;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

@media (min-width: 960px) {
  .product-hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 34px;
  }
}

.product-hero-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.product-hero-pills .hero-cinema-pill {
  margin-bottom: 0;
}

.product-stock-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #6EE7B7;
  font-size: 0.78rem;
  font-weight: 700;
}

.product-stock-pill .material-symbols-rounded {
  font-size: 0.96rem;
}

.product-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  font-weight: 800;
  line-height: 1.28;
  color: #FFFFFF;
}

.product-hero .hero-sub {
  margin: 0 0 14px;
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.88);
  max-width: 62ch;
}

.product-hero-bullets {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-hero-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #F1F5F9;
  font-weight: 600;
}

.product-hero-bullets .material-symbols-rounded {
  font-size: 1.05rem;
  color: #2DD4BF;
  flex-shrink: 0;
}

.product-hero-showcase {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #FFFFFF;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
}

.product-hero-showcase.is-contain img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  cursor: zoom-in;
}

.product-hero-showcase:not(.is-contain) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.product-std-tag {
  position: absolute;
  bottom: 10px;
  inset-inline-start: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.84);
  color: #5EEAD4;
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.product-main-section {
  padding-block: 26px 56px;
}

.product-block {
  margin-bottom: 28px;
}

.product-sec-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: clamp(1.12rem, 1.9vw, 1.35rem);
  font-weight: 800;
  color: var(--text-primary);
}

.product-sec-title .material-symbols-rounded {
  color: var(--brand);
  font-size: 1.25rem;
}

.product-benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 580px) {
  .product-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.product-benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-elevated);
}

.product-benefit-ico {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  flex-shrink: 0;
}

.product-benefit-ico .material-symbols-rounded {
  font-size: 1.15rem;
}

.product-benefit-card strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 3px;
  color: var(--text-primary);
}

.product-benefit-card p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.product-gallery-item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-elevated);
  aspect-ratio: 16 / 10;
}

.product-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.25s ease;
}

.product-gallery-item:hover img {
  transform: scale(1.03);
}

.product-apps-box {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: var(--bg-elevated);
}

.product-apps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 16px;
}

@media (min-width: 580px) {
  .product-apps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.product-apps-grid li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 600;
}

.product-apps-grid .material-symbols-rounded {
  font-size: 1.05rem;
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 2px;
}

.product-faq-sec {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border-color);
}

.product-bottom-cta {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.product-cross-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@media (max-width: 639px) {
  .product-hero {
    padding-block: 16px 20px;
  }

  .product-hero-showcase {
    max-height: 200px;
    aspect-ratio: 16 / 9;
  }

  .product-hero-bullets li {
    font-size: 0.82rem;
  }

  .product-benefits-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .product-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .product-apps-grid {
    grid-template-columns: 1fr;
  }
}

/* About Factory Page (ui-ux-pro-max Trust & Authority + Mobile-First) */
.about-hero {
  padding-block: 22px 26px;
}

.about-hero-actions {
  gap: 10px;
}

.about-hero-actions .btn {
  min-height: 44px;
}

.about-kpis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 768px) {
  .about-kpis-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.about-hero-stage .hero-stage-frame {
  aspect-ratio: 16 / 10;
}

.about-section {
  padding-block: 36px;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .about-pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1120px) {
  .about-pillars-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

.about-proof-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 860px) {
  .about-proof-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

.about-proof-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.about-proof-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  flex-shrink: 0;
}

.about-proof-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.about-proof-item p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.about-lines-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .about-lines-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (min-width: 980px) {
  .about-lines-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

.about-line-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
}

.about-line-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.about-line-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

.about-line-card p {
  margin: 0;
  flex: 1;
  font-size: 0.87rem;
  line-height: 1.55;
}

.about-line-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand);
}

.about-line-more .material-symbols-rounded {
  font-size: 1rem;
  transition: transform 0.16s ease;
}

.about-line-card:hover .about-line-more .material-symbols-rounded {
  transform: translateX(-3px);
}

html[dir="ltr"] .about-line-card:hover .about-line-more .material-symbols-rounded {
  transform: translateX(3px);
}

.about-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 580px) {
  .about-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .about-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

.about-gallery-card {
  position: relative;
}

.about-gallery-card picture {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.about-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.about-zoom-cue {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.72);
  color: #FFFFFF;
  pointer-events: none;
}

.about-zoom-cue .material-symbols-rounded {
  font-size: 1rem;
}

.about-qc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

@media (min-width: 580px) {
  .about-qc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .about-qc-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.about-visit-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 480px) {
  .about-visit-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.about-visit-actions .btn {
  min-height: 44px;
  font-size: 0.85rem;
}

@media (max-width: 639px) {
  .about-hero {
    padding-block: 14px 18px;
  }

  .about-hero h1 {
    font-size: 1.32rem;
  }

  .about-hero-stage {
    max-height: 195px;
    overflow: hidden;
    border-radius: 14px;
  }

  .about-section {
    padding-block: 24px;
  }

  .about-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .about-gallery .gallery-caption {
    font-size: 0.74rem;
    padding: 7px 9px;
  }
}