/* ============================================================
   HIBERNIA GENERAL — BASE STYLESHEET
   Navy Blue Corporate · Professional B2B · Multi-Page
   ============================================================ */

/* ---------- GOOGLE FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=DM+Serif+Display&display=swap');

/* ---------- CSS VARIABLES (Light Theme) ---------- */
:root {
  /* Brand Colors */
  --navy:        #1B2D4F;   /* Primary Navy — for dark accent blocks */
  --navy-dark:   #F8FAFC;   /* Card / footer / section bg */
  --navy-deeper: #FFFFFF;   /* Page bg (pure white) */
  --navy-mid:    #243A60;   /* Dark navy — for CTA gradients */
  --navy-light:  #2E4E80;   /* Darker navy — for CTA gradients */
  --accent:      #2563EB;   /* Brand blue (logo wave) — readable on white */
  --accent-dim:  #1E50C0;   /* Hover / pressed accent */
  --accent-soft: #EFF4FE;   /* Very light accent tint */
  --white:       #FFFFFF;
  --off-white:   #F4F6FA;
  --text-main:   #0F172A;   /* Near-black, body strong */
  --text-muted:  #475569;   /* Body secondary */
  --text-faint:  #94A3B8;   /* Tertiary, meta */
  --border:      rgba(37, 99, 235, 0.18);
  --border-dim:  rgba(15, 23, 42, 0.08);

  /* Spacing & Shape */
  --nav-h:   68px;
  --radius:  8px;
  --radius-lg: 14px;
  --shadow:  0 14px 36px rgba(15, 23, 42, 0.08);
  --trans:   all 0.28s cubic-bezier(.4,0,.2,1);

  /* Typography */
  --font-body:  'DM Sans', system-ui, sans-serif;
  --font-head:  'DM Serif Display', serif;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--navy-deeper);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94A3B8; }

/* ---------- LAYOUT ---------- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }
.section-sm { padding: 56px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* ---------- TYPOGRAPHY ---------- */
h1,h2,h3 { font-family: var(--font-head); line-height: 1.15; }
h4,h5,h6 { font-family: var(--font-body); font-weight: 600; }

.eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ''; display: block;
  width: 28px; height: 1.5px;
  background: var(--accent);
}
.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--text-main); margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.section-subtitle {
  font-size: 16px; color: var(--text-muted);
  max-width: 560px; line-height: 1.75;
}
.section-header { margin-bottom: 56px; }
.text-accent { color: var(--accent); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  padding: 12px 28px; border-radius: var(--radius);
  border: none; transition: var(--trans); letter-spacing: 0.2px;
  cursor: pointer; text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--accent-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(58,123,213,0.35);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(58,123,213,0.5);
  color: var(--accent);
}
.btn-outline:hover {
  background: rgba(58,123,213,0.08);
  border-color: var(--accent);
}
.btn-ghost {
  background: var(--off-white);
  color: var(--text-main);
  border: 1px solid var(--border-dim);
}
.btn-ghost:hover { background: var(--accent-soft); border-color: var(--border); }
.btn-sm { padding: 9px 20px; font-size: 13px; }
.btn-lg { padding: 15px 36px; font-size: 15px; }

/* ---------- CARD BASE ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  transition: var(--trans);
}
.card:hover {
  border-color: var(--border);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  transform: translateY(-4px);
}

/* ---------- DIVIDER ---------- */
.rule {
  width: 100%; height: 1px;
  background: var(--border-dim);
  margin: 0;
}

/* ---------- BADGE ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(58,123,213,0.12);
  border: 1px solid rgba(58,123,213,0.25);
  color: var(--accent);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.5px; padding: 4px 12px;
  border-radius: 50px;
}

/* ---------- TABLE ---------- */
.data-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.data-table thead th {
  background: rgba(58,123,213,0.08);
  color: var(--text-muted);
  font-size: 11px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 12px 16px; text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.data-table tbody td {
  padding: 11px 16px; font-size: 13.5px;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-dim);
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td { background: var(--off-white); }

/* ---------- NAVBAR ---------- */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--border-dim);
  transition: var(--trans);
}
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 18px rgba(15, 23, 42, 0.06);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-mark {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-mark img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.nav-logo-text .name {
  font-family: var(--font-head);
  font-size: 17px; color: var(--text-main);
  display: block; line-height: 1;
}
.nav-logo-text .sub {
  font-size: 10px; font-weight: 500;
  color: var(--text-faint); letter-spacing: 1.5px;
  text-transform: uppercase;
}
.nav-links {
  display: flex; align-items: center; gap: 2px;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 5px;
  font-size: 13.5px; font-weight: 500;
  color: var(--text-muted);
  padding: 8px 13px; border-radius: 6px;
  transition: var(--trans);
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--text-main);
  background: var(--accent-soft);
}
.nav-links > li > a.active { color: var(--accent); }

