/*
Theme Name: A3 Mechanical Engineering Works
Theme URI: https://a3mechanical.com
Author: A3 Mechanical Engineering Works
Description: Professional industrial B2B WordPress theme for A3 Mechanical Engineering Works – bilingual EN/AR with RTL support, product catalogue, RFQ system and WhatsApp integration.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: a3mew
Tags: rtl-language-support, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, theme-options, two-columns, three-columns, four-columns, e-commerce, footer-widgets, blog, left-sidebar, right-sidebar

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* ============================================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  --primary-green: #1B5E20;
  --primary-green-light: #2E7D32;
  --primary-green-dark: #145214;
  --primary-green-hover: #388E3C;
  --accent-green: #4CAF50;

  --black: #111111;
  --charcoal: #222222;
  --dark-grey: #333333;
  --mid-grey: #555555;
  --light-grey: #F5F7F6;
  --border-grey: #E0E0E0;
  --white: #FFFFFF;
  --text-dark: #222222;
  --text-mid: #555555;
  --text-light: #888888;

  --font-primary: 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-arabic: 'Noto Kufi Arabic', 'Cairo', 'Tajawal', Arial, sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --shadow-green: 0 4px 20px rgba(27,94,32,0.18);

  --container-width: 1200px;
  --container-wide: 1400px;
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 40px;
  --spacing-xl: 64px;
  --spacing-xxl: 96px;

  --transition: 0.22s ease;
  --header-height: 72px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.rtl,
html[dir="rtl"] body {
  font-family: var(--font-arabic);
  direction: rtl;
  text-align: right;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.1rem; font-weight: 600; }
h5, h6 { font-size: 1rem; font-weight: 600; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--spacing-sm);
  width: 100%;
}
.container-wide {
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--spacing-sm);
  width: 100%;
}
.section { padding-block: var(--spacing-xl); }
.section-sm { padding-block: var(--spacing-lg); }
.section-lg { padding-block: var(--spacing-xxl); }
.bg-light { background: var(--light-grey); }
.bg-dark { background: var(--charcoal); color: var(--white); }
.bg-green { background: var(--primary-green); color: var(--white); }
.text-center { text-align: center; }
.text-green { color: var(--primary-green); }
.fw-700 { font-weight: 700; }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-green);
  background: rgba(27,94,32,0.08);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 14px;
}
.section-title span { color: var(--primary-green); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 600px;
  line-height: 1.7;
}
.section-header { margin-bottom: var(--spacing-lg); }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin-inline: auto; }
.section-divider {
  width: 56px; height: 4px;
  background: var(--primary-green);
  border-radius: 2px;
  margin-bottom: 20px;
}
.centered .section-divider { margin-inline: auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn:focus-visible { outline: 3px solid var(--accent-green); outline-offset: 3px; }
.btn-primary {
  background: var(--primary-green);
  color: var(--white);
  border-color: var(--primary-green);
  box-shadow: var(--shadow-green);
}
.btn-primary:hover { background: var(--primary-green-hover); border-color: var(--primary-green-hover); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(27,94,32,0.25); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--primary-green);
  border-color: var(--primary-green);
}
.btn-outline:hover { background: var(--primary-green); color: var(--white); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--primary-green); }
.btn-dark {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}
.btn-dark:hover { background: var(--black); color: var(--white); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  height: var(--header-height);
  transition: box-shadow var(--transition);
}
#site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.13); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: var(--spacing-sm);
}

/* Logo */
.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
.site-branding:hover { text-decoration: none; }
.custom-logo-link { display: flex; align-items: center; }
.custom-logo { width: var(--logo-width, 56px); height: auto; display: block; }

