/* ==========================================================================
   Gulf Unlimited Trading — Premium Handcrafted Design System
   A refined, organic design that breaks the template mold.
   ========================================================================== */

:root {
  --gulf-green: #6aa329;
  --gulf-green-light: #7cb63a;
  --gulf-green-pale: #f0f7e4;
  --gulf-green-glow: rgba(106, 163, 41, 0.18);

  --ink: #111827;
  --ink-soft: #1f2937;
  --ink-muted: #6b7280;
  --ink-faint: #9ca3af;

  --surface: #ffffff;
  --surface-warm: #fafaf8;
  --surface-cool: #f3f4f6;
  --surface-tinted: #f8faf5;

  --border: #e5e7eb;
  --border-hover: #d1d5db;

  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset & Base Typography --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  font-family: 'Cairo', 'IBM Plex Sans Arabic', system-ui, -apple-system, sans-serif;
  background: var(--surface-warm);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv01';
}

section, main, header, footer, .container, .hero-wrapper {
  max-width: 100% !important;
  box-sizing: border-box;
}

.container {
  max-width: 1200px !important;
  padding-left: 20px;
  padding-right: 20px;
}

body[dir="ltr"] {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

::selection {
  background: var(--gulf-green);
  color: #fff;
}

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

/* --- Top Contact Strip --- */
.top-bar {
  background: var(--ink);
  color: var(--ink-faint);
  font-size: 0.82rem;
  padding: 7px 0;
  letter-spacing: 0.01em;
}

.top-bar a {
  color: #d1d5db;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}

.top-bar a:hover { color: var(--gulf-green-light); }

.top-bar .separator { color: #4b5563; margin: 0 10px; }

.lang-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: #e5e7eb;
  padding: 3px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  letter-spacing: 0.02em;
}

.lang-btn:hover {
  background: var(--gulf-green);
  color: #fff;
  border-color: var(--gulf-green);
}

/* --- Header & Navigation --- */
.main-header {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  position: sticky;
  top: 0;
  z-index: 1020;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.logo-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-item-link {
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 8px 12px;
  border-radius: var(--radius-s);
  position: relative;
  transition: all 0.2s;
  letter-spacing: -0.01em;
}

.nav-item-link::after { display: none; }

.nav-item-link:hover {
  color: var(--ink);
  background: var(--surface-cool);
}

.nav-item-link.active {
  color: var(--ink);
  font-weight: 600;
  background: var(--gulf-green-pale);
}

/* Header Search */
.header-search {
  position: relative;
  width: 220px;
}

.header-search input {
  width: 100%;
  padding: 7px 14px 7px 34px;
  border-radius: var(--radius-m);
  border: 1px solid var(--border);
  background: var(--surface-cool);
  font-size: 0.84rem;
  color: var(--ink);
  transition: all 0.2s;
}

body[dir="rtl"] .header-search input { padding: 7px 34px 7px 14px; }

.header-search input:focus {
  background: #fff;
  border-color: var(--gulf-green);
  outline: none;
  box-shadow: 0 0 0 3px var(--gulf-green-glow);
  width: 260px;
}

.header-search .search-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-faint);
  font-size: 0.82rem;
}

body[dir="rtl"] .header-search .search-icon { right: 12px; }
body[dir="ltr"] .header-search .search-icon { left: 12px; }

/* RFQ Cart Button */
.rfq-cart-btn {
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 7px 16px;
  border-radius: var(--radius-m);
  font-weight: 600;
  font-size: 0.86rem;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.rfq-cart-btn:hover {
  background: var(--ink-soft);
}

.rfq-badge-count {
  background: var(--gulf-green);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* === HERO SECTION — Modern Boxed Container Layout === */
.hero-wrapper {
  padding: 24px 0 0;
}

.hero-box {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.15);
}

.hero-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 70% 50% at 20% 80%, rgba(106,163,41,0.12), transparent),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(106,163,41,0.06), transparent);
  pointer-events: none;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(106,163,41,0.12);
  border: 1px solid rgba(106,163,41,0.25);
  color: var(--gulf-green-light);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  line-height: 1.4;
}

.hero-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  word-wrap: break-word;
}

.hero-title span.text-highlight {
  color: var(--gulf-green-light);
}

