/*
Theme Name: MULTINDO Worldwide Prospectus
Theme URI: https://www.multindo-worldwide.com
Author: Multindo Worldwide Web Team
Description: Distributor Partnership Prospectus & Integrated Mining Systems WordPress Theme featuring authentic field & 3D HEOXpert photography from the Multindo Worldwide Prospectus, Interactive Product Showcase, Detail Modal Gallery, and Context-Aware Live Chat.
Version: 4.0.1
License: GNU General Public License v2 or later
Text Domain: multindo
*/

:root {
  --bg-obsidian: #070b14;
  --bg-dark: #0f172a;
  --bg-slate: #1e293b;
  --bg-card-dark: #162033;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-glow: rgba(245, 158, 11, 0.22);
  --accent-soft: rgba(245, 158, 11, 0.12);
  --heo-red: #dc2626;
  --emerald: #10b981;
  --cyan: #06b6d4;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #f1f5f9;
  --text-light-muted: #94a3b8;
  --border-light: #e2e8f0;
  --border-dark: #2d3b52;
  --radius: 8px;
  --radius-lg: 12px;
  --container: 1240px;
  --shadow-lg: 0 20px 40px -15px rgba(7, 11, 20, 0.35);
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-font {
  font-family: 'Barlow', 'Inter', -apple-system, sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
}

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

ul {
  list-style: none;
}

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

button {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-slate {
  background-color: var(--bg-slate);
  color: var(--text-light);
}

.section-light {
  background-color: var(--bg-light);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--accent);
}

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.08rem;
  max-width: 780px;
  color: var(--text-muted);
  margin-bottom: 2.75rem;
}