/* Dropdown */
.dropdown {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  min-width: 240px;
  box-shadow: var(--shadow);
  padding: 8px 0;
  z-index: 100;
}
.nav-links > li:hover .dropdown { display: block; }
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  font-size: 13px; color: var(--text-muted);
  transition: var(--trans);
}
.dropdown a:hover { color: var(--text-main); background: var(--accent-soft); }
.dropdown a i { color: var(--accent); width: 16px; text-align: center; }
.dropdown-divider { height: 1px; background: var(--border-dim); margin: 6px 0; }

.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-contact {
  font-size: 12.5px; font-weight: 500;
  color: var(--text-muted); transition: var(--trans);
}
.nav-contact:hover { color: var(--accent); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; cursor: pointer;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text-main); border-radius: 2px;
  transition: var(--trans);
}

/* Mobile nav */
.mobile-nav {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 850; overflow-y: auto;
  padding: 28px;
  flex-direction: column; gap: 6px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 15px; font-weight: 500;
  color: var(--text-muted); padding: 13px 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: var(--trans);
}
.mobile-nav a:hover { color: var(--text-main); border-color: var(--border-dim); background: var(--accent-soft); }
.mobile-nav .m-section {
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-faint);
  padding: 16px 16px 6px; pointer-events: none;
}

/* ---------- PAGE HEADER (inner pages) ---------- */
.page-header {
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 64px;
  background:
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(58,123,213,0.08) 0%, transparent 60%),
    var(--navy-deeper);
  border-bottom: 1px solid var(--border-dim);
  position: relative;
  overflow: hidden;
}
.page-header > .container { position: relative; z-index: 1; }
.page-header .breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-faint);
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.page-header .breadcrumb a { transition: var(--trans); }
.page-header .breadcrumb a:hover { color: var(--accent); }
.page-header .breadcrumb i { font-size: 9px; }
.page-header h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--text-main); margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.page-header p {
  font-size: 16px; color: var(--text-muted);
  max-width: 620px; line-height: 1.75;
}