.site-name-wrap { display: flex; flex-direction: column; }
.site-title-main {
  font-size: var(--site-title-size, 1.1rem);
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.site-title-sub {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--primary-green);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav .nav-list { display: flex; align-items: center; gap: 2px; list-style: none; }
.main-nav .nav-item { position: relative; }
.main-nav .nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-grey);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.main-nav .nav-link:hover,
.main-nav .nav-item.current-menu-item > .nav-link,
.main-nav .nav-item.current-menu-ancestor > .nav-link {
  color: var(--primary-green);
  background: rgba(27,94,32,0.06);
}
.main-nav .nav-link .chevron { width: 14px; height: 14px; transition: transform var(--transition); }
.main-nav .nav-item:hover .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-start: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 200;
  border: 1px solid var(--border-grey);
}
.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li a {
  display: block;
  padding: 9px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dark-grey);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.dropdown-menu li a:hover { background: var(--light-grey); color: var(--primary-green); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang-toggle {
  display: flex; align-items: center;
  font-size: 0.82rem; font-weight: 700;
  border: 1.5px solid var(--border-grey);
  border-radius: 20px;
  overflow: hidden;
}
.lang-toggle a, .lang-toggle span {
  padding: 5px 11px;
  color: var(--mid-grey);
  transition: background var(--transition), color var(--transition);
  line-height: 1;
}
.lang-toggle a.active, .lang-toggle span.active {
  background: var(--primary-green);
  color: var(--white);
}
.lang-toggle a:hover { background: var(--light-grey); color: var(--primary-green); }
.lang-toggle a.active:hover { background: var(--primary-green-hover); color: var(--white); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.hamburger:hover { background: var(--light-grey); }
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  transition: opacity var(--transition);
}
.mobile-nav-overlay.active { opacity: 1; }

.mobile-nav {
  position: fixed;
  top: 0;
  inset-inline-start: -320px;
  width: 300px;
  max-width: 90vw;
  height: 100%;
  background: var(--white);
  z-index: 999;
  padding: var(--spacing-md);
  overflow-y: auto;
  transition: inset-inline-start var(--transition);
  box-shadow: var(--shadow-lg);
}
.mobile-nav.active { inset-inline-start: 0; }
.mobile-nav-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--spacing-md); padding-bottom: var(--spacing-sm); border-bottom: 1px solid var(--border-grey); }
.mobile-nav-close { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); transition: background var(--transition); }
.mobile-nav-close:hover { background: var(--light-grey); }
.mobile-nav-list { list-style: none; }
.mobile-nav-list > li > a {
  display: block;
  padding: 12px 4px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  border-bottom: 1px solid var(--border-grey);
  transition: color var(--transition);
}
.mobile-nav-list > li > a:hover { color: var(--primary-green); }
.mobile-sub-list { padding-inline-start: 16px; }
.mobile-sub-list a {
  display: block;
  padding: 8px 4px;
  font-size: 0.88rem;
  color: var(--text-mid);
  transition: color var(--transition);
}
.mobile-sub-list a:hover { color: var(--primary-green); }
.mobile-nav-footer { margin-top: var(--spacing-md); display: flex; flex-direction: column; gap: 10px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  z-index: 0;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,17,17,0.92) 0%, rgba(27,94,32,0.45) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}
.hero-badge-dot { width: 7px; height: 7px; background: var(--accent-green); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)}50%{opacity:0.5;transform:scale(1.3)} }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.12;
}
.hero h1 span { color: var(--accent-green); }
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats {
  display: flex; gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-value span { color: var(--accent-green); }
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.06em; }

/* ============================================================
   ABOUT STRIP
   ============================================================ */
.about-strip { background: var(--white); }
.about-strip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-xl); align-items: center; }
.about-image-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--light-grey); }
.about-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-image-badge {
  position: absolute;
  bottom: 24px;
  inset-inline-end: 24px;
  background: var(--primary-green);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  text-align: center;
  box-shadow: var(--shadow-green);
}
.about-image-badge-value { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.about-image-badge-label { font-size: 0.75rem; opacity: 0.85; margin-top: 4px; }
.about-features { display: flex; flex-direction: column; gap: 14px; margin-top: var(--spacing-md); }
.about-feature {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-grey);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.about-feature:hover { border-color: var(--primary-green); box-shadow: var(--shadow-sm); }
.about-feature-icon {
  width: 42px; height: 42px;
  background: rgba(27,94,32,0.09);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--primary-green);
}
.about-feature-icon svg { width: 20px; height: 20px; }
.about-feature-title { font-size: 0.92rem; font-weight: 600; color: var(--charcoal); margin-bottom: 2px; }
.about-feature-desc { font-size: 0.83rem; color: var(--text-mid); }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-md); }
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-grey);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-green); }
.product-card-image {
  aspect-ratio: 16/9;
  background: var(--light-grey);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  overflow: hidden;
  position: relative;
}
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-card-image img { transform: scale(1.04); }
.product-card-icon { font-size: 3rem; opacity: 0.5; }
.product-card-body { padding: var(--spacing-md); display: flex; flex-direction: column; flex: 1; }
.product-card-title { font-size: 1.05rem; font-weight: 700; color: var(--charcoal); margin-bottom: 8px; }
.product-card-desc { font-size: 0.87rem; color: var(--text-mid); line-height: 1.6; flex: 1; margin-bottom: 16px; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; }
.product-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.88rem; font-weight: 600; color: var(--primary-green);
  transition: gap var(--transition);
}
.product-card-link:hover { gap: 10px; }
.product-card-link svg { width: 16px; height: 16px; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-md); }
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg) var(--spacing-md);
  border: 1px solid var(--border-grey);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-green); }
