/* ==========================================================================
   RAWAFED ELNOMOW - LUXURY INDUSTRIAL DESIGN SYSTEM
   روافد النمو لصناعة المواد الخام - طرابلس، ليبيا
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & THEME TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand Primary Colors (Gold / Bronze Gradient) */
  --gold-primary: #d4af37;
  --gold-secondary: #c59b27;
  --gold-light: #f3e0aa;
  --gold-dark: #8c6d15;
  --gold-glow: rgba(212, 175, 55, 0.25);
  --gold-gradient: linear-gradient(135deg, #f7e4b2 0%, #d4af37 45%, #997a15 100%);
  --gold-metallic: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);

  /* Base Dark Palette */
  --bg-main: #0f1115;
  --bg-surface: #171a21;
  --bg-surface-elevated: #20242f;
  --bg-card: rgba(26, 30, 39, 0.85);
  --bg-glass: rgba(15, 17, 21, 0.75);

  /* Text & Borders */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --border-color: rgba(212, 175, 55, 0.15);
  --border-strong: rgba(212, 175, 55, 0.35);

  /* Accents & Status */
  --accent-slate: #2d3342;
  --accent-green: #10b981;
  --accent-blue: #3b82f6;
  --shadow-gold: 0 10px 30px -10px rgba(212, 175, 55, 0.3);
  --shadow-dark: 0 20px 40px -15px rgba(0, 0, 0, 0.6);

  /* Layout & Spacing */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --font-main: 'Cairo', Tahoma, 'Segoe UI', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Overrides */
[data-theme="light"] {
  --bg-main: #f4f6f9;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #edf1f7;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-glass: rgba(244, 246, 249, 0.85);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --border-color: rgba(197, 155, 39, 0.25);
  --border-strong: rgba(197, 155, 39, 0.5);

  --shadow-gold: 0 10px 30px -10px rgba(197, 155, 39, 0.25);
  --shadow-dark: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESETS & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  direction: rtl;
  text-align: right;
  transition: background-color 0.4s ease, color 0.4s ease;
}

body.nav-open {
  overflow: hidden;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-secondary);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

.skip-link {
  position: absolute;
  right: 1rem;
  top: -40px;
  z-index: 2000;
  background: var(--gold-primary);
  color: #0f1115;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
}
.skip-link:focus {
  top: 0.75rem;
}

i[class*="fa-"] {
  display: inline-block;
  width: 1.15em;
  height: 1em;
  line-height: 1;
  text-align: center;
  flex-shrink: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY & UTILITIES
   -------------------------------------------------------------------------- */
.gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.gradient-metallic-text {
  background: var(--gold-metallic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--gold-primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-tag i {
  font-size: 0.8rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.85rem;
  }
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.section-header-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  flex-shrink: 0;
  text-align: center;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #0f1115;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -5px rgba(212, 175, 55, 0.45);
}

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

.btn-outline:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.08);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   4. HEADER & NAVBAR
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.header.scrolled {
  padding: 0.3rem 0;
  background: rgba(15, 17, 21, 0.95);
  box-shadow: var(--shadow-dark);
}

[data-theme="light"] .header.scrolled {
  background: rgba(255, 255, 255, 0.95);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 0.75rem;
  min-width: 0;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  flex: 1;
}

.logo-img {
  height: 55px;
  width: 55px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #ffffff;
  padding: 3px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.brand-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text-main);
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--gold-primary);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition);
}

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

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

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.icon-btn:hover {
  background: var(--border-color);
  color: var(--gold-primary);
  transform: scale(1.05);
}

.mobile-toggle {
  display: none;
  font-size: 1.3rem;
}

@media (max-width: 992px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 64px;
    right: 0;
    width: min(300px, 86vw);
    height: calc(100dvh - 64px);
    background: var(--bg-surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    transform: translateX(110%);
    visibility: hidden;
    overflow-y: auto;
    z-index: 1001;
    transition: transform 0.3s ease, visibility 0.3s ease;
  }

  .nav-menu.open {
    transform: translateX(0);
    visibility: visible;
  }

  html[dir="ltr"] .nav-menu {
    right: auto;
    left: 0;
    transform: translateX(-110%);
  }

  html[dir="ltr"] .nav-menu.open {
    transform: translateX(0);
  }

  .header-actions .btn-call {
    display: none;
  }
}

/* Sub-page Banner Header */
.page-banner {
  padding-top: 140px;
  padding-bottom: 60px;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08) 0%, transparent 100%), var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.breadcrumb a:hover {
  color: var(--gold-primary);
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 130px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
}