/* Page-header with photographic background */
.page-header.with-image {
  padding-top: calc(var(--nav-h) + 96px);
  padding-bottom: 96px;
  background-color: #0B1426;
  background-blend-mode: normal;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.page-header.with-image::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(11, 20, 38, 0.88) 0%, rgba(11, 20, 38, 0.62) 60%, rgba(11, 20, 38, 0.35) 100%);
  pointer-events: none;
  z-index: 0;
}
/* Background image variants — URLs relative to this stylesheet (assets/base.css) */
.bg-limestone-quarry { background-image: url('../media/site/limestone-quarry.png'); }
.bg-warehouse-night  { background-image: url('../media/site/warehouse-night.png'); }
.bg-cement-yard      { background-image: url('../media/site/cement-yard.png'); }
.bg-gypsum-plant     { background-image: url('../media/site/gypsum-plant.png'); }
.bg-coal-processing  { background-image: url('../media/site/coal-processing.png'); }
.bg-coal-stockpile   { background-image: url('../media/site/coal-stockpile.png'); }
.page-header.with-image::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.page-header.with-image .breadcrumb { color: rgba(255, 255, 255, 0.55); }
.page-header.with-image .breadcrumb a { color: rgba(255, 255, 255, 0.75); }
.page-header.with-image .breadcrumb a:hover { color: #93C5FD; }
.page-header.with-image h1 { color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); }
.page-header.with-image p { color: rgba(255, 255, 255, 0.82); }
.page-header.with-image .eyebrow { color: #93C5FD; }
.page-header.with-image .eyebrow::before { background: #93C5FD; }

/* ---------- SCENE BAND (full-width image divider) ---------- */
.scene-band {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  background-color: #0B1426;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  padding: 110px 0;
  overflow: hidden;
}
.scene-band::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(11, 20, 38, 0.82) 0%, rgba(15, 23, 42, 0.55) 55%, rgba(15, 23, 42, 0.30) 100%);
  pointer-events: none;
  z-index: 0;
}
.scene-band::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 50%, rgba(37, 99, 235, 0.18) 0%, transparent 45%);
  pointer-events: none;
}
.scene-band > .container { position: relative; z-index: 1; }
.scene-band .eyebrow { color: #93C5FD; margin-bottom: 14px; }
.scene-band .eyebrow::before { background: #93C5FD; }
.scene-band h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #fff;
  line-height: 1.15;
  max-width: 760px;
  margin-bottom: 18px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.40);
  letter-spacing: -0.01em;
}
.scene-band h2 em {
  font-style: normal;
  background: linear-gradient(120deg, #60A5FA 0%, #93C5FD 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.scene-band p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 24px;
}
.scene-band .scene-stats {
  display: flex; flex-wrap: wrap;
  gap: 32px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.scene-band .scene-stat .n {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: #93C5FD;
  display: block;
  line-height: 1;
}
.scene-band .scene-stat .l {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-top: 6px;
  display: block;
}
@media (max-width: 768px) {
  .scene-band {
    background-attachment: scroll;
    padding: 80px 0;
    min-height: 320px;
  }
}

/* ---------- FOOTER ---------- */
#footer {
  background: var(--off-white);
  border-top: 1px solid var(--border-dim);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand .name {
  font-family: var(--font-head);
  font-size: 20px; color: var(--text-main);
  margin-bottom: 6px; display: block;
}
.footer-brand .tag {
  font-size: 11px; color: var(--accent);
  letter-spacing: 1.5px; text-transform: uppercase;
  display: block; margin-bottom: 16px;
}
.footer-brand p {
  font-size: 13px; color: var(--text-faint);
  line-height: 1.75; max-width: 300px;
}
.footer-col h5 {
  font-size: 11px; font-weight: 700;
  color: var(--text-muted); letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 18px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col li a {
  font-size: 13.5px; color: var(--text-faint);
  transition: var(--trans);
}
.footer-col li a:hover { color: var(--accent); }
.footer-contact-item {
  display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: 12px;
}
.footer-contact-item i {
  color: var(--accent); font-size: 13px;
  margin-top: 3px; flex-shrink: 0; width: 14px;
}
.footer-contact-item span, .footer-contact-item a {
  font-size: 13px; color: var(--text-faint);
  line-height: 1.65; display: block;
  transition: var(--trans);
}
.footer-contact-item a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 28px; border-top: 1px solid var(--border-dim);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p {
  font-size: 12px; color: var(--text-faint);
}
.footer-socials { display: flex; gap: 8px; }
.social-btn {
  width: 34px; height: 34px; border-radius: 7px;
  background: var(--white);
  border: 1px solid var(--border-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--text-muted);
  transition: var(--trans);
}
.social-btn:hover { color: var(--accent); border-color: var(--border); background: var(--accent-soft); }

/* ---------- PRODUCT PAGES (shared) ---------- */
.tabs-nav {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--border-dim);
  margin-bottom: 32px; overflow-x: auto;
}
.tab-btn {
  padding: 12px 24px; background: none; border: none;
  font-size: 13.5px; font-weight: 500;
  color: var(--text-faint); cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--trans); white-space: nowrap;
  font-family: inherit;
}
.tab-btn:hover { color: var(--text-main); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

.grade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.grade-card {
  background: var(--off-white);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 22px;
  transition: var(--trans);
}
.grade-card:hover { border-color: var(--border); box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05); }
.grade-card h4 {
  font-size: 15px; color: var(--accent);
  margin-bottom: 8px;
}
.grade-card p {
  font-size: 13px; color: var(--text-faint);
  line-height: 1.65; margin-bottom: 12px;
}
.grade-spec-list { list-style: none; }
.grade-spec-list li {
  font-size: 12.5px; color: var(--text-muted);
  padding: 5px 0; border-bottom: 1px solid var(--border-dim);
  display: flex; justify-content: space-between;
}
.grade-spec-list li:last-child { border-bottom: none; }
.grade-spec-list li span { color: var(--text-main); font-weight: 500; }

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}
.app-card {
  background: var(--off-white);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius); padding: 18px 14px;
  text-align: center; transition: var(--trans);
}
.app-card:hover { border-color: var(--border); background: var(--accent-soft); }
.app-card i { font-size: 20px; color: var(--accent); margin-bottom: 10px; display: block; }
.app-card span { font-size: 12.5px; color: var(--text-muted); font-weight: 500; }