.section-dark .section-lead,
.section-slate .section-lead {
  color: var(--text-light-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-sm {
  padding: 0.58rem 1rem;
  font-size: 0.83rem;
}

.btn-primary {
  background-color: var(--accent);
  color: #090d16;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px var(--accent-glow);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.03);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(245, 158, 11, 0.08);
}

.btn-dark {
  background-color: var(--bg-dark);
  color: #ffffff;
}

.btn-dark:hover {
  background-color: var(--bg-slate);
}

.btn-chat {
  background-color: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.45);
  color: #047857;
}

.btn-chat:hover {
  background-color: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

.section-dark .btn-chat,
.modal-card .btn-chat,
.site-footer .btn-chat {
  background-color: rgba(16, 185, 129, 0.16);
  color: #34d399;
}

.section-dark .btn-chat:hover,
.modal-card .btn-chat:hover,
.site-footer .btn-chat:hover {
  background-color: #10b981;
  color: #06281e;
}

/* Top Utility Bar */
.top-bar {
  background-color: var(--bg-obsidian);
  border-bottom: 1px solid #1a2436;
  color: #94a3b8;
  font-size: 0.78rem;
  padding: 0.45rem 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--emerald);
  border-radius: 50%;
  margin-right: 0.4rem;
  box-shadow: 0 0 8px var(--emerald);
}

/* Sticky Header & Mega Menu */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(11, 17, 32, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  position: relative;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo img,
.custom-logo-img {
  height: 48px;
  width: auto;
  max-width: 230px;
  display: block;
  border-radius: 3px;
  object-fit: contain;
}

.footer-logo-img {
  height: 46px;
  width: auto;
  max-width: 220px;
  display: block;
  border-radius: 3px;
  object-fit: contain;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.main-nav > ul > li > a,
.mega-trigger {
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.15s;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0;
}

.main-nav > ul > li > a:hover,
.mega-trigger:hover,
.has-mega.active .mega-trigger {
  color: var(--accent);
}

/* Products Mega Dropdown */
.has-mega {
  position: static;
}

.mega-menu {
  display: none;
  position: absolute;
  top: 78px;
  left: 0;
  right: 0;
  background: #0d1526;
  border-top: 2px solid var(--accent);
  border-bottom: 1px solid var(--border-dark);
  box-shadow: 0 28px 50px -12px rgba(0, 0, 0, 0.78);
  padding: 1.85rem;
  z-index: 1050;
}

.has-mega:hover .mega-menu,
.has-mega.active .mega-menu {
  display: block;
}

.mega-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-bottom: 0.9rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid #1e293b;
}

.mega-header span {
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.mega-col-title {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 0.65rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #1e293b;
}

.mega-product-list {
  display: grid;
  gap: 0.5rem;
}

.mega-product-btn {
  width: 100%;
  text-align: left;
  background: rgba(30, 41, 59, 0.58);
  border: 1px solid #263449;
  border-radius: 6px;
  padding: 0.65rem;
  color: #f1f5f9;
  cursor: pointer;
  transition: all 0.18s ease;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mega-product-btn:hover {
  background: rgba(245, 158, 11, 0.14);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.mega-thumb {
  width: 100%;
  height: 82px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #334155;
}

.mega-product-btn strong {
  font-size: 0.83rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
}

.mega-product-btn small {
  font-size: 0.72rem;
  color: #94a3b8;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-dark);
  color: #fff;
  padding: 0.45rem 0.75rem;
  border-radius: 4px;
  font-size: 1.15rem;
  cursor: pointer;
}

/* Hero Section with Authentic HEOXpert 3D Cutaway & Field Photos */
.hero {
  background-color: var(--bg-obsidian);
  background-image:
    radial-gradient(circle at 82% 24%, rgba(245, 158, 11, 0.15), transparent 45%),
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 44px 44px, 44px 44px;
  color: #ffffff;
  padding: 4.75rem 0 4.5rem;
  border-bottom: 4px solid var(--accent);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.75rem;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.15rem;
}

.heoxpert-tag {
  display: inline-block;
  background: #ffffff;
  color: var(--heo-red);
  font-family: 'Barlow', sans-serif;
  font-weight: 900;
  font-size: 0.9rem;
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  letter-spacing: 0.03em;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.hero h1 {
  font-size: clamp(2.25rem, 4.1vw, 3.45rem);
  margin-bottom: 1.1rem;
  text-transform: uppercase;
}

.hero p {
  font-size: 1.06rem;
  color: #cbd5e1;
  margin-bottom: 1.75rem;
  max-width: 630px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.75rem;
}

.hero-promise-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.hero-mini-stat {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid #243247;
  border-left: 3px solid var(--accent);
  padding: 0.7rem 0.9rem;
  border-radius: 6px;
}

.hero-mini-stat strong {
  display: block;
  font-size: 0.92rem;
  color: #ffffff;
}

.hero-mini-stat span {
  font-size: 0.76rem;
  color: #94a3b8;
}

.hero-media-stack {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.hero-main-diagram {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 0.85rem;
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-main-diagram img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.hero-diagram-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-dark);
  font-weight: 700;
}

.hero-thumb-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.hero-thumb-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  height: 145px;
}

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

.hero-thumb-card span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(7, 11, 20, 0.92), transparent);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 1.1rem 0.65rem 0.45rem;
}

/* Reusable Photo Figures & Galleries (PDF Photos Only) */
.photo-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: #0f172a;
  box-shadow: 0 10px 24px -10px rgba(15, 23, 42, 0.18);
}

.section-dark .photo-figure,
.section-slate .photo-figure {
  border-color: var(--border-dark);
}

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

.photo-figure:hover img {
  transform: scale(1.03);
}

.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(7, 11, 20, 0.94) 0%, rgba(7, 11, 20, 0.68) 70%, transparent 100%);
  color: #f8fafc;
  padding: 1.5rem 1rem 0.75rem;
  font-size: 0.82rem;
  line-height: 1.4;
}

.photo-caption strong {
  color: var(--accent);
  display: block;
  font-size: 0.85rem;
}

.photo-strip-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  margin-top: 2.5rem;
}

.photo-strip-3 .photo-figure {
  height: 245px;
}

.photo-strip-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  margin-top: 2.5rem;
}

.photo-strip-4 .photo-figure {
  height: 215px;
}

.photo-strip-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.photo-strip-2 .photo-figure {
  height: 280px;
}