.service-card-icon {
  width: 56px; height: 56px;
  background: rgba(27,94,32,0.09);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--spacing-sm);
  color: var(--primary-green);
  transition: background var(--transition);
}
.service-card:hover .service-card-icon { background: var(--primary-green); color: var(--white); }
.service-card-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--charcoal); margin-bottom: 10px; }
.service-card p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.7; flex: 1; }
.service-card-tag { margin-top: 16px; }
.service-tag {
  display: inline-block;
  background: rgba(27,94,32,0.07);
  color: var(--primary-green);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--spacing-md); }
.why-card {
  text-align: center;
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-grey);
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.why-card-icon {
  width: 64px; height: 64px;
  background: rgba(27,94,32,0.09);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--spacing-sm);
  color: var(--primary-green);
}
.why-card-icon svg { width: 28px; height: 28px; }
.why-card h3 { font-size: 1rem; font-weight: 700; color: var(--charcoal); margin-bottom: 8px; }
.why-card p { font-size: 0.84rem; color: var(--text-mid); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--primary-green);
  padding-block: var(--spacing-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 30 L30 0 L60 30 L30 60 Z' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E") repeat;
}
.cta-banner h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--white); margin-bottom: 14px; }
.cta-banner p { font-size: 1.05rem; color: rgba(255,255,255,0.82); margin-bottom: var(--spacing-lg); max-width: 560px; margin-inline: auto; margin-bottom: var(--spacing-lg); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============================================================
   RFQ FORM
   ============================================================ */
.rfq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--spacing-xl); align-items: flex-start; }
.rfq-info h2 { font-size: 1.8rem; font-weight: 700; color: var(--charcoal); margin-bottom: 14px; }
.rfq-info p { color: var(--text-mid); line-height: 1.7; margin-bottom: var(--spacing-md); }
.rfq-info-items { display: flex; flex-direction: column; gap: 14px; }
.rfq-info-item { display: flex; gap: 12px; align-items: flex-start; }
.rfq-info-icon { width: 38px; height: 38px; background: rgba(27,94,32,0.09); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--primary-green); }
.rfq-info-icon svg { width: 18px; height: 18px; }
.rfq-info-item strong { font-size: 0.9rem; display: block; margin-bottom: 2px; }
.rfq-info-item span { font-size: 0.83rem; color: var(--text-mid); }