.content-block { max-width: 760px; }
.content-block p {
  font-size: 15px; color: var(--text-muted);
  line-height: 1.85; margin-bottom: 16px;
}
.content-block h3 {
  font-family: var(--font-body); font-size: 17px; font-weight: 700;
  color: var(--text-main); margin: 28px 0 10px;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px; align-items: start;
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 24px; margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}
.sidebar-card h5 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 16px;
}
.sidebar-info-row {
  display: flex; justify-content: space-between;
  align-items: center; padding: 9px 0;
  border-bottom: 1px solid var(--border-dim);
  font-size: 13px;
}
.sidebar-info-row:last-child { border-bottom: none; }
.sidebar-info-row .label { color: var(--text-faint); }
.sidebar-info-row .val { color: var(--text-main); font-weight: 500; text-align: right; }
.sidebar-contact-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.btn-wa-full {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px; border-radius: var(--radius);
  background: #1a6b38; color: #fff;
  font-size: 13.5px; font-weight: 600;
  border: none; cursor: pointer; transition: var(--trans);
  text-decoration: none;
}
.btn-wa-full:hover { background: #1a7a40; }

/* Product hero visual (detail pages) */
.product-visual {
  position: relative;
  margin-bottom: 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-dim);
  background: var(--navy-deeper);
  aspect-ratio: 5 / 3;
}
.product-visual img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform 0.6s ease;
}
.product-visual:hover img { transform: scale(1.03); }
.product-visual::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(12,22,40,0.55) 0%,
    rgba(12,22,40,0.10) 40%,
    rgba(12,22,40,0) 70%
  );
}
.product-visual-caption {
  position: absolute;
  left: 24px; bottom: 20px;
  z-index: 1;
  display: flex; flex-direction: column; gap: 4px;
}
.product-visual-caption .tag {
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
  background: rgba(12,22,40,0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(58,123,213,0.28);
  color: var(--accent);
  font-size: 11px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 50px;
}
@media (max-width: 700px) {
  .product-visual { aspect-ratio: 4 / 3; }
  .product-visual-caption { left: 18px; bottom: 16px; }
}

/* Product card image (overview & home cards) */
.pcard-image {
  position: relative;
  height: 200px;
  margin: -28px -28px 22px;
  overflow: hidden;
  background: var(--navy-deeper);
}
.pcard-image img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform 0.5s ease;
}
.pcard:hover .pcard-image img { transform: scale(1.06); }
.pcard-image-badge {
  position: absolute;
  top: 14px; left: 14px;
  width: 38px; height: 38px;
  background: rgba(12,22,40,0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(58,123,213,0.28);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--accent);
}

/* ---------- CTA BAND (shared dark contrast block) ---------- */
.cta-band {
  background: linear-gradient(135deg, #1B2D4F 0%, #2E4E80 100%);
  border-radius: var(--radius-lg);
  padding: 56px 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
  position: relative; overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
}
.cta-band.with-image {
  background-color: #0B1426;
  background-size: cover;
  background-position: center;
}
.cta-band.with-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.88) 0%, rgba(27, 45, 79, 0.74) 55%, rgba(46, 78, 128, 0.62) 100%);
  pointer-events: none;
  z-index: 0;
}
.cta-band::before {
  content: ''; position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58,123,213,0.35) 0%, transparent 70%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: #FFFFFF; line-height: 1.2;
  font-family: var(--font-head);
}
.cta-band p { font-size: 15px; color: rgba(255, 255, 255, 0.78); margin-top: 8px; max-width: 560px; }
.cta-band .btn-ghost { background: rgba(255, 255, 255, 0.12); color: #FFFFFF; border: 1px solid rgba(255, 255, 255, 0.22); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.20); border-color: rgba(255, 255, 255, 0.40); }
@media (max-width: 700px) {
  .cta-band { padding: 36px 28px; }
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px; margin-top: 32px;
}
.related-card {
  background: var(--white);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius); padding: 18px;
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: inherit;
  transition: var(--trans);
}
.related-card:hover { border-color: var(--border); background: var(--accent-soft); transform: translateY(-2px); }
.related-card i { font-size: 16px; color: var(--accent); flex-shrink: 0; }
.related-card strong { font-size: 13.5px; color: var(--text-main); display: block; }
.related-card span { font-size: 11.5px; color: var(--text-faint); }