.hero-description {
  font-size: 0.98rem;
  color: #9ca3af;
  max-width: 520px;
  margin-bottom: 30px;
  line-height: 1.8;
  word-wrap: break-word;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.btn-primary-custom {
  background: var(--gulf-green);
  color: #fff;
  border: none;
  padding: 11px 24px;
  border-radius: var(--radius-m);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}

.btn-primary-custom:hover {
  background: var(--gulf-green-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(106,163,41,0.25);
}

.btn-secondary-custom {
  background: transparent;
  color: #d1d5db;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 11px 22px;
  border-radius: var(--radius-m);
  font-weight: 500;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-secondary-custom:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}

.hero-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  color: #9ca3af;
  font-weight: 400;
}

.hero-stat-item::before {
  content: '•';
  color: var(--gulf-green);
  font-size: 1.1rem;
  line-height: 0;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  height: 100%;
  max-height: 400px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.hero-floating-card {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(17,24,39,0.88);
  backdrop-filter: blur(12px);
  padding: 14px 18px;
  border-radius: var(--radius-m);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* === Subpage Hero Banner === */
.subpage-banner {
  background: var(--ink);
  color: #fff;
  padding: 48px 0 52px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.subpage-banner .breadcrumb {
  margin-bottom: 12px;
  font-size: 0.82rem;
}

.subpage-banner .breadcrumb a {
  color: var(--gulf-green-light);
  text-decoration: none;
}

.subpage-banner .breadcrumb-item.active {
  color: #9ca3af;
}

.subpage-banner .breadcrumb-item + .breadcrumb-item::before {
  color: #4b5563;
}

.subpage-title {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 8px;
}

.subpage-desc {
  font-size: 0.95rem;
  color: #9ca3af;
  max-width: 680px;
  margin: 0;
  line-height: 1.7;
}

/* === VALUE PILLARS — Asymmetric and natural === */
.trust-pillars-section {
  padding: 0 0 20px;
  margin-top: -32px;
  position: relative;
  z-index: 10;
}

.pillar-card {
  background: var(--surface);
  padding: 20px 18px;
  border-radius: var(--radius-m);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  height: 100%;
  transition: border-color 0.2s, box-shadow 0.3s var(--ease-out);
}

.pillar-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.pillar-icon-box {
  width: 40px;
  height: 40px;
  background: var(--gulf-green-pale);
  color: var(--gulf-green);
  border-radius: var(--radius-s);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.pillar-title {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--ink);
}

.pillar-desc {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.5;
  margin: 0;
}

/* === SECTION HEADERS — Less templated === */
.section-header {
  margin-bottom: 40px;
}

.section-header:not(.text-center):not(.text-white) {
  text-align: start;
  max-width: 620px;
}

.section-tag {
  display: inline-block;
  color: var(--gulf-green);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: none;
  border-radius: 0;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--ink-muted);
  max-width: 540px;
  line-height: 1.7;
}

.section-header.text-center .section-subtitle {
  margin: 0 auto;
}

/* === CATEGORIES === */
.categories-section {
  padding: 64px 0;
}

.category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 18px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  display: block;
  text-decoration: none;
  height: 100%;
  min-width: 0;
  overflow: hidden;
}

.category-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.category-card.active {
  border-color: var(--gulf-green);
  background: var(--gulf-green-pale);
}

.cat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-s);
  background: var(--surface-cool);
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin: 0 auto 10px;
  transition: all 0.2s;
}

.category-card:hover .cat-icon-wrap {
  background: var(--gulf-green-pale);
  color: var(--gulf-green);
}

.category-card.active .cat-icon-wrap {
  background: var(--gulf-green);
  color: #fff;
}

.cat-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.35;
}

.cat-count {
  font-size: 0.72rem;
  color: var(--ink-faint);
}

/* === PRODUCT CATALOG === */
.products-section {
  padding: 72px 0;
  background: var(--surface-cool);
}

.catalog-toolbar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 12px 16px;
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.2s;
}

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

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

.catalog-search-box {
  position: relative;
  min-width: 260px;
}

.catalog-search-box input {
  width: 100%;
  padding: 8px 14px 8px 36px;
  border-radius: var(--radius-m);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  background: var(--surface-cool);
  color: var(--ink);
}

body[dir="rtl"] .catalog-search-box input { padding: 8px 36px 8px 14px; }

.catalog-search-box input:focus {
  outline: none;
  border-color: var(--gulf-green);
  box-shadow: 0 0 0 3px var(--gulf-green-glow);
  background: #fff;
}

.catalog-search-box i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-faint);
  font-size: 0.85rem;
}
body[dir="rtl"] .catalog-search-box i { right: 12px; }
body[dir="ltr"] .catalog-search-box i { left: 12px; }

/* Product Card — Refined */
.product-card {
  background: var(--surface);
  border-radius: var(--radius-m);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  transition: all 0.3s var(--ease-out);
  position: relative;
}

.product-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  border-color: var(--border-hover);
}

