/* ==========================================================================
   DIAR INTERNATIONAL TRADING — B2B EXPORT PORTAL STYLESHEET
   ========================================================================== */

:root {
  --primary: #0e2a1e;
  --primary-dark: #071710;
  --primary-light: #184230;
  --accent: #c59b63;
  --accent-hover: #b0854d;
  --accent-light: #fdf8f0;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  
  --bg-main: #f9f9f7;
  --bg-card: #ffffff;
  --bg-subtle: #f0f2ee;
  
  --text-main: #141b17;
  --text-muted: #57635c;
  --text-light: #8a968f;
  --border-color: #e2e6e1;
  --border-light: #eef1ed;
  
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-sans);
  
  --shadow-sm: 0 1px 3px rgba(14, 42, 30, 0.05);
  --shadow-md: 0 4px 12px rgba(14, 42, 30, 0.08);
  --shadow-lg: 0 10px 30px rgba(14, 42, 30, 0.12);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

/* --------------------------------------------------------------------------
   TYPOGRAPHY & UTILITIES
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 12px;
}

.text-center {
  text-align: center;
}

.section-title-wrap {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-title-wrap.text-center {
  margin-left: auto;
  margin-right: auto;
}

.section-title-wrap h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-title-wrap p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 15px;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #ffffff;
  border-color: var(--whatsapp);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--border-color);
}

.btn-outline:hover {
  background-color: #ffffff;
  border-color: var(--primary);
}

.btn-text-link {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  padding: 8px 0;
  margin-top: 12px;
}

.btn-text-link:hover {
  text-decoration: underline;
}

.btn-icon, .icon-inline {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   HEADER NAVIGATION (SINGLE-LINE DESKTOP)
   -------------------------------------------------------------------------- */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  padding: 12px 0;
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo {
  border-radius: 4px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary);
  line-height: 1;
}

.brand-tagline {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-top: 3px;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-item {
  position: relative;
  white-space: nowrap;
}

.nav-link-item {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 2px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.nav-link-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav-link-item:hover {
  color: var(--accent);
}

.nav-link-item:hover::after,
.nav-item:hover .nav-link-item::after {
  width: 100%;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.mobile-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  transition: all 0.25s ease;
  z-index: 1001;
}

.mobile-toggle:hover {
  background: #f1f4f2;
  border-color: var(--primary);
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   MOBILE NAVIGATION DRAWER & CONTROLS
   -------------------------------------------------------------------------- */
.mobile-drawer-compact {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--accent);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.16);
  padding: 20px 24px 28px;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  z-index: 1000;
  animation: mobileDrawerSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-compact[hidden] {
  display: none !important;
}

@keyframes mobileDrawerSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-lang-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.mobile-lang-row span {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.mobile-lang-pills {
  display: flex;
  gap: 6px;
}

.m-lang-btn {
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 700;
  background: #f1f4f2;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.m-lang-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.m-lang-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 20px;
}

.m-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.m-nav-link:hover,
.m-nav-link:active {
  background: #f1f6f3;
  color: var(--primary);
  padding-left: 18px;
}

html[dir="rtl"] .m-nav-link:hover,
html[dir="rtl"] .m-nav-link:active {
  padding-left: 14px;
  padding-right: 18px;
}

.m-nav-btn {
  background: none;
  border: none;
  width: 100%;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

html[dir="rtl"] .m-nav-btn {
  text-align: right;
}

.mobile-cta-box {
  padding-top: 4px;
}

.chevron-icon {
  width: 9px;
  height: 9px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.nav-item.has-subnav:hover .chevron-icon,
.nav-item.has-subnav.is-open .chevron-icon {
  transform: rotate(180deg);
  color: var(--accent);
}

/* Submenu container (ONLY for items with subcategories) */
.subnav-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(14, 42, 30, 0.14), 0 3px 10px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.2s ease;
  z-index: 1000;
  overflow: hidden;
}

/* Hover bridge */
.subnav-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

/* Hover trigger ONLY on items with subcategories */
.nav-item.has-subnav:hover .subnav-menu,
.nav-item.has-subnav.is-open .subnav-menu,
.subnav-menu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Optimal tailored sizes for each subcategory menu */
.subnav-products {
  width: 530px;
}

.subnav-certs {
  width: 440px;
}

.subnav-downloads {
  width: 480px;
}

.subnav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border-color);
}

.subnav-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--accent);
  text-transform: uppercase;
}

.subnav-badge {
  font-size: 10px;
  font-weight: 700;
  background: rgba(14, 42, 30, 0.08);
  color: var(--primary);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.subnav-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
}

.subnav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, transform 0.15s ease;
  text-decoration: none;
}

.subnav-item:hover {
  background: var(--bg-main);
  transform: translateX(2px);
}

.subnav-item:hover strong {
  color: var(--accent);
}

.subnav-icon {
  font-size: 18px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(14, 42, 30, 0.04);
  border-radius: var(--radius-sm);
}

.subnav-text {
  flex: 1;
}

.subnav-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.subnav-text span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 2px;
}

.subnav-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: var(--bg-main);
  border-top: 1px solid var(--border-color);
  font-size: 12px;
  font-weight: 700;
}