@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-sidebar { order: -1; }
}

/* ---------- ANIMATIONS ---------- */
.fade-up {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.in { opacity: 1; transform: none; }
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .section { padding: 72px 0; }
  .section-sm { padding: 48px 0; }
  .cta-band { padding: 48px 40px; }
}
@media (max-width: 900px) {
  .nav-links, .nav-contact { display: none; }
  .hamburger { display: flex; }
  .page-header.with-image {
    padding-top: calc(var(--nav-h) + 70px);
    padding-bottom: 70px;
  }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .section-sm { padding: 36px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 18px; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .section-title { font-size: clamp(1.5rem, 5vw, 1.9rem); }
  .section-header { margin-bottom: 32px; }
  .eyebrow { font-size: 11px; }
  .page-header { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 44px; }
  .page-header.with-image {
    padding-top: calc(var(--nav-h) + 56px);
    padding-bottom: 56px;
  }
  .page-header.with-image::before {
    background: linear-gradient(125deg, rgba(11, 20, 38, 0.92) 0%, rgba(11, 20, 38, 0.70) 100%);
  }
  .page-header h1 { font-size: clamp(1.7rem, 6vw, 2.4rem); }
  .page-header p { font-size: 14.5px; line-height: 1.65; }
  .cta-band {
    padding: 36px 24px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 22px;
  }
  .cta-band h2 { font-size: clamp(1.35rem, 4vw, 1.7rem); }
  .cta-band p { font-size: 14px; }
  .cta-band .btn-lg { width: 100%; justify-content: center; }
  .cta-band > div:last-child {
    display: flex; flex-direction: column;
    gap: 10px; width: 100%;
  }
  .btn-lg { padding: 12px 22px; font-size: 14px; }
  .product-layout { gap: 32px; }
  .product-hero { padding: 28px 22px; }
  .product-hero h1 { font-size: clamp(1.6rem, 5vw, 2.1rem); }
  .tab-btns { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tab-btn { white-space: nowrap; flex-shrink: 0; }
  .data-table th, .data-table td { padding: 10px 8px; font-size: 12.5px; }
  .related-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .related-card { padding: 14px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .grid-4 { grid-template-columns: 1fr; }
  .nav-logo-text .sub { display: none; }
  .nav-logo-text .name { font-size: 15px; }
  .nav-logo-mark img { height: 30px !important; }
  .nav-inner { padding: 10px 0; }
  .nav-right { gap: 8px; }
  .btn-sm { padding: 7px 12px; font-size: 12px; }
  .related-grid { grid-template-columns: 1fr; }
  .product-grades { grid-template-columns: 1fr; }
  .breadcrumb { font-size: 11px; }
  .breadcrumb a, .breadcrumb span { white-space: nowrap; }
}
@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .btn { padding: 10px 16px; font-size: 13px; }
  .btn-lg { padding: 11px 18px; font-size: 13.5px; }
  .nav-right .nav-contact, .nav-right .btn-sm:not([href*="contact"]) { display: none; }
  .nav-right .btn-sm { padding: 6px 11px; font-size: 11.5px; }
  .nav-logo-text .name { font-size: 14px; }
  .nav-logo-mark img { height: 26px !important; }
}

/* ============================================================
   WHATSAPP CHAT WIDGET
   ============================================================ */
.wa-widget {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 1100;
  font-family: var(--font-body);
}
.wa-fab {
  position: relative;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.40), 0 4px 10px rgba(15, 23, 42, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.wa-fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.50), 0 5px 12px rgba(15, 23, 42, 0.18);
}
.wa-fab::before,
.wa-fab::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  pointer-events: none;
  animation: wa-pulse 2.4s ease-out infinite;
}
.wa-fab::after { animation-delay: 1.2s; }
@keyframes wa-pulse {
  0%   { transform: scale(0.95); opacity: 0.65; }
  100% { transform: scale(1.6); opacity: 0; }
}
.wa-fab i { transition: transform 0.25s ease, opacity 0.2s ease; }
.wa-fab .icon-close { position: absolute; opacity: 0; transform: scale(0.5) rotate(-90deg); font-size: 22px; }
.wa-widget.open .wa-fab { background: #128C7E; }
.wa-widget.open .wa-fab::before,
.wa-widget.open .wa-fab::after { animation: none; opacity: 0; }
.wa-widget.open .wa-fab .icon-chat { opacity: 0; transform: scale(0.5) rotate(90deg); }
.wa-widget.open .wa-fab .icon-close { opacity: 1; transform: scale(1) rotate(0); }

.wa-badge {
  position: absolute;
  top: -2px; right: -2px;
  min-width: 20px; height: 20px;
  border-radius: 50%;
  background: #EF4444;
  color: #fff;
  border: 2px solid #fff;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.40);
  z-index: 2;
}
.wa-widget.open .wa-badge,
.wa-widget.seen .wa-badge { display: none; }

.wa-panel {
  position: absolute;
  bottom: 78px; right: 0;
  width: 340px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22), 0 6px 16px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border-dim);
  overflow: hidden;
  transform-origin: bottom right;
  transform: scale(0.85) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.18, 0.89, 0.32, 1.28), opacity 0.22s ease;
}
.wa-widget.open .wa-panel {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.wa-head {
  background: linear-gradient(135deg, #0F8C7B 0%, #128C7E 60%, #25D366 130%);
  padding: 16px 16px;
  color: #fff;
  display: flex; align-items: center; gap: 12px;
}
.wa-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #128C7E;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  flex-shrink: 0;
  letter-spacing: -0.5px;
}
.wa-avatar::after {
  content: '';
  position: absolute;
  bottom: -1px; right: -1px;
  width: 12px; height: 12px;
  background: #4ADE80;
  border: 2px solid #fff;
  border-radius: 50%;
}
.wa-head-info { flex: 1; min-width: 0; }
.wa-head-info .name {
  display: block;
  font-weight: 600; font-size: 14.5px;
  letter-spacing: 0.2px;
  color: #fff;
}
.wa-head-info .sub {
  display: block;
  font-size: 11.5px;
  opacity: 0.88;
  margin-top: 1px;
}
.wa-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 28px; height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.wa-close:hover { background: rgba(255, 255, 255, 0.28); }

.wa-body {
  background-color: #E5DDD5;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(18, 140, 126, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(18, 140, 126, 0.04) 0%, transparent 40%);
  padding: 16px 14px 6px;
  min-height: 140px;
  max-height: 240px;
  overflow-y: auto;
}
.wa-msg {
  background: #fff;
  border-radius: 2px 12px 12px 12px;
  padding: 9px 12px 6px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #1f2937;
  box-shadow: 0 1px 0.5px rgba(15, 23, 42, 0.13);
  position: relative;
  max-width: 88%;
  margin-bottom: 6px;
}
.wa-msg .meta {
  display: block;
  text-align: right;
  font-size: 10px;
  color: #94a3b8;
  margin-top: 2px;
  letter-spacing: 0.2px;
}
.wa-msg .check { color: #4FC3F7; margin-left: 3px; }
.wa-msg strong { color: #128C7E; font-weight: 600; }
.wa-typing {
  display: inline-flex;
  align-items: center; gap: 4px;
  background: #fff;
  border-radius: 2px 12px 12px 12px;
  padding: 10px 12px;
  box-shadow: 0 1px 0.5px rgba(15, 23, 42, 0.13);
}
.wa-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #94a3b8;
  animation: wa-bounce 1.2s infinite ease-in-out;
}
.wa-typing span:nth-child(2) { animation-delay: 0.15s; }
.wa-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes wa-bounce {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.5; }
  40%           { transform: scale(1); opacity: 1; }
}

.wa-quick {
  padding: 6px 14px 12px;
  background: #E5DDD5;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.wa-quick button {
  background: #fff;
  border: 1px solid rgba(18, 140, 126, 0.30);
  border-radius: 50px;
  padding: 6px 12px;
  font-size: 12.5px;
  color: #128C7E;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.wa-quick button:hover {
  background: #128C7E;
  color: #fff;
  border-color: #128C7E;
}

.wa-foot {
  padding: 12px 14px;
  background: #fff;
  border-top: 1px solid var(--border-dim);
}
.wa-cta {
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  width: 100%;
  background: #25D366;
  color: #fff;
  border: none;
  padding: 11px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  font-family: inherit;
}
.wa-cta:hover { background: #128C7E; transform: translateY(-1px); color: #fff; }
.wa-cta i { font-size: 16px; }

@media (max-width: 480px) {
  .wa-widget { right: 14px; bottom: 14px; }
  .wa-panel { width: calc(100vw - 28px); right: -6px; }
  .wa-fab { width: 54px; height: 54px; font-size: 26px; }
}