.product-image-container {
  position: relative;
  height: 200px;
  width: 100%;
  background: var(--surface-cool);
  overflow: hidden;
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.product-card:hover .product-image-container img {
  transform: scale(1.03);
}

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  z-index: 2;
  letter-spacing: 0.02em;
  max-width: 90%;
  white-space: normal;
  text-align: center;
}

body[dir="ltr"] .product-badge { right: auto; left: 10px; }

.product-body {
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.product-category-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gulf-green);
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.product-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: break-word;
}

.product-sku {
  font-size: 0.78rem;
  color: var(--ink-faint);
  font-family: 'SF Mono', 'Fira Code', monospace;
  margin-bottom: 10px;
}

.product-desc {
  font-size: 0.84rem;
  color: var(--ink-muted);
  line-height: 1.55;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-add-rfq {
  width: 100%;
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 9px;
  border-radius: var(--radius-s);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-add-rfq:hover {
  background: var(--gulf-green);
}

.btn-add-rfq.added {
  background: var(--gulf-green);
  color: #fff;
}

.btn-quick-view {
  background: none;
  border: none;
  color: var(--ink-faint);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  padding: 2px;
  transition: color 0.2s;
}

.btn-quick-view:hover { color: var(--ink); }

/* === SOLUTIONS === */
.solutions-section {
  padding: 72px 0;
  background: var(--surface);
}

.solution-box {
  background: var(--surface-warm);
  border-radius: var(--radius-m);
  border: 1px solid var(--border);
  padding: 28px 22px;
  height: 100%;
  transition: all 0.3s var(--ease-out);
  position: relative;
}

.solution-box::before { display: none; }

.solution-box:hover {
  border-color: var(--border-hover);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.sol-icon {
  font-size: 1.6rem;
  color: var(--gulf-green);
  margin-bottom: 16px;
}

.sol-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.sol-desc {
  font-size: 0.86rem;
  color: var(--ink-muted);
  line-height: 1.65;
}

/* === NUMBERS SECTION === */
.numbers-section {
  background: var(--ink);
  color: #fff;
  padding: 64px 0;
  position: relative;
}

.numbers-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(106,163,41,0.06), transparent 60%);
  pointer-events: none;
}

.num-stat-card { padding: 16px; }

.num-stat-card .num-value {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gulf-green-light);
  margin-bottom: 4px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.num-stat-card .num-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #9ca3af;
}

/* === PARTNERS & CLIENTS === */
.partners-section {
  padding: 64px 0;
  background: var(--surface);
}

.partner-logo-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 18px;
  text-align: center;
  height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}

.partner-logo-box:hover {
  border-color: var(--border-hover);
}

.partner-brand-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.03em;
}

.partner-brand-sub {
  font-size: 0.72rem;
  color: var(--ink-faint);
  margin-top: 2px;
}

.client-chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink);
  margin: 4px;
  max-width: 100%;
  transition: border-color 0.2s;
}

.client-chip i { color: var(--gulf-green); font-size: 0.85rem; }

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

/* === CONTACT SECTION === */
.contact-section { padding: 72px 0; background: var(--surface-cool); }

.contact-info-card {
  background: var(--surface);
  border-radius: var(--radius-l);
  border: 1px solid var(--border);
  padding: 32px;
  height: 100%;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-s);
  background: var(--gulf-green-pale);
  color: var(--gulf-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.info-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-bottom: 2px;
  letter-spacing: 0.04em;
}

.info-value {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}

.contact-form-card {
  background: var(--surface);
  border-radius: var(--radius-l);
  border: 1px solid var(--border);
  padding: 32px;
}

.form-control-custom {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  font-size: 0.92rem;
  background: var(--surface-warm);
  color: var(--ink);
  transition: all 0.2s;
  font-family: inherit;
}

.form-control-custom:focus {
  background: #fff;
  outline: none;
  border-color: var(--gulf-green);
  box-shadow: 0 0 0 3px var(--gulf-green-glow);
}

/* === FOOTER — Clean & Understated === */
.site-footer {
  background: var(--ink);
  color: #9ca3af;
  padding: 60px 0 20px;
  font-size: 0.88rem;
}

.footer-logo {
  max-height: 48px;
  width: auto;
  margin-bottom: 14px;
}

.footer-title {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 8px; }

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gulf-green-light);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.82rem;
  color: #6b7280;
}

/* === RFQ DRAWER === */
.rfq-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17,24,39,0.5);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  display: none;
  pointer-events: none;
  transition: opacity 0.3s;
}

.rfq-drawer-overlay.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.rfq-drawer {
  position: fixed;
  top: 0; bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  z-index: 1060;
  box-shadow: -8px 0 30px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out);
}

body[dir="rtl"] .rfq-drawer { left: 0; transform: translateX(-100%); }
body[dir="ltr"] .rfq-drawer { right: 0; transform: translateX(100%); }
.rfq-drawer-overlay.active .rfq-drawer { transform: translateX(0); }