.rfq-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-grey);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-sm); }
.form-grid .form-group.full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.87rem; font-weight: 600; color: var(--charcoal); }
.form-group label .req { color: var(--primary-green); margin-inline-start: 2px; }
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border-grey);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-control:focus { outline: none; border-color: var(--primary-green); box-shadow: 0 0 0 3px rgba(27,94,32,0.12); }
.form-control::placeholder { color: var(--text-light); }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' fill='none' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-inline-end: 36px; }
html[dir="rtl"] select.form-control { background-position: left 12px center; padding-inline-start: 36px; padding-inline-end: 14px; }
textarea.form-control { resize: vertical; min-height: 100px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-xl); }
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  border: 1px solid var(--border-grey);
  box-shadow: var(--shadow-sm);
}
.contact-card-flag { font-size: 2.2rem; margin-bottom: 12px; }
.contact-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--charcoal); margin-bottom: var(--spacing-sm); }
.contact-card-items { display: flex; flex-direction: column; gap: 12px; }
.contact-item { display: flex; gap: 12px; align-items: flex-start; }
.contact-item-icon { width: 36px; height: 36px; background: rgba(27,94,32,0.09); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--primary-green); }
.contact-item-icon svg { width: 17px; height: 17px; }
.contact-item-text strong { font-size: 0.85rem; display: block; color: var(--charcoal); margin-bottom: 2px; }
.contact-item-text span, .contact-item-text a { font-size: 0.87rem; color: var(--text-mid); }
.contact-item-text a:hover { color: var(--primary-green); }
.map-placeholder { border-radius: var(--radius-md); overflow: hidden; height: 200px; background: var(--light-grey); margin-top: 16px; display: flex; align-items: center; justify-content: center; font-size: 0.88rem; color: var(--text-mid); }
.map-placeholder iframe { width: 100%; height: 100%; border: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.75); }
.footer-main { padding-block: var(--spacing-xl); border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--spacing-lg); }
.footer-brand { margin-bottom: 0; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: var(--spacing-sm); }
.footer-logo img { width: 44px; filter: brightness(0) invert(1); }
.footer-logo-name { font-size: 1rem; font-weight: 700; color: var(--white); line-height: 1.2; }
.footer-brand p { font-size: 0.87rem; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: var(--spacing-sm); }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65);
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--primary-green); color: var(--white); }
.footer-social a svg { width: 16px; height: 16px; }
.footer-col-title { font-size: 0.85rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.87rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-links a:hover { color: var(--accent-green); }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact-icon { width: 28px; height: 28px; background: rgba(255,255,255,0.07); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent-green); }
.footer-contact-icon svg { width: 14px; height: 14px; }
.footer-contact-text { font-size: 0.84rem; color: rgba(255,255,255,0.6); line-height: 1.5; }
.footer-contact-text a { color: rgba(255,255,255,0.6); }
.footer-contact-text a:hover { color: var(--accent-green); }
.footer-bottom { padding-block: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-copyright { font-size: 0.82rem; color: rgba(255,255,255,0.45); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.82rem; color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--accent-green); }

/* ============================================================
   WHATSAPP BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  inset-inline-end: 24px;
  bottom: 28px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.whatsapp-btn {
  width: 54px; height: 54px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,0.42);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.whatsapp-btn:hover { transform: scale(1.09); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }
.whatsapp-btn svg { width: 28px; height: 28px; }
.whatsapp-tooltip {
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity var(--transition), transform var(--transition);
}
html[dir="rtl"] .whatsapp-tooltip { transform: translateX(-10px); }
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }

/* ============================================================
   PAGE: PRODUCTS DETAIL
   ============================================================ */
.products-page-hero {
  background: var(--charcoal);
  padding-block: var(--spacing-xl);
  text-align: center;
}
.products-page-hero h1 { color: var(--white); }
.products-page-hero p { color: rgba(255,255,255,0.72); margin-top: 12px; }
.products-page-hero .breadcrumb { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin-bottom: 16px; }
.products-page-hero .breadcrumb a { color: var(--accent-green); }
.breadcrumb-sep { margin-inline: 6px; }

.product-category-section { margin-bottom: var(--spacing-xl); }
.product-category-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: var(--spacing-md);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border-grey);
}
.product-category-icon {
  width: 48px; height: 48px;
  background: rgba(27,94,32,0.09);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-green);
  font-size: 1.5rem;
}
.product-category-header h2 { font-size: 1.3rem; font-weight: 700; color: var(--charcoal); }
.product-sub-list { display: flex; flex-wrap: wrap; gap: 10px; }
.product-sub-item {
  display: flex; align-items: center; gap: 8px;
  background: var(--light-grey);
  padding: 9px 16px;
  border-radius: 24px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--charcoal);
  border: 1px solid var(--border-grey);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.product-sub-item:hover { background: rgba(27,94,32,0.08); border-color: var(--primary-green); color: var(--primary-green); }
.product-sub-item svg { width: 14px; height: 14px; color: var(--primary-green); flex-shrink: 0; }
.product-sub-rfq { margin-top: 16px; }

/* ============================================================
   PAGE: SERVICES DETAIL
   ============================================================ */