.hero-glow-bg {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero-content {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.25rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  color: var(--gold-primary);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.1);
  max-width: 100%;
  width: fit-content;
  white-space: normal;
  line-height: 1.5;
  box-sizing: border-box;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
  max-width: 100%;
  overflow-wrap: break-word;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 1.7rem;
    letter-spacing: 0;
  }
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  max-width: 100%;
}

@media (max-width: 992px) {
  .hero-buttons {
    justify-content: center;
  }
}

.hero-contact-quick {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

@media (max-width: 992px) {
  .hero-contact-quick {
    justify-content: center;
  }
}

.quick-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.quick-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.quick-info {
  min-width: 0;
  flex: 1;
}

.quick-info label,
.quick-info .quick-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-subtle);
  font-weight: 600;
}

.quick-info span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  direction: ltr;
  unicode-bidi: isolate;
  display: block;
  overflow-wrap: break-word;
  text-align: right;
}

html[dir="ltr"] .quick-info span {
  text-align: left;
}

/* Hero Visual Graphic Box */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-card-frame {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  padding: 1.5rem;
  box-shadow: var(--shadow-dark), var(--shadow-gold);
  overflow: hidden;
}

.visual-banner {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(145deg, #1e222a 0%, #0f1115 100%);
  padding: 2.5rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border-color);
}

.logo-display {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem auto;
  border-radius: 50%;
  background: #ffffff;
  padding: 10px;
  box-shadow: 0 10px 35px rgba(212, 175, 55, 0.4);
  border: 4px solid var(--gold-primary);
  overflow: hidden;
}

.logo-display img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.visual-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-primary);
  margin-bottom: 0.3rem;
}

.visual-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.floating-badge-box {
  position: absolute;
  bottom: -15px;
  left: 20px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-strong);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 5;
}

.badge-icon {
  color: var(--gold-primary);
  font-size: 1.5rem;
}

/* --------------------------------------------------------------------------
   6. STATS TICKER COUNTER SECTION
   -------------------------------------------------------------------------- */
.stats-section {
  padding: 3rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 2;
}

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

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg-main);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  min-height: 1.15em;
  min-width: 5.5ch;
}

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

/* --------------------------------------------------------------------------
   7. ABOUT US SECTION
   -------------------------------------------------------------------------- */
.about-section {
  padding: 6rem 0;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

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

@media (max-width: 576px) {
  .about-features {
    grid-template-columns: 1fr;
  }
}

.about-feature-item {
  padding: 1.25rem;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: var(--transition);
}

.about-feature-item:hover {
  border-color: var(--gold-primary);
  background: var(--bg-surface-elevated);
}

.feature-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.about-feature-item h4 {
  font-size: 1.1rem;
  color: var(--text-main);
  font-weight: 700;
}

.about-feature-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.about-visual-card {
  position: relative;
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-surface-elevated) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-dark);
}

.capability-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.cap-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.cap-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #0f1115;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 3px;
}

.cap-info h5 {
  font-size: 1.05rem;
  color: var(--text-main);
  font-weight: 700;
}

.cap-info p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   8. PRODUCT CATALOG & REAL MATERIAL IMAGES
   -------------------------------------------------------------------------- */
.products-section {
  padding: 6rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  position: relative;
}

.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  background: var(--bg-main);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gold-gradient);
  color: #0f1115;
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

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

@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-dark), var(--shadow-gold);
}

/* Product Card Photo Container */
.product-img-box {
  position: relative;
  height: 220px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-surface-elevated);
}

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

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

.product-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 17, 21, 0.2) 0%, rgba(15, 17, 21, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1.25rem;
}

.product-tag-chip {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  background: rgba(15, 17, 21, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-strong);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

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

.product-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.product-specs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.85rem;
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.spec-key {
  color: var(--text-subtle);
  font-weight: 600;
}

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

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

/* --------------------------------------------------------------------------
   9. QUALITY STANDARDS & TESTED EXCELLENCE
   -------------------------------------------------------------------------- */
.quality-section {
  padding: 6rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
}

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

@media (max-width: 992px) {
  .standards-grid {
    grid-template-columns: 1fr;
  }
}

.standard-card {
  padding: 2rem;
  background: var(--bg-main);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
}

.standard-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-5px);
}

.standard-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem auto;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 1px solid var(--border-strong);
}

.standard-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

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