.rfq-drawer-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ink);
  color: #fff;
}

.rfq-drawer-body {
  padding: 18px 22px;
  overflow-y: auto;
  flex-grow: 1;
}

.rfq-drawer-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  background: var(--surface-cool);
}

.rfq-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  background: var(--surface-cool);
  border-radius: var(--radius-s);
  border: 1px solid var(--border);
  margin-bottom: 8px;
}

.rfq-item-img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 4px;
}

.rfq-qty-btn {
  background: var(--border);
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--ink);
  transition: background 0.15s;
}

.rfq-qty-btn:hover { background: var(--ink-faint); color: #fff; }

/* === FLOATING ACTIONS === */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 52px;
  height: 52px;
  background: #25d366;
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 14px rgba(37,211,102,0.3);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.2s var(--ease-spring);
}

.floating-whatsapp:hover {
  transform: scale(1.06);
  color: #fff;
}

.floating-rfq-badge {
  position: fixed;
  bottom: 82px;
  right: 20px;
  width: 52px;
  height: 52px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  z-index: 999;
  cursor: pointer;
  transition: transform 0.2s var(--ease-spring);
}

.floating-rfq-badge:hover { transform: scale(1.06); }

.floating-badge-counter {
  position: absolute;
  top: -3px;
  right: -3px;
  background: var(--gulf-green);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
}

/* Toast */
.toast-notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--ink);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius-m);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2000;
  opacity: 0;
  transition: all 0.3s var(--ease-out);
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-notice i { color: var(--gulf-green-light); }

/* === UTILITY CLASSES === */
.text-slate-300 { color: #d1d5db; }
.text-slate-400 { color: #9ca3af; }
.text-success { color: var(--gulf-green) !important; }
.bg-success-subtle { background: var(--gulf-green-pale) !important; }
.leading-relaxed { line-height: 1.8; }
.max-w-700 { max-width: 700px; }
.extra-small { font-size: 0.75rem; }

/* === RESPONSIVE === */
@media (max-width: 991px) {
  .hero-box { padding: 40px 32px; }
  .hero-title { font-size: 1.95rem; }
  .hero-image-card { margin-top: 24px; max-height: 320px; }
  .trust-pillars-section { margin-top: 24px; }
  .logo-img { height: 44px; }
  .section-title { font-size: 1.6rem; }
}

@media (max-width: 768px) {
  html, body {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    max-width: 100% !important;
    overflow: hidden;
  }

  .row {
    margin-left: -6px !important;
    margin-right: -6px !important;
  }

  .row > [class*="col"] {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  .hero-wrapper {
    padding: 12px 0 0;
  }

  .hero-box {
    padding: 26px 16px;
    border-radius: var(--radius-l);
  }

  .hero-title {
    font-size: 1.4rem;
    line-height: 1.35;
    margin-bottom: 14px;
  }

  .hero-badge-pill {
    font-size: 0.72rem;
    padding: 4px 10px;
    margin-bottom: 14px;
  }

  .hero-description {
    font-size: 0.86rem;
    margin-bottom: 20px;
    line-height: 1.65;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
  }

  .btn-primary-custom,
  .btn-secondary-custom {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
    font-size: 0.88rem;
  }

  .hero-stats-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
  }

  .hero-stat-item {
    font-size: 0.78rem;
  }

  .logo-img {
    height: 36px;
  }

  .rfq-cart-btn {
    padding: 5px 10px;
    font-size: 0.78rem;
  }

  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
  }

  .catalog-search-box {
    min-width: 100%;
  }

  .num-stat-card .num-value {
    font-size: 1.7rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .section-header {
    text-align: center;
    margin-bottom: 24px;
  }

  .section-header .section-subtitle {
    margin: 0 auto;
    font-size: 0.85rem;
  }

  .pillar-card {
    padding: 12px 10px;
    gap: 8px;
  }

  .pillar-icon-box {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }

  .pillar-title {
    font-size: 0.8rem;
  }

  .pillar-desc {
    font-size: 0.72rem;
  }

  .client-chip {
    font-size: 0.76rem;
    padding: 5px 10px;
    margin: 3px;
  }

  .floating-whatsapp,
  .floating-rfq-badge {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }

  .floating-whatsapp {
    font-size: 20px;
    bottom: 14px;
    right: 14px;
  }

  .floating-rfq-badge {
    font-size: 16px;
    bottom: 64px;
    right: 14px;
  }

  .btn {
    white-space: normal !important;
    word-break: break-word;
    max-width: 100%;
  }

  .top-bar .container,
  .main-header .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}