.subnav-footer-link {
  color: var(--primary);
  transition: color 0.15s;
}

.subnav-footer-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   LANGUAGE SELECTOR & QUICK SWITCHER
   -------------------------------------------------------------------------- */
.quick-lang-pills {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 2px;
  gap: 2px;
}

.ql-btn {
  background: transparent;
  border: none;
  color: #c9d6cf;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s ease;
}

.ql-btn:hover {
  color: #ffffff;
}

.ql-btn.active {
  background: var(--accent);
  color: var(--primary-dark);
}

.lang-selector {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 7px 11px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn:hover {
  border-color: var(--primary);
  background: var(--bg-main);
}

.lang-globe-icon {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.lang-chevron-icon {
  width: 8px;
  height: 8px;
  color: var(--text-muted);
}

.lang-dropdown-box {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  min-width: 170px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lang-dropdown-box[hidden] {
  display: none !important;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: background 0.15s ease;
}

.lang-option:hover {
  background: var(--bg-main);
}

.lang-option.active {
  background: rgba(197, 155, 99, 0.12);
  color: var(--primary);
}

.lang-flag {
  font-size: 16px;
}

.lang-name {
  flex: 1;
}

.lang-check {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0;
}

.lang-option.active .lang-check {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   TRACK RFQ MODAL & FEATURE
   -------------------------------------------------------------------------- */
.track-trigger-btn {
  gap: 6px;
}

.btn-icon-sm {
  width: 14px;
  height: 14px;
}

.rfq-card-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rfq-track-link-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.rfq-track-link-btn:hover {
  color: var(--accent-hover);
}

.track-dialog {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 580px;
  width: calc(100vw - 32px);
  margin: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  z-index: 2000;
}

.track-dialog::backdrop {
  background: rgba(7, 23, 16, 0.7);
  backdrop-filter: blur(4px);
}

.track-dialog-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.track-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px 28px 18px;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border-color);
}

.track-dialog-header h3 {
  font-size: 20px;
  margin-top: 2px;
}

.close-track-btn {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.close-track-btn:hover {
  color: var(--primary);
}

.track-dialog-body {
  padding: 24px 28px;
}

.track-dialog-intro {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}

.track-input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.track-input-row input {
  flex: 1;
  padding: 11px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.track-hints {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.btn-sample-code {
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

/* Track Result Box */
.track-result-box {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 14px;
  animation: fadeIn 0.3s ease;
}

.track-result-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.track-rfq-ref {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
}

.track-status-pill {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.status-review {
  background: rgba(197, 155, 99, 0.15);
  color: #9b6d36;
}

.status-active {
  background: rgba(37, 211, 102, 0.15);
  color: #0c7a36;
}

/* Progress Stepper */
.track-stepper {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  position: relative;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.step-bubble {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.step-done {
  background: var(--whatsapp);
  color: #ffffff;
}

.step-active {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(197, 155, 99, 0.2);
}

.step-pending {
  background: #d8dedb;
  color: #7b8881;
}

.step-info strong {
  display: block;
  font-size: 13px;
  color: var(--primary);
}

.step-info span {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
}

.track-details-table {
  width: 100%;
  font-size: 12px;
  border-collapse: collapse;
  margin-bottom: 18px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.track-details-table td {
  padding: 7px 10px;
  border-bottom: 1px solid var(--border-light);
}

.track-details-table tr:last-child td {
  border-bottom: none;
}

.track-actions {
  display: flex;
  gap: 10px;
}

.track-actions .btn {
  flex: 1;
}

/* --------------------------------------------------------------------------
   RTL SPECIFIC STYLING (ARABIC)
   -------------------------------------------------------------------------- */
html[dir="rtl"] {
  direction: rtl;
}

html[dir="rtl"] body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, Arial, sans-serif;
  text-align: right;
}

html[dir="rtl"] .hero-grid,
html[dir="rtl"] .pacts-grid,
html[dir="rtl"] .rfq-wrapper,
html[dir="rtl"] .about-grid,
html[dir="rtl"] .footer-grid {
  direction: rtl;
}

html[dir="rtl"] .btn-arrow {
  transform: scaleX(-1);
}

html[dir="rtl"] .btn:hover .btn-arrow {
  transform: scaleX(-1) translateX(4px);
}

html[dir="rtl"] .search-icon {
  left: auto;
  right: 14px;
}

html[dir="rtl"] .search-input-wrap input {
  padding: 12px 42px 12px 16px;
}

html[dir="rtl"] .clear-search-btn {
  right: auto;
  left: 12px;
}

html[dir="rtl"] .floating-wa {
  right: auto;
  left: 24px;
}

html[dir="rtl"] .lang-dropdown-box {
  right: auto;
  left: 0;
}

html[dir="rtl"] .subnav-item:hover {
  transform: translateX(-2px);
}

html[dir="rtl"] .track-dialog-header {
  direction: rtl;
}

html[dir="rtl"] .lang-option {
  text-align: right;
}

/* --------------------------------------------------------------------------
   CINEMATIC FULLSCREEN HERO COVER
   -------------------------------------------------------------------------- */
.cinematic-cover-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 96px 20px 60px;
  text-align: center;
  color: #ffffff;
  background: #04130a;
}

.cover-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.cover-backdrop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.02);
  animation: coverKenBurns 32s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes coverKenBurns {
  0% { transform: scale(1.02) translate(0, 0); }
  100% { transform: scale(1.09) translate(-1%, -1.5%); }
}

.cover-overlay-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 28%, rgba(14, 42, 26, 0.42) 0%, rgba(5, 18, 11, 0.76) 72%, rgba(2, 10, 6, 0.95) 100%),
    linear-gradient(180deg, rgba(3, 13, 7, 0.6) 0%, rgba(3, 13, 7, 0.25) 30%, rgba(3, 13, 7, 0.7) 75%, rgba(2, 10, 6, 0.98) 100%);
}

.cover-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cover-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 980px;
  margin: auto;
  padding: 10px 0 20px;
}

.cover-crest {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  animation: crestFloat 5s ease-in-out infinite;
}

.cover-crest-img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.75));
}

@keyframes crestFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.cover-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fce8a9;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
  margin-bottom: 4px;
}