/* KPI Strip */
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.kpi-box {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.kpi-box strong {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

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

/* Grids & Cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}

.card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -10px rgba(15, 23, 42, 0.14);
  border-color: #cbd5e1;
}

.card-dark {
  background: var(--bg-card-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.card-dark:hover {
  border-color: rgba(245, 158, 11, 0.55);
}

.card-number {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-weight: 800;
  font-size: 0.76rem;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.85rem;
  letter-spacing: 0.05em;
}

.section-dark .card-number,
.section-slate .card-number {
  color: var(--accent);
}

.card h3 {
  font-size: 1.22rem;
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

.card-dark p {
  color: var(--text-light-muted);
  font-size: 0.93rem;
}

/* =========================================================
   INTERACTIVE PRODUCT SHOWCASE (WITH REAL PDF PHOTOS)
   ========================================================= */
.showcase-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
  background: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 14px -4px rgba(15, 23, 42, 0.06);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-tab {
  padding: 0.52rem 0.95rem;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  background: var(--bg-light);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-tab:hover {
  border-color: var(--bg-dark);
  color: var(--text-dark);
}

.filter-tab.active {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  color: #ffffff;
}

.showcase-search {
  position: relative;
  min-width: 245px;
}

.showcase-search input {
  width: 100%;
  padding: 0.58rem 0.95rem;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  font-size: 0.86rem;
  background: var(--bg-light);
}

.showcase-search input:focus {
  outline: 2px solid var(--accent);
  background: #ffffff;
}

.product-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px -12px rgba(15, 23, 42, 0.16);
  border-color: var(--accent);
}

.product-card.hidden-card {
  display: none;
}

.product-visual {
  position: relative;
  height: 225px;
  background: #0b1120;
  border-bottom: 3px solid var(--accent);
  overflow: hidden;
  cursor: pointer;
}

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

.product-card:hover .product-visual img {
  transform: scale(1.05);
}

.product-badge-top {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(245, 158, 11, 0.55);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.24rem 0.58rem;
  border-radius: 4px;
}

.product-sku-tag {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  background: rgba(9, 13, 22, 0.82);
  color: #f8fafc;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  padding: 0.22rem 0.55rem;
  border-radius: 4px;
}

.product-photo-count {
  position: absolute;
  bottom: 0.65rem;
  right: 0.75rem;
  z-index: 2;
  background: rgba(9, 13, 22, 0.85);
  color: #e2e8f0;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.product-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-hover);
  margin-bottom: 0.35rem;
}

.product-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
  color: var(--text-dark);
}

.product-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  flex: 1;
}

.product-quick-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-bottom: 1.2rem;
}

.spec-chip {
  font-size: 0.73rem;
  font-weight: 600;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  color: #334155;
  padding: 0.22rem 0.52rem;
  border-radius: 4px;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

/* HEOXpert 3D Cutaway Showcase Cards */
.heoxpert-diagram-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: 0 12px 26px -10px rgba(15, 23, 42, 0.12);
}

.heoxpert-diagram-card img {
  width: 100%;
  height: 290px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 6px;
}

.heoxpert-diagram-caption {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
}

.heoxpert-diagram-caption strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.heoxpert-diagram-caption span {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Comparison Tables (Scenarios & Hose Service) */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background: #ffffff;
  margin-top: 2rem;
}

.prospectus-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}

.prospectus-table th {
  background: var(--bg-dark);
  color: #ffffff;
  padding: 0.95rem 1.1rem;
  font-family: 'Barlow', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.84rem;
}

.prospectus-table th:last-child {
  color: var(--accent);
}

.prospectus-table td {
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dark);
}

.prospectus-table tr:nth-child(even) td {
  background: #f8fafc;
}

.prospectus-table td:first-child {
  font-weight: 700;
  color: var(--text-dark);
}

.prospectus-table td:last-child {
  font-weight: 600;
  color: #065f46;
}

/* Scenario Cards */
.scenario-metric {
  font-family: 'Barlow', sans-serif;
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--accent);
  margin: 0.4rem 0 0.6rem;
  display: block;
}

.scenario-verdict {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-light);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--text-dark);
  font-weight: 600;
}

/* Timeline (A Distributor Day) */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.timeline-step {
  background: var(--bg-card-dark);
  border: 1px solid var(--border-dark);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.timeline-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 0.35rem;
}