/* --------------------------------------------------------------------------
   10. CONTACT & LOCATION SECTION
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 6rem 0;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  padding: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: var(--transition);
}

.info-card:hover {
  border-color: var(--gold-primary);
  background: var(--bg-surface-elevated);
  transform: translateX(-5px);
}

.info-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--gold-gradient);
  color: #0f1115;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.info-details label,
.info-details .info-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-subtle);
  font-weight: 700;
}

.info-details p, .info-details a {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
}

.info-details a:hover {
  color: var(--gold-primary);
}

.contact-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-dark);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

/* Location Map Container */
.map-container {
  margin-top: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  height: 350px;
  position: relative;
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder-box {
  text-align: center;
  padding: 2rem;
}

.map-placeholder-box i {
  font-size: 3rem;
  color: var(--gold-primary);
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   11. FLOATING CONTACT BUTTON & MODAL
   -------------------------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: max(12px, env(safe-area-inset-left));
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 999;
  overflow: hidden;
  text-decoration: none;
}

.floating-whatsapp .wa-bubble {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-whatsapp .wa-label {
  display: none;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.floating-whatsapp:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.6);
}

@media (min-width: 769px) {
  .floating-whatsapp {
    width: auto;
    height: 52px;
    padding: 0 14px 0 6px;
    border-radius: var(--radius-full);
    gap: 8px;
    font-size: 1rem;
    overflow: visible;
  }

  .floating-whatsapp .wa-bubble {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #128c7e;
    font-size: 1.35rem;
  }

  .floating-whatsapp .wa-label {
    display: inline;
  }
}

/* Toast / Feedback notification */
.toast-notice {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 1rem 1.5rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--gold-primary);
  color: var(--text-main);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dark);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  pointer-events: none;
}

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

/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: #0a0b0e;
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2rem 0;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 2px;
  background: var(--gold-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a:hover {
  color: var(--gold-primary);
  padding-right: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.product-detail-grid,
.quality-intro-grid,
.facilities-grid {
  display: grid;
  gap: 2rem;
}

.product-detail-grid {
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.quality-intro-grid {
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.facilities-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
}

@media (max-width: 992px) {
  .product-detail-grid,
  .quality-intro-grid,
  .facilities-grid {
    grid-template-columns: 1fr;
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.detail-photo {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   13. MOBILE LAYOUT
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .container {
    padding-left: max(1.15rem, env(safe-area-inset-left));
    padding-right: max(1.15rem, env(safe-area-inset-right));
  }

  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header-container {
    height: 64px;
  }

  .header .logo-brand {
    overflow: hidden;
  }

  .logo-img {
    height: 40px;
    width: 40px;
  }

  .brand-name {
    font-size: 0.98rem;
    white-space: normal;
  }

  .brand-sub {
    display: none;
  }

  .icon-btn {
    width: 40px;
    height: 40px;
  }

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

  .hero {
    min-height: unset;
    padding-top: 88px;
    padding-bottom: 2.5rem;
  }

  .hero-glow-bg {
    display: none;
  }

  .hero-grid {
    gap: 1.75rem;
    text-align: right;
  }

  html[dir="ltr"] .hero-grid {
    text-align: left;
  }

  .hero-badge {
    width: 100%;
    justify-content: flex-start;
    font-size: 0.75rem;
    padding: 0.45rem 0.8rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
  }

  .hero-title {
    font-size: 1.45rem;
    line-height: 1.5;
    margin-bottom: 0.85rem;
  }

  .hero-description {
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 0.72rem 1rem;
  }

  .hero-buttons .btn-whatsapp {
    display: none;
  }

  .hero-contact-quick {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding-top: 1rem;
  }

  .quick-item {
    justify-content: flex-start;
    width: 100%;
    padding: 0.7rem 0.8rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
  }

  .floating-badge-box {
    position: static;
    margin-top: 1rem;
    left: auto;
    bottom: auto;
  }

  .logo-display {
    width: 110px;
    height: 110px;
  }

  .hero-visual {
    display: none;
  }

  .about-section,
  .products-section,
  .quality-section,
  .contact-section {
    padding: 3.25rem 0;
  }

  .page-banner {
    padding-top: 110px;
    padding-bottom: 36px;
  }

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

  .section-desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .product-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  .product-footer .btn {
    width: 100%;
  }

  .product-body {
    padding: 1.25rem;
  }

  .filter-tabs {
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .filter-btn {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .info-card {
    align-items: flex-start;
  }

  .detail-photo {
    height: 220px;
  }

  .footer {
    padding: 3rem 0 5.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.32rem;
  }

  .quick-info span {
    font-size: 0.86rem;
  }
}