.cover-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.cover-title {
  font-size: clamp(38px, 5.8vw, 68px);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 6px 0 2px;
  color: #ffffff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.95);
}

.cover-brand-en {
  display: inline;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #fff5c0 0%, #daa520 45%, #c59b63 75%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: none;
}

.cover-brand-ar {
  display: none;
}

.cover-tagline {
  font-size: clamp(15.5px, 1.7vw, 19.5px);
  color: #edf2ee;
  max-width: 840px;
  line-height: 1.6;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
  margin: 4px 0 10px;
}

.cover-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 28px;
  margin: 8px 0 22px;
  padding: 0;
  background: transparent;
  border: none;
}

.cover-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
  transition: color 0.2s ease, transform 0.2s ease;
}

.cover-trust-item:hover {
  background: transparent;
  border: none;
  color: #fce8a9;
  transform: translateY(-1px);
}

.cover-trust-item:not(:last-child)::after {
  content: '•';
  margin-left: 18px;
  color: rgba(218, 165, 32, 0.7);
  font-weight: 400;
}

html[dir="rtl"] .cover-trust-item:not(:last-child)::after {
  margin-left: 0;
  margin-right: 18px;
}

@media (max-width: 768px) {
  .cover-trust-item:not(:last-child)::after {
    display: none;
  }
}

.cover-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
}

.btn-xl {
  padding: 16px 34px;
  font-size: 15.5px;
  font-weight: 700;
  border-radius: var(--radius-md);
  letter-spacing: 0.02em;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.btn-glass-wa {
  background: rgba(37, 211, 102, 0.22);
  color: #ffffff;
  backdrop-filter: blur(14px);
  border: 1.5px solid rgba(37, 211, 102, 0.55);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.25);
  transition: all 0.25s ease;
}

.btn-glass-wa:hover {
  background: #25d366;
  border-color: #25d366;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.cover-scroll-indicator {
  position: static;
  margin-top: 32px;
  z-index: 4;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.25s ease;
  cursor: pointer;
}

.cover-scroll-indicator:hover {
  color: var(--accent);
  transform: translateY(3px);
}

.scroll-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 7px;
  background: var(--accent);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollWheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 14px); opacity: 0; }
}

.scroll-chevron {
  width: 16px;
  height: 16px;
  animation: bounceChevron 2s infinite;
}

@keyframes bounceChevron {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(4px); }
  60% { transform: translateY(2px); }
}

/* --------------------------------------------------------------------------
   PART 1: OVERVIEW & COMMERCIAL DATA REVEAL
   -------------------------------------------------------------------------- */
.overview-section {
  padding: 88px 0 76px;
  background: #fdfdfc;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.overview-header {
  max-width: 860px;
  margin: 0 auto 48px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.flag-icon {
  font-size: 14px;
}

.overview-headline {
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary);
  line-height: 1.2;
  margin: 0 0 16px;
}

.overview-lead {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.overview-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.overview-metric-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.overview-metric-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(18, 53, 36, 0.1);
  border-color: var(--accent);
}

.overview-metric-card.featured-gold {
  border-top: 4px solid var(--accent);
  background: linear-gradient(180deg, rgba(218, 165, 32, 0.05) 0%, #ffffff 100%);
}

.om-icon {
  font-size: 32px;
  line-height: 1;
}

.om-data {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.om-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.om-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
}

.om-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.overview-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  background: #f3f6f4;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  flex-wrap: wrap;
  gap: 16px;
}

.oab-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.oab-right {
  display: flex;
  align-items: center;
}

.oab-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #128c7e;
  transition: color 0.2s ease;
}

.oab-wa-link:hover {
  color: #075e54;
  text-decoration: underline;
}

.wa-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 10px #25d366;
}

/* Cover MQ consolidated in responsive section */

html[dir="rtl"] .cover-title {
  direction: rtl;
}

html[dir="rtl"] .overview-metric-card,
html[dir="rtl"] .om-data {
  text-align: right;
}

html[dir="rtl"] .om-title,
html[dir="rtl"] .om-desc {
  text-align: right;
}

html[dir="rtl"] .oab-wa-link {
  flex-direction: row-reverse;
}

/* --------------------------------------------------------------------------
   CERTIFICATIONS & TRUST TICKER
   -------------------------------------------------------------------------- */