.timeline-step h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.timeline-step p {
  font-size: 0.85rem;
  color: #cbd5e1;
}

/* Map Showcase Card */
.map-showcase-box {
  background: #ffffff;
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-top: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.map-showcase-box img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.map-showcase-caption {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.86rem;
  color: var(--text-dark);
}

/* =========================================================
   PRODUCT DETAIL MODAL (WITH REAL PDF PHOTO GALLERY)
   ========================================================= */
.product-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 11, 20, 0.84);
  backdrop-filter: blur(6px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow-y: auto;
}

.product-modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: #0f172a;
  color: #f1f5f9;
  border: 1px solid #334155;
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 940px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.85);
  position: relative;
  animation: modalSlideIn 0.22s ease-out;
}

@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.75rem;
  background: #090e1a;
  border-bottom: 1px solid #1e293b;
  position: sticky;
  top: 0;
  z-index: 10;
}

.modal-close {
  background: #1e293b;
  border: 1px solid #334155;
  color: #f1f5f9;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  font-size: 1.25rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.modal-close:hover {
  background: var(--accent);
  color: #090d16;
  border-color: var(--accent);
}

.modal-content-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 2rem;
  padding: 1.75rem;
}

.modal-visual-box {
  background: #070b14;
  border: 1px solid #2d3b52;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.modal-visual-box img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.modal-photo-caption {
  padding: 0.65rem 0.85rem;
  background: #090e1a;
  font-size: 0.78rem;
  color: #cbd5e1;
  border-top: 1px solid #1e293b;
}

.modal-thumb-strip {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.modal-thumb-btn {
  width: 78px;
  height: 56px;
  padding: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid #334155;
  background: #070b14;
  cursor: pointer;
  transition: border-color 0.15s;
}

.modal-thumb-btn.active,
.modal-thumb-btn:hover {
  border-color: var(--accent);
}

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

.modal-highlights {
  margin-top: 1.15rem;
  width: 100%;
  display: grid;
  gap: 0.5rem;
}

.modal-highlight-item {
  background: rgba(245, 158, 11, 0.1);
  border-left: 3px solid var(--accent);
  padding: 0.55rem 0.75rem;
  font-size: 0.82rem;
  color: #fde68a;
  border-radius: 0 4px 4px 0;
}

.modal-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.15rem 0 1.5rem;
  font-size: 0.85rem;
}

.modal-specs-table tr {
  border-bottom: 1px solid #1e293b;
}

.modal-specs-table td {
  padding: 0.52rem 0.4rem;
}

.modal-specs-table td:first-child {
  color: #94a3b8;
  font-weight: 600;
  width: 42%;
}

.modal-specs-table td:last-child {
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.81rem;
}

.modal-cta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid #1e293b;
}

/* =========================================================
   FLOATING LIVE CHAT WIDGET
   ========================================================= */
.livechat-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1900;
  background: var(--bg-dark);
  color: #ffffff;
  border: 2px solid var(--accent);
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 0 14px 30px -6px rgba(7, 11, 20, 0.65);
  transition: transform 0.2s ease, background 0.2s ease;
}

.livechat-launcher:hover {
  transform: translateY(-2px);
  background: #162033;
}

.livechat-badge-pulse {
  width: 10px;
  height: 10px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
}

.livechat-window {
  display: none;
  position: fixed;
  bottom: 88px;
  right: 24px;
  width: 395px;
  max-width: calc(100vw - 32px);
  background: #0f172a;
  color: #f1f5f9;
  border: 1px solid #334155;
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.78);
  z-index: 1950;
  flex-direction: column;
  overflow: hidden;
}

.livechat-window.open {
  display: flex;
  animation: modalSlideIn 0.2s ease-out;
}