.service-detail-section { margin-bottom: var(--spacing-xl); }
.service-detail-header { margin-bottom: var(--spacing-md); }
.service-detail-header .service-country-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(27,94,32,0.08); color: var(--primary-green);
  padding: 4px 14px; border-radius: 20px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 12px;
}
.service-detail-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.service-detail-item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: var(--light-grey);
  border-radius: var(--radius-md);
  font-size: 0.88rem; color: var(--charcoal);
}
.service-detail-item svg { width: 16px; height: 16px; color: var(--primary-green); flex-shrink: 0; }
.design-skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-sm); margin-top: 16px; }
.design-skill-card {
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-grey);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.design-skill-card:hover { border-color: var(--primary-green); box-shadow: var(--shadow-sm); }
.design-skill-card h4 { font-size: 0.88rem; font-weight: 600; color: var(--charcoal); margin-bottom: 4px; }
.design-skill-card p { font-size: 0.8rem; color: var(--text-mid); }

/* ============================================================
   PAGE: ABOUT
   ============================================================ */
.about-page-hero {
  background: var(--charcoal);
  padding-block: var(--spacing-xl);
  text-align: center;
}
.about-page-hero h1 { color: var(--white); }
.about-page-hero p { color: rgba(255,255,255,0.72); margin-top: 12px; max-width: 600px; margin-inline: auto; }
.about-section-alt { background: var(--light-grey); }
.about-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-md); margin-top: var(--spacing-lg); }
.about-highlight-card {
  background: var(--white); border-radius: var(--radius-lg); padding: var(--spacing-md);
  border: 1px solid var(--border-grey);
  text-align: center;
  transition: box-shadow var(--transition);
}
.about-highlight-card:hover { box-shadow: var(--shadow-md); }
.about-highlight-card .icon { font-size: 2.4rem; margin-bottom: 12px; }
.about-highlight-card h3 { font-size: 1rem; font-weight: 700; color: var(--charcoal); margin-bottom: 8px; }
.about-highlight-card p { font-size: 0.85rem; color: var(--text-mid); }
.entity-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-md); margin-top: var(--spacing-md); }
.entity-card {
  border-radius: var(--radius-lg); padding: var(--spacing-lg);
  border: 1px solid var(--border-grey);
  background: var(--white);
}
.entity-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--charcoal); margin-bottom: 10px; }
.entity-card p { font-size: 0.87rem; color: var(--text-mid); line-height: 1.7; }

/* ============================================================
   NOTICES
   ============================================================ */
.notice {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
  display: flex; align-items: flex-start; gap: 10px;
}
.notice-success { background: rgba(27,94,32,0.08); border: 1px solid rgba(27,94,32,0.2); color: var(--primary-green-dark); }
.notice-error { background: rgba(220,38,38,0.07); border: 1px solid rgba(220,38,38,0.2); color: #991b1b; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--spacing-md); }
  .why-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .products-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-strip-grid { grid-template-columns: 1fr; }
  .rfq-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr 1fr; }
  .entity-cards { grid-template-columns: 1fr; }
  .service-detail-list { grid-template-columns: 1fr; }
  .design-skills-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav-overlay { display: block; }
}

@media (max-width: 600px) {
  :root { --spacing-xl: 48px; --spacing-xxl: 64px; }
  .products-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .form-group.full { grid-column: 1; }
  .hero-stats { flex-direction: column; gap: var(--spacing-md); }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  .about-highlights { grid-template-columns: 1fr; }
  .design-skills-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .whatsapp-float { inset-inline-end: 16px; bottom: 20px; }
}

@media (max-width: 375px) {
  .why-grid { grid-template-columns: 1fr; }
  .site-title-main { font-size: 0.9rem; }
  .custom-logo { width: 38px; }
}

/* ============================================================
   RTL OVERRIDES
   ============================================================ */
html[dir="rtl"] .mobile-nav { inset-inline-start: -320px; }
html[dir="rtl"] .mobile-nav.active { inset-inline-start: 0; }
html[dir="rtl"] select.form-control { background-position: left 12px center; padding-inline-start: 36px; padding-inline-end: 14px; }
html[dir="rtl"] .whatsapp-tooltip { transform: translateX(-10px); }
html[dir="rtl"] .whatsapp-float:hover .whatsapp-tooltip { transform: translateX(0); }

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip-link { position: absolute; top: -100%; inset-inline-start: 16px; background: var(--primary-green); color: var(--white); padding: 8px 16px; border-radius: var(--radius-sm); z-index: 9999; font-weight: 600; transition: top 0.2s; }
.skip-link:focus { top: 16px; }

/* ============================================================
   PRINT
   ============================================================ */
@media print { #site-header,.whatsapp-float,.hamburger,.mobile-nav,.mobile-nav-overlay { display: none !important; } }