.trust-ticker-section {
  padding: 64px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.ticker-header {
  max-width: 760px;
  margin-bottom: 40px;
}

.ticker-header h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 12px;
}

.ticker-header p {
  color: var(--text-muted);
  font-size: 16px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.cert-card {
  padding: 24px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: var(--transition);
}

.cert-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.cert-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.cert-info h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.cert-info p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.cert-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(14, 42, 30, 0.08);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   PRODUCTS SECTION & CATALOG
   -------------------------------------------------------------------------- */
.products-section {
  padding: 80px 0;
}

.catalog-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.search-box-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.search-input-wrap {
  position: relative;
  flex: 1;
  max-width: 540px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-light);
}

.search-input-wrap input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  background: #ffffff;
  transition: var(--transition);
}

.search-input-wrap input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 42, 30, 0.1);
}

.clear-search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 18px;
  color: var(--text-muted);
  cursor: pointer;
}

.results-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

/* PRODUCT CARD GRID */
.product-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.product-card-visual {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: var(--primary-dark);
}

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

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

.product-card-family-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(7, 23, 16, 0.85);
  backdrop-filter: blur(4px);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.product-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.product-title-row h3 {
  font-size: 20px;
}

.product-grade-badge {
  background: var(--bg-subtle);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.product-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

/* Specs Table Inside Card */
.spec-mini-table {
  width: 100%;
  font-size: 12px;
  border-collapse: collapse;
  margin-bottom: 16px;
  background: var(--bg-main);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.spec-mini-table td {
  padding: 6px 10px;
  border-bottom: 1px solid var(--border-light);
}

.spec-mini-table tr:last-child td {
  border-bottom: none;
}

.spec-key {
  font-weight: 600;
  color: var(--text-muted);
  width: 45%;
}

.spec-val {
  font-weight: 700;
  color: var(--primary);
}

.product-packaging-info {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  gap: 6px;
}

.product-packaging-info strong {
  color: var(--primary);
  flex-shrink: 0;
}

/* Card Actions */
.product-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  width: 100%;
}

.product-card-actions .btn-block {
  width: 100%;
}

.card-sub-actions {
  display: flex;
  gap: 8px;
  width: 100%;
}

.card-sub-actions .btn {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  font-size: 12.5px;
  white-space: nowrap;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   DUTY-FREE TRADE PACTS SECTION
   -------------------------------------------------------------------------- */
.trade-pacts-section {
  padding: 80px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.pacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: flex-start;
}

.pacts-intro h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  margin-bottom: 16px;
}

.pacts-intro p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.ports-box {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

.ports-box h4 {
  font-size: 15px;
  margin-bottom: 14px;
  color: var(--primary);
}

.ports-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.ports-list strong {
  color: var(--primary);
}

.pacts-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pact-item-card {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}

.pact-item-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.pact-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.pact-flag {
  font-size: 32px;
}

.pact-header h3 {
  font-size: 18px;
}

.pact-sub {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
}

.duty-zero {
  margin-left: auto;
  background: rgba(37, 211, 102, 0.15);
  color: #0c7a36;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pact-item-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   CAPACITY SECTION
   -------------------------------------------------------------------------- */
.capacity-section {
  padding: 80px 0;
  background: var(--primary);
  color: #ffffff;
}

.capacity-section .section-title-wrap h2 {
  color: #ffffff;
}

.capacity-section .section-title-wrap p {
  color: #a4b8af;
}

.capacity-section .eyebrow {
  color: var(--accent);
}

.capacity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.cap-metric-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 34px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: var(--transition);
}

.cap-metric-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.cap-metric-value {
  font-size: 38px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 8px;
}

.cap-metric-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

/* --------------------------------------------------------------------------
   DOWNLOADS CENTER SECTION
   -------------------------------------------------------------------------- */
.downloads-section {
  padding: 80px 0;
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

.download-doc-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
}

.download-doc-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.download-doc-card.featured-doc {
  grid-column: 1 / -1;
  background: linear-gradient(90deg, #ffffff 0%, var(--accent-light) 100%);
  border-color: var(--accent);
}

.doc-icon-badge {
  background: var(--primary);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  letter-spacing: 1px;
}

.doc-details {
  flex: 1;
}

.doc-details h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.doc-details p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.doc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.doc-meta span {
  font-size: 11.5px;
  color: var(--text-light);
  font-weight: 600;
}

.doc-download-btn {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.doc-download-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* --------------------------------------------------------------------------
   REQUEST FOR QUOTATION (RFQ) SECTION
   -------------------------------------------------------------------------- */
.rfq-section {
  padding: 80px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.rfq-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: flex-start;
}

.rfq-intro-col h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  margin-bottom: 16px;
}

.rfq-intro-col p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.commercial-guarantees {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 36px;
}

.guarantee-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.guarantee-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.guarantee-item strong {
  display: block;
  font-size: 14.5px;
  color: var(--primary);
}

.guarantee-item span {
  font-size: 13px;
  color: var(--text-muted);
}

.sales-director-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.sales-avatar {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sales-meta strong {
  display: block;
  font-size: 15px;
  color: var(--primary);
}

.sales-meta span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.sales-contact-links {
  display: flex;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
}

.sd-link {
  color: var(--primary);
}

.sd-link:hover {
  text-decoration: underline;
}

/* RFQ Form Card */
.rfq-card {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.rfq-card-header {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
}

.rfq-card-header h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.rfq-step-indicator {
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
}

.form-group {
  margin-bottom: 18px;
}

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

.form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.req {
  color: #d9383a;
}

.rfq-form input[type="text"],
.rfq-form input[type="email"],
.rfq-form input[type="tel"],
.rfq-form select,
.rfq-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #ffffff;
  font-size: 14px;
  color: var(--text-main);
  transition: var(--transition);
}

.rfq-form input:focus,
.rfq-form select:focus,
.rfq-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 42, 30, 0.1);
}

/* Checkbox Pills Grid */
.checkbox-pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}

.check-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.check-pill input {
  accent-color: var(--primary);
}

.check-pill:has(input:checked) {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(14, 42, 30, 0.05);
}

.sample-checkbox-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  color: var(--text-muted);
  cursor: pointer;
}