.chat-header {
  background: #090e1a;
  padding: 0.95rem 1.15rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #1e293b;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #ffffff;
  color: #ef4444;
  font-weight: 900;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-context-banner {
  display: none;
  background: rgba(245, 158, 11, 0.14);
  border-bottom: 1px solid rgba(245, 158, 11, 0.35);
  padding: 0.55rem 1rem;
  font-size: 0.78rem;
  color: #fde68a;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.chat-context-banner.active {
  display: flex;
}

.chat-messages {
  padding: 1rem;
  height: 295px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #0b1120;
}

.chat-msg {
  max-width: 86%;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  font-size: 0.84rem;
  line-height: 1.45;
}

.chat-msg.bot {
  background: #1e293b;
  color: #f1f5f9;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  border: 1px solid #2d3b52;
}

.chat-msg.user {
  background: var(--accent);
  color: #090d16;
  font-weight: 600;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chat-quick-prompts {
  padding: 0.6rem 0.85rem;
  background: #0f172a;
  border-top: 1px solid #1e293b;
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.quick-prompt-btn {
  background: #1e293b;
  border: 1px solid #334155;
  color: #cbd5e1;
  font-size: 0.72rem;
  padding: 0.3rem 0.58rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
}

.quick-prompt-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.chat-input-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.72rem;
  background: #090e1a;
  border-top: 1px solid #1e293b;
}

.chat-input-form input {
  flex: 1;
  background: #1e293b;
  border: 1px solid #334155;
  color: #ffffff;
  border-radius: 6px;
  padding: 0.58rem 0.8rem;
  font-size: 0.84rem;
}

.chat-input-form input:focus {
  outline: 1px solid var(--accent);
}

.chat-handoff-bar {
  background: #070b14;
  padding: 0.5rem 0.85rem;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  color: #94a3b8;
}

.chat-handoff-bar a {
  color: var(--emerald);
  font-weight: 700;
}

/* Split Layout & Checklists */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 0.85rem;
}

.check-list li {
  position: relative;
  padding-left: 1.65rem;
  font-size: 0.94rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 900;
}

.ecosystem-bar {
  margin-top: 2.5rem;
  background: var(--bg-dark);
  color: #fff;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border-left: 5px solid var(--accent);
}

.ecosystem-equations {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.eq-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.15rem;
  border-radius: 6px;
}

.eq-box strong {
  display: block;
  color: var(--accent);
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

.eq-box span {
  font-size: 0.86rem;
  color: #e2e8f0;
}

.callout-box {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #090d16;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.callout-box h3 {
  font-size: 1.85rem;
  margin-bottom: 0.35rem;
}

.callout-box p {
  max-width: 720px;
  font-weight: 600;
}

/* Global Offices Directory Grid */
.office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.office-card {
  background: rgba(22, 32, 51, 0.9);
  border: 1px solid var(--border-dark);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.office-card h4 {
  color: var(--accent);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
}

.office-card p {
  font-size: 0.84rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 0.3rem;
}

/* Partner Form */
.partner-box {
  background: var(--bg-card-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 600;
  color: #cbd5e1;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 0.9rem;
  border-radius: 6px;
  border: 1px solid var(--border-dark);
  background: var(--bg-dark);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.92rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--accent);
  border-color: transparent;
}

.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.35rem;
}

.checkbox-row label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
  cursor: pointer;
}

/* Footer */
.site-footer {
  background: var(--bg-obsidian);
  color: #94a3b8;
  padding: 4rem 0 2.5rem;
  border-top: 1px solid #1e293b;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-title {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 0.85rem;
  font-size: 1rem;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.entry-content {
  padding: 4.5rem 0;
}

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .product-showcase-grid,
  .mega-grid,
  .office-grid,
  .photo-strip-3,
  .photo-strip-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-grid,
  .split-2,
  .grid-4,
  .grid-5,
  .timeline-grid,
  .kpi-strip,
  .ecosystem-equations,
  .footer-grid,
  .modal-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .product-showcase-grid,
  .grid-2,
  .grid-3,
  .form-grid,
  .mega-grid,
  .office-grid,
  .photo-strip-2,
  .photo-strip-3,
  .photo-strip-4,
  .hero-thumb-row,
  .hero-promise-strip {
    grid-template-columns: 1fr;
  }
  .nav-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--bg-obsidian);
    border-bottom: 1px solid var(--border-dark);
    padding: 1.25rem 1.5rem;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }
  .main-nav.open {
    display: block;
  }
  .main-nav > ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .mega-menu {
    position: static;
    padding: 1rem;
    margin-top: 0.5rem;
    box-shadow: none;
  }
}