.sample-checkbox-label input {
  margin-top: 3px;
  accent-color: var(--primary);
}

.rfq-actions-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.rfq-notice {
  font-size: 11.5px;
  color: var(--text-light);
  margin-top: 14px;
  text-align: center;
}

/* Success Panel */
.rfq-success-panel {
  text-align: center;
  padding: 24px 10px;
}

.success-icon-badge {
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  color: #ffffff;
  font-size: 26px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.rfq-success-panel h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.rfq-success-panel p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.inquiry-summary-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 13px;
  text-align: left;
  white-space: pre-line;
  margin-bottom: 24px;
  max-height: 180px;
  overflow-y: auto;
  font-family: monospace;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-section {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-content h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  margin-bottom: 18px;
}

.about-content p {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.about-key-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.ak-point strong {
  display: block;
  font-size: 14.5px;
  color: var(--primary);
}

.ak-point span {
  font-size: 13.5px;
  color: var(--text-muted);
}

.corp-fact-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.corp-fact-box h4 {
  font-size: 17px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.corp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.corp-table td {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}

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

.corp-table td:first-child {
  color: var(--text-muted);
  width: 40%;
}

.corp-table td:last-child {
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.main-footer {
  background: var(--primary-dark);
  color: #e2e8e4;
  padding-top: 72px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}

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

.fb-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
  display: block;
}

.fb-sub {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: var(--accent);
  display: block;
}

.fb-desc {
  font-size: 13px;
  color: #9cb1a5;
  line-height: 1.6;
  margin-bottom: 18px;
}

.footer-certs {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
}

.footer-nav-col h4 {
  color: #ffffff;
  font-size: 14.5px;
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-nav-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-col a {
  font-size: 13px;
  color: #a4b8af;
  transition: color 0.2s;
}

.footer-nav-col a:hover {
  color: var(--accent);
}

.footer-contact-block {
  font-size: 13px;
  color: #a4b8af;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-block strong {
  color: #ffffff;
}

.footer-contact-block a {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  font-size: 12px;
  color: #7b9487;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   FLOATING WHATSAPP BUTTON
   -------------------------------------------------------------------------- */
.floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.floating-wa-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp);
  color: #ffffff;
  padding: 10px 18px 10px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-wa-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  background: var(--whatsapp-dark);
}

.wa-icon {
  width: 28px;
  height: 28px;
}

.floating-wa-label {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.fw-status {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  opacity: 0.9;
  font-weight: 700;
}

.fw-name {
  font-size: 12.5px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   TOAST NOTIFICATION
   -------------------------------------------------------------------------- */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  animation: slide-up 0.3s ease;
}

@keyframes slide-up {
  from { opacity: 0; transform: translate(-50%, 15px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* --------------------------------------------------------------------------
   COMPREHENSIVE RESPONSIVE DESIGN (DESKTOP & MOBILE COMPATIBILITY)
   -------------------------------------------------------------------------- */

/* TABLETS & LAPTOPS (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-grid,
  .pacts-grid,
  .rfq-wrapper,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

  .downloads-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .capacity-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .visual-card {
    max-width: 600px;
  }
}

/* MOBILE LANDSCAPE & TABLETS (max-width: 991px) */
@media (max-width: 991px) {
  .desktop-nav {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
  }

  /* Hide the large CTA button and track button from header ribbon on mobile and tablets */
  .header-cta-group .header-rfq-cta,
  .header-cta-group .track-trigger-btn,
  .header-actions .header-rfq-cta,
  .header-actions .track-trigger-btn {
    display: none !important;
  }

  .header-inner {
    padding: 10px 0;
  }

  .cinematic-cover-section {
    min-height: 100svh;
    padding: calc(76px + env(safe-area-inset-top, 0px)) 16px 50px;
  }

  .cover-title {
    font-size: clamp(28px, 6.5vw, 52px);
    line-height: 1.15;
    word-break: break-word;
  }

  .cover-tagline {
    font-size: clamp(14px, 3.5vw, 17px);
    margin: 4px 0 12px;
  }

  .cover-trust-bar {
    gap: 8px 16px;
    margin: 8px 0 18px;
  }

  .cover-trust-item {
    font-size: 12.5px;
  }

  .cover-actions {
    flex-direction: column;
    width: 100%;
    max-width: 380px;
    margin: 8px auto 0;
  }

  .cover-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .overview-metrics-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .overview-actions-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 14px;
    padding: 18px;
  }

  .oab-left,
  .oab-right {
    flex-direction: column;
    width: 100%;
    justify-content: center;
    gap: 10px;
  }

  .oab-left .btn {
    width: 100%;
  }

  .product-cards-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .downloads-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rfq-card {
    padding: 24px 20px;
  }

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

  .spec-mode-switch {
    grid-template-columns: 1fr;
  }

  .checkbox-pill-grid {
    grid-template-columns: 1fr;
  }

  .cs-product-tabs {
    grid-template-columns: 1fr;
  }

  .cs-param-grid {
    grid-template-columns: 1fr;
  }

  .custom-specs-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 18px;
  }

  .cs-banner-actions {
    width: 100%;
  }

  .cs-banner-actions .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .floating-wa-label {
    display: none !important;
  }

  .floating-wa-btn {
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  }

  .floating-wa {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: 16px;
  }

  html[dir="rtl"] .floating-wa {
    right: auto;
    left: 16px;
  }
}

/* SMARTPHONES (max-width: 768px) */
@media (max-width: 768px) {
  /* Prevent header action wrapping on phones - hide RFQ CTA and Track RFQ from top bar */
  .header-cta-group .header-rfq-cta,
  .header-cta-group .track-trigger-btn,
  .header-actions .header-rfq-cta,
  .header-actions .track-trigger-btn {
    display: none !important;
  }

  .header-inner {
    height: 60px !important;
    padding: 0 12px !important;
    gap: 8px !important;
  }

  .brand-link {
    gap: 8px !important;
  }

  .brand-logo {
    width: 32px !important;
    height: 32px !important;
  }

  .brand-name {
    font-size: 17px !important;
    letter-spacing: 1px !important;
  }

  .brand-tagline {
    font-size: 8px !important;
    letter-spacing: 0.5px !important;
  }

  .header-cta-group {
    gap: 8px !important;
  }

  .lang-btn {
    padding: 5px 8px !important;
    font-size: 11.5px !important;
    gap: 4px !important;
  }

  .mobile-toggle {
    width: 38px !important;
    height: 38px !important;
    padding: 6px !important;
  }

  /* Product Filter Bar Touch Horizontal Scroll */
  .product-filter-bar {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 8px;
    margin-bottom: 24px;
    scrollbar-width: none;
  }
  .product-filter-bar::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 12.5px;
    white-space: nowrap;
  }

  /* Capacity grid single column on mobile */
  .capacity-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .cap-metric-card {
    padding: 18px 16px;
  }
  .cap-metric-value {
    font-size: 28px;
  }

  /* TDS and Custom Spec Dialogs mobile ergonomics */
  .tds-dialog,
  .custom-spec-dialog,
  .track-dialog {
    width: calc(100vw - 20px) !important;
    max-height: 92vh !important;
    margin: 4vh auto !important;
    border-radius: var(--radius-md) !important;
  }

  .tds-header,
  .custom-spec-header,
  .track-dialog-header {
    padding: 16px 18px !important;
  }
  .tds-header h3,
  .custom-spec-header h3,
  .track-dialog-header h3 {
    font-size: 17px !important;
  }

  .tds-body,
  .custom-spec-body,
  .track-dialog-body {
    padding: 16px 18px !important;
    gap: 14px !important;
  }

  .tds-specs-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .tds-spec-item {
    padding: 8px 10px !important;
  }
  .tds-spec-key {
    font-size: 10px !important;
  }
  .tds-spec-val {
    font-size: 13.5px !important;
  }

  .tds-logistics-box {
    grid-template-columns: 1fr !important;
    padding: 12px 14px !important;
    gap: 10px !important;
  }

  .tds-footer {
    flex-direction: column-reverse !important;
    padding: 14px 16px !important;
    gap: 10px !important;
  }
  .tds-footer-left,
  .tds-footer-right {
    width: 100% !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  .tds-footer .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Downloads card inline actions */
  .doc-actions-inline {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  .doc-actions-inline .btn {
    width: 100%;
    justify-content: center;
  }

  /* Section padding on mobile */
  .overview-section,
  .trust-ticker-section,
  .products-section,
  .trade-pacts-section,
  .capacity-section,
  .downloads-section,
  .rfq-section,
  .about-section {
    padding: 48px 0;
  }

  .section-title-wrap h2,
  .overview-headline,
  .ticker-header h2,
  .rfq-intro-col h2,
  .about-header h2 {
    font-size: clamp(22px, 5.8vw, 30px);
  }

  .rfq-card {
    padding: 20px 16px;
  }
}

/* EXTRA SMALL MOBILES (max-width: 480px) */
@media (max-width: 480px) {
  /* Pure luxury compact brand header on narrow screens */
  .brand-tagline {
    display: none !important;
  }

  .header-inner {
    height: 56px !important;
    padding: 0 10px !important;
  }

  .cover-title {
    font-size: clamp(24px, 7.8vw, 34px);
  }
  .cover-crest-img {
    width: 58px;
    height: 58px;
  }
  .btn-xl {
    padding: 14px 20px;
    font-size: 14.5px;
  }
  .tds-specs-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .track-search-row {
    flex-direction: column;
  }
  .track-search-row .btn {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   GOLD BUTTON & BADGES
   -------------------------------------------------------------------------- */
.btn-gold {
  background: linear-gradient(135deg, #d4af37 0%, #b89324 100%);
  color: #071710;
  font-weight: 700;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.25);
  transition: var(--transition);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #e5bf45 0%, #c49d28 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35);
  color: #071710;
}

.btn-outline-gold {
  background: transparent;
  color: #8c6a08;
  border: 1px solid rgba(212, 175, 55, 0.6);
  font-weight: 600;
}

.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.12);
  color: #6d5203;
  border-color: #d4af37;
}

/* --------------------------------------------------------------------------
   MARITIME CORRIDOR TAGS
   -------------------------------------------------------------------------- */
.corridor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.corridor-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(14, 42, 30, 0.06);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   CUSTOM SPECIFICATIONS BANNER
   -------------------------------------------------------------------------- */
.custom-specs-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, #071a12 0%, #0d2b1f 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  margin-bottom: 28px;
  box-shadow: 0 8px 24px rgba(7, 23, 16, 0.15);
}

.cs-banner-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(212, 175, 55, 0.15);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.cs-banner-content h3 {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 6px;
}

.cs-banner-content p {
  font-size: 13.5px;
  color: #b5c7bd;
  line-height: 1.5;
  margin: 0;
  max-width: 680px;
}

.cs-banner-actions {
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   CUSTOM SPECIFICATION CONFIGURATOR DIALOG
   -------------------------------------------------------------------------- */
.custom-spec-dialog {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 680px;
  width: calc(100vw - 32px);
  margin: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  z-index: 2000;
}

.custom-spec-dialog::backdrop {
  background: rgba(7, 23, 16, 0.75);
  backdrop-filter: blur(5px);
}

.custom-spec-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.custom-spec-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 26px 16px;
  background: #f8faf8;
  border-bottom: 1px solid var(--border-color);
}

.custom-spec-header h3 {
  font-size: 20px;
  margin-top: 2px;
  color: var(--primary);
}

.close-spec-btn {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.close-spec-btn:hover {
  color: var(--primary);
}

.custom-spec-body {
  padding: 22px 26px;
  overflow-y: auto;
}

.custom-spec-intro {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}

/* Tabs */
.cs-product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: #edf2ee;
  padding: 5px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.cs-tab-btn {
  flex: 1 1 140px;
  background: transparent;
  border: none;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.cs-tab-btn:hover {
  color: var(--primary);
}

.cs-tab-btn.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Param grid */
.cs-param-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.cs-param-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cs-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.cs-select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #ffffff;
  font-size: 13px;
  color: var(--text-main);
}

.cs-pill-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cs-opt-pill {
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 600;
  background: #f4f6f4;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.cs-opt-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}


/* Custom Input for "Other" Specification */
.cs-opt-pill.cs-opt-other {
  border-style: dashed;
  border-color: rgba(212, 175, 55, 0.6);
  color: #8c6a08;
}

.cs-opt-pill.cs-opt-other.active {
  border-style: solid;
  border-color: var(--accent);
  background: rgba(212, 175, 55, 0.16);
  color: #071710;
  font-weight: 700;
}

.cs-other-input {
  width: 100%;
  margin-top: 8px;
  padding: 8px 12px;
  font-size: 13px;
  border: 1.5px solid var(--accent);
  background: #fdfaf3;
  border-radius: var(--radius-sm);
  color: var(--primary-dark);
  font-weight: 600;
  transition: all 0.2s ease;
  animation: csFadeIn 0.25s ease;
}

.cs-other-input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

.cs-other-input[hidden] {
  display: none !important;
}

@keyframes csFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cs-opt-pill.active {
  background: rgba(14, 42, 30, 0.08);
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 700;
}

.cs-notes-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.cs-notes-row textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-family: inherit;
  resize: vertical;
}

/* Live Preview */
.cs-preview-box {
  background: #0d2b1f;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
}

.cs-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.cs-preview-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent);
}

.cs-preview-badge {
  font-size: 10px;
  font-weight: 700;
  background: rgba(212, 175, 55, 0.18);
  color: var(--accent);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.cs-preview-text {
  font-size: 13px;
  color: #ffffff;
  font-family: 'SF Mono', Menlo, Consolas, Monaco, monospace;
  line-height: 1.5;
}

.cs-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   RFQ SPECIFICATION MODE SWITCH & CUSTOM BOX
   -------------------------------------------------------------------------- */
.spec-mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.spec-mode-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #ffffff;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.spec-mode-pill input {
  display: none;
}

.spec-mode-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.spec-mode-pill.active {
  border-color: var(--accent);
  background: rgba(212, 175, 55, 0.08);
  color: #071710;
  box-shadow: 0 0 0 1px var(--accent);
}

.rfq-cs-dropdown-section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(212, 175, 55, 0.4);
}

.rfq-cs-dropdown-header {
  margin-bottom: 8px;
}

.rfq-cs-sub-panel[hidden] {
  display: none !important;
}

.rfq-cs-sub-panel {
  animation: csFadeIn 0.2s ease;
}

.rfq-custom-spec-box {
  background: #fbfdfc;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-top: 10px;
  margin-bottom: 12px;
}

.rfq-cs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cs-badge {
  font-size: 11px;
  font-weight: 700;
  color: #8c6a08;
  background: rgba(212, 175, 55, 0.15);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.btn-text-gold {
  background: none;
  border: none;
  color: #b89324;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.btn-text-gold:hover {
  color: #d4af37;
}

/* RTL Support */
html[dir="rtl"] .custom-spec-header,
html[dir="rtl"] .rfq-cs-header,
html[dir="rtl"] .cs-preview-header,
html[dir="rtl"] .tds-header,
html[dir="rtl"] .tds-footer {
  flex-direction: row-reverse;
}

html[dir="rtl"] .cs-preview-text {
  text-align: right;
  direction: ltr;
}

/* --------------------------------------------------------------------------
   TDS TECHNICAL SUMMARY DIALOG MODAL (IMPORTER BENCHMARKS)
   -------------------------------------------------------------------------- */
.tds-dialog {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 760px;
  width: calc(100vw - 32px);
  margin: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
  z-index: 2100;
}

.tds-dialog::backdrop {
  background: rgba(5, 18, 11, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tds-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.tds-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 28px 18px;
  background: linear-gradient(135deg, #092013 0%, #0d2d1b 100%);
  color: #ffffff;
  border-bottom: 2px solid var(--accent);
}

.tds-header .eyebrow {
  color: #fce8a9;
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}

.tds-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.25;
}

.close-tds-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.close-tds-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: rotate(90deg);
}

.tds-body {
  padding: 22px 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tds-desc-box {
  background: #f7f9f7;
  border-left: 4px solid var(--primary);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-main);
}

html[dir="rtl"] .tds-desc-box {
  border-left: none;
  border-right: 4px solid var(--primary);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.tds-section-title {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.tds-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.tds-spec-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.tds-spec-key {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}

.tds-spec-val {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
}

.tds-logistics-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.tds-log-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tds-log-lbl {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.tds-log-val {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
}

.tds-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tds-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(197, 155, 99, 0.1);
  border: 1px solid rgba(197, 155, 99, 0.35);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}

.tds-rfq-notice-box {
  background: #fdfaf3;
  border: 1px solid rgba(218, 165, 32, 0.45);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.tds-rfq-notice-icon {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1;
}

.tds-rfq-notice-text {
  font-size: 13px;
  line-height: 1.5;
  color: #5c4314;
}

.tds-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: #f8faf8;
  border-top: 1px solid var(--border-color);
  gap: 12px;
  flex-wrap: wrap;
}

.tds-footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tds-footer-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

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

/* --------------------------------------------------------------------------
   SMOOTH SCROLL REVEAL ANIMATIONS (PART-BY-PART DATA UNVEIL)
   -------------------------------------------------------------------------- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .cover-backdrop-img,
  .cover-crest,
  .cover-pulse-dot {
    animation: none !important;
  }
}




/* --------------------------------------------------------------------------
   RFQ LIVE TDS PREVIEW BOX
   -------------------------------------------------------------------------- */
.rfq-tds-preview-box {
  background: #fbfdfc;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-top: 12px;
  margin-bottom: 8px;
  animation: csFadeIn 0.25s ease;
  transition: all 0.2s ease;
}

.rfq-tds-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.3);
}

.rfq-tds-preview-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rfq-tds-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.rfq-tds-preview-title strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #0e2a1e;
  line-height: 1.25;
}

.rfq-tds-subtitle {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.rfq-tds-modal-btn {
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 11.5px;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid #b89324;
  color: #8c6a08;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rfq-tds-modal-btn:hover {
  background: #b89324;
  color: #ffffff;
}

.rfq-tds-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 10px;
  scrollbar-width: thin;
}

.rfq-tds-tab {
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.rfq-tds-tab:hover {
  border-color: #b89324;
  color: #0e2a1e;
}

.rfq-tds-tab.active {
  background: #0e2a1e;
  color: #ffffff;
  border-color: #0e2a1e;
}

.rfq-tds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.rfq-tds-spec-item {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 6px;
  padding: 8px 10px;
}

.rfq-tds-spec-k {
  font-size: 10.5px;
  color: #718096;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.rfq-tds-spec-v {
  font-size: 12px;
  font-weight: 700;
  color: #0e2a1e;
  margin-top: 3px;
  line-height: 1.3;
}

.rfq-tds-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11.5px;
  color: #4a5568;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.rfq-tds-meta-item strong {
  color: #0e2a1e;
  font-weight: 700;
}

@media (max-width: 600px) {
  .rfq-tds-preview-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .rfq-tds-modal-btn {
    align-self: flex-start;
    width: 100%;
    text-align: center;
  }
  .rfq-tds-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

html[dir="rtl"] .rfq-tds-preview-header {
  flex-direction: row-reverse;
}
html[dir="rtl"] .rfq-tds-preview-title {
  flex-direction: row-reverse;
  text-align: right;
}
html[dir="rtl"] .rfq-tds-meta {
  flex-direction: row-reverse;
}
