/* TORS Defence Equipment - Premium Stylesheet */
:root {
  --primary: #0a0f1c;
  --primary-light: #1a2332;
  --primary-dark: #050810;
  --primary-darker: #02050a;
  --accent: #dc2626;
  --accent-light: #ef4444;
  --accent-dark: #b91c1c;
  --accent-gradient: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --text-dark: #0f172a;
  --text-light: #f1f5f9;
  --gradient-primary: linear-gradient(135deg, #0a0f1c 0%, #1a2332 100%);
  --gradient-primary-dark: linear-gradient(135deg, #050810 0%, #0a0f1c 100%);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
  --shadow-accent: 0 10px 30px -5px rgba(220, 38, 38, 0.4);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Tajawal', 'Cairo', system-ui, -apple-system, sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.7;
  direction: ltr;
  overflow-x: hidden;
}

html[dir="rtl"] body,
body[dir="rtl"] { direction: rtl; font-family: 'Tajawal', 'Cairo', sans-serif; }
html[dir="ltr"] body,
body[dir="ltr"] { direction: ltr; font-family: 'Inter', 'Cairo', sans-serif; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* ============================================
   LANGUAGE SWITCHER - Top right of header
   ============================================ */
.lang-switcher {
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px;
  border-radius: 100px;
}

.lang-btn {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.3px;
}

.lang-btn:hover { color: var(--white); background: rgba(255,255,255,0.05); }

.lang-btn.active {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.lang-btn .flag { font-size: 14px; }

@media (max-width: 640px) {
  .lang-btn { padding: 5px 8px; font-size: 11px; }
  .lang-btn .flag { font-size: 12px; }
  .lang-btn .lang-text { display: none; }
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 15, 28, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(220, 38, 38, 0.15);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(10, 15, 28, 0.95);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.header-top {
  background: var(--primary-darker);
  padding: 6px 0;
  font-size: 12px;
  color: var(--gray-300);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-top-content {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

.header-contact {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: stretch;
}

.header-phone {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 210px;
  padding: 6px 14px 6px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: var(--gray-300);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.header-phone::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
  inset-inline-end: 0;
  transform: skewX(-12deg);
}
.header-phone-label {
  font-size: 10px;
  color: var(--gray-400);
  font-weight: 600;
}
.header-phone-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.3px;
  direction: ltr;
  unicode-bidi: isolate;
}
.header-phone:hover { color: var(--white); border-color: rgba(220,38,38,0.45); }

.brochure-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--gray-400);
}

.brochure-tag .year {
  background: var(--accent);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 50px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.header-main { padding: 14px 0; }
.nav-content { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

html[dir="ltr"] .nav-content {
  justify-content: flex-start;
  gap: 12px;
}

html[dir="ltr"] .logo {
  flex: 0 0 auto;
  position: relative;
  z-index: 3;
}

html[dir="ltr"] .nav-links {
  position: static;
  left: auto;
  transform: none;
  flex: 1 1 auto;
  justify-content: flex-start;
  min-width: 0;
}

html[dir="ltr"] .nav-links.open {
  position: absolute;
  left: 0;
  right: 0;
  transform: none;
}

html[dir="ltr"] .nav-links a {
  font-size: 11px;
  padding: 8px 6px;
}

html[dir="ltr"] .nav-cta {
  padding: 8px 14px !important;
  margin-inline-start: 4px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition);
}

.logo:hover { transform: scale(1.02); }

.logo-img {
  width: auto;
  height: 72px;
  max-width: 260px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(220, 38, 38, 0.3));
  transition: var(--transition);
}

.logo:hover .logo-img { filter: drop-shadow(0 6px 16px rgba(220, 38, 38, 0.5)); }

.logo-text { display: none; }

.brochure-tag { display: none !important; }

.logo-title {
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1;
}

.logo-subtitle {
  font-size: 9px;
  color: var(--gray-400);
  letter-spacing: 2.5px;
  margin-top: 4px;
  font-weight: 600;
}

.nav-links { display: flex; gap: 2px; align-items: center; }

.nav-links a {
  color: var(--white);
  font-weight: 500;
  font-size: 12.5px;
  padding: 10px 9px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
  border-radius: 1px;
}

.nav-links a:hover { color: var(--accent-light); }
.nav-links a:hover::after,
.nav-links a.active::after { width: calc(100% - 28px); }
.nav-links a.active { color: var(--accent); }

.nav-cta {
  background: var(--accent-gradient) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-accent);
  margin-inline-start: 8px;
  transition: var(--transition);
}

.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.5) !important;
}

.nav-cta::after { display: none !important; }

.mobile-toggle {
  display: none;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 8px;
  transition: var(--transition);
}

.mobile-toggle:hover { background: rgba(220, 38, 38, 0.2); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--gradient-primary-dark);
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/warship-vision.jpg') center/cover no-repeat;
  opacity: 0.4;
  filter: brightness(0.6) contrast(1.1);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(10, 15, 28, 0.85) 0%, 
    rgba(10, 15, 28, 0.7) 50%, 
    rgba(220, 38, 38, 0.3) 100%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='%23ffffff' stroke-width='0.5' opacity='0.08'/%3E%3C/svg%3E");
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-text { color: var(--white); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.4);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 12px;
  color: var(--accent-light);
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 .accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  position: relative;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--gray-200);
  margin-bottom: 35px;
  line-height: 1.8;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(220, 38, 38, 0.5);
}

.btn-outline {
  background: rgba(255,255,255,0.05);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 24px;
  background: rgba(255,255,255,0.04);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
}

.hero-stat { text-align: center; padding: 8px; }

.hero-stat .number {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat .label {
  font-size: 11px;
  color: var(--gray-400);
  font-weight: 500;
  letter-spacing: 0.3px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrap {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 38%, #f7f8fa 0%, #d5dbe3 100%);
  box-shadow:
    0 0 0 3px rgba(220, 38, 38, 0.55),
    0 0 0 12px rgba(255, 255, 255, 0.06),
    0 0 0 13px rgba(220, 38, 38, 0.2),
    0 28px 64px rgba(0, 0, 0, 0.45);
}

.hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: -52px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.32) 0%, transparent 64%);
  z-index: -1;
  filter: blur(22px);
  pointer-events: none;
}

.hero-image-wrap::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.hero-vest-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.28));
  animation: none;
  transform: none;
}

/* ============================================
   SECTIONS - GENERAL
   ============================================ */
.section { padding: 100px 0; position: relative; }
.section-dark { background: var(--gradient-primary); color: var(--white); }
.section-light { background: var(--gray-50); }
.section-image { position: relative; overflow: hidden; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  background: var(--accent-gradient);
  color: var(--white);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: var(--shadow-accent);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-dark .section-title { color: var(--white); }

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

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
}

.section-dark .section-subtitle { color: var(--gray-300); }

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--accent-gradient);
  margin: 20px auto 0;
  border-radius: 2px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.about-text p {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 18px;
  line-height: 1.85;
}

.profile-download {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 16px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(15, 23, 42, 0.04));
  border: 1px solid rgba(220, 38, 38, 0.18);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
.profile-download:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(220, 38, 38, 0.4);
}
.profile-download-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.profile-download-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.profile-download-text strong {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
}
.profile-download-text small {
  font-size: 0.85rem;
  color: var(--gray-600);
}

.about-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 30px;
  overflow: hidden;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-2xl);
}

.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(220, 38, 38, 0.3) 0%, transparent 70%);
  z-index: 1;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

/* ============================================
   VISION/MISSION
   ============================================ */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 60px;
}

.vm-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  padding: 40px;
  border-radius: 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.vm-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: var(--accent-gradient);
  opacity: 0.08;
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.vm-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.vm-icon {
  width: 70px;
  height: 70px;
  background: var(--accent-gradient);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--white);
  margin-bottom: 20px;
  box-shadow: var(--shadow-accent);
}

.vm-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.vm-text {
  color: var(--gray-600);
  line-height: 1.8;
  font-size: 1rem;
}

/* ============================================
   VALUES
   ============================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--white);
  padding: 35px 30px;
  border-radius: 20px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.value-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.value-card:hover::before { transform: scaleX(1); }

.value-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
  color: var(--white);
  position: relative;
}

.value-icon::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0.4;
}

.value-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.value-text {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   CHAIRMAN SECTION
   ============================================ */
.chairman-section {
  background: var(--gray-50);
  padding: 80px 0;
}
.chairman-page {
  padding-top: 50px;
}

.chairman-card {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 50px;
  align-items: start;
  background: var(--white);
  padding: 50px;
  border-radius: 30px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}

.chairman-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: var(--accent-gradient);
  opacity: 0.05;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.chairman-image {
  border-radius: 20px;
  background: #141820;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.chairman-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center top;
}

.chairman-avatar {
  font-size: 180px;
  color: var(--gray-700);
  position: relative;
  z-index: 1;
}

.chairman-content h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}

.chairman-greeting {
  font-family: 'Amiri', serif;
  font-size: 1.4rem;
  color: var(--accent);
  text-align: center;
  margin: 20px 0;
  font-weight: 700;
}

.chairman-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 8px 0 8px;
}
.chairman-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.chairman-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  margin-top: 2px;
}
.chairman-text {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.9;
  margin-bottom: 0;
}

.chairman-signature {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: flex-end;
}

[dir="rtl"] .chairman-signature {
  justify-content: flex-start;
}

.chairman-signature-block {
  text-align: center;
}

.chairman-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
}

.chairman-role {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 4px;
}

.chairman-closure {
  font-family: 'Amiri', serif;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 6px;
}

/* ============================================
   FEATURED PRODUCT
   ============================================ */
.featured-product {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 60px;
  border-radius: 30px;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.featured-product::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.3) 0%, transparent 70%);
}

.featured-text { position: relative; z-index: 1; }

.featured-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

.featured-text h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.featured-text p {
  color: var(--gray-300);
  line-height: 1.8;
  margin-bottom: 24px;
}

.featured-image {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-image img {
  width: min(100%, 360px);
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #f7f8fa 0%, #d5dbe3 100%);
  box-shadow:
    0 0 0 3px rgba(220, 38, 38, 0.5),
    0 0 0 12px rgba(255, 255, 255, 0.06),
    0 20px 48px rgba(0, 0, 0, 0.4);
}

/* ============================================
   PRODUCTS PAGE
   ============================================ */
.products-hero {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 180px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.products-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(220, 38, 38, 0.2) 0%, transparent 60%);
}

.products-hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.products-hero p {
  font-size: 1.2rem;
  color: var(--gray-300);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.product-categories {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.category-btn {
  padding: 10px 24px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--gray-700);
  font-family: inherit;
}

.category-btn:hover, .category-btn.active {
  background: var(--accent-gradient);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.product-item {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.product-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.02) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

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

.product-item:hover::before { opacity: 1; }

.product-icon {
  font-size: 56px;
  margin-bottom: 12px;
  display: block;
  position: relative;
  z-index: 1;
}

.product-code {
  font-size: 11px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 6px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.product-name {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

/* ============================================
   CAPABILITIES
   ============================================ */
.capabilities-intro {
  max-width: 900px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.8;
}

.capabilities-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.cap-stat-card {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 50px 30px;
  border-radius: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(220, 38, 38, 0.2);
  transition: var(--transition);
}

.cap-stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-2xl);
}

.cap-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.4) 0%, transparent 70%);
}

.cap-stat-icon {
  font-size: 50px;
  margin-bottom: 16px;
  display: block;
  position: relative;
  z-index: 1;
}

.cap-stat-value {
  font-size: 3rem;
  font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.cap-stat-label {
  color: var(--gray-300);
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.capabilities-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 80px;
}

.showcase-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  position: relative;
  aspect-ratio: 4/3;
}

.showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stages-timeline {
  position: relative;
  margin-bottom: 80px;
}

.stages-timeline::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
  z-index: 0;
}

.stages-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}

.stage-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.stage-number {
  width: 80px;
  height: 80px;
  background: var(--accent-gradient);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.3);
  border: 4px solid var(--white);
  position: relative;
}

.stage-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.stage-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
}

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

.facility-card {
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  gap: 20px;
  align-items: start;
}

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

.facility-icon {
  width: 60px;
  height: 60px;
  background: var(--accent-gradient);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: var(--shadow-accent);
}

.facility-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.facility-content p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ============================================
   R&D
   ============================================ */
.rd-hero {
  text-align: center;
  margin-bottom: 60px;
}

.rd-intro {
  max-width: 900px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.85;
}

.rd-cta {
  display: inline-block;
  background: var(--accent-gradient);
  color: var(--white);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: var(--shadow-accent);
}

.rd-focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.rd-card {
  background: var(--white);
  padding: 30px 24px;
  border-radius: 20px;
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: var(--transition);
}

.rd-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.rd-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
  color: var(--white);
  position: relative;
}

.rd-icon::after {
  content: '';
  position: absolute;
  inset: -5px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  opacity: 0.3;
}

.rd-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.rd-text {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ============================================
   QUALITY
   ============================================ */
.quality-showcase {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 60px;
}

.quality-intro {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: 0;
}

.quality-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  background: #0a0f1c;
}

.quality-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.quality-showcase-page {
  grid-template-columns: 1fr;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.quality-image-full {
  background: #070b14;
}

.quality-image-full img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.quality-mission {
  text-align: center;
  margin: 50px 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.quality-mission span:first-child {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.quality-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.quality-step {
  background: var(--white);
  padding: 35px 25px;
  border-radius: 20px;
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.quality-step:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.quality-step-icon {
  width: 80px;
  height: 80px;
  background: var(--accent-gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 35px;
  color: var(--white);
  box-shadow: var(--shadow-accent);
}

.quality-step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.quality-step-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.contact-info-card {
  background: var(--white);
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}

.contact-intro {
  background: var(--gray-50);
  padding: 20px 24px;
  border-radius: 12px;
  border-right: 4px solid var(--accent);
  margin-bottom: 30px;
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.7;
}

body[dir="ltr"] .contact-intro {
  border-right: none;
  border-left: 4px solid var(--accent);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--gray-50);
  border-radius: 14px;
  margin-bottom: 12px;
  transition: var(--transition);
}

.contact-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateX(-4px);
}

body[dir="rtl"] .contact-item:hover { transform: translateX(4px); }

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--white);
  flex-shrink: 0;
}

.contact-label {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 600;
  direction: ltr;
  text-align: start;
}

.contact-value a { color: var(--text-dark); }
.contact-value a:hover { color: var(--accent); }

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}

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

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text-dark);
  transition: var(--transition);
  background: var(--gray-50);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group textarea { min-height: 130px; resize: vertical; }

.btn-submit {
  width: 100%;
  background: var(--accent-gradient);
  color: var(--white);
  padding: 16px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.4);
}

.form-message {
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  display: none;
}

.form-message.success {
  display: block;
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.contact-commitment {
  margin-top: 30px;
  text-align: center;
  padding: 20px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary-darker);
  color: var(--gray-300);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
}

.footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: radial-gradient(circle at 80% 100%, rgba(220, 38, 38, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 50px;
  padding-bottom: 50px;
  position: relative;
  z-index: 1;
}

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

.footer-logo img { width: auto; height: 68px; max-width: 240px; object-fit: contain; }
.footer-logo .logo-title { font-size: 24px; }

.footer-tagline {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  margin: 8px 0 16px;
  letter-spacing: 1px;
  font-size: 1.1rem;
}

.footer-desc {
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent-gradient);
  border-color: transparent;
  color: var(--white);
  transform: translateY(-3px);
}

.footer h4 {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

body[dir="rtl"] .footer h4::after { left: auto; right: 0; }

.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--gray-400);
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '›';
  color: var(--accent);
  font-weight: 700;
  transition: transform 0.3s;
}

body[dir="rtl"] .footer-links a::before { content: '‹'; }

.footer-links a:hover { color: var(--white); }
.footer-links a:hover::before { transform: translateX(4px); }
body[dir="rtl"] .footer-links a:hover::before { transform: translateX(-4px); }

.footer-contact-item {
  display: flex;
  align-items: start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--gray-400);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-contact-item .icon {
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-phone {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-phone-label {
  font-size: 11px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--gray-500);
}

.footer-phone a {
  color: var(--white);
  text-decoration: none;
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
  color: var(--gray-500);
  position: relative;
  z-index: 1;
}

.footer-bottom strong { color: var(--accent); }

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1550px) {
  html[dir="ltr"] .nav-links { display: none; }
  html[dir="ltr"] .nav-links.open { display: flex; }
  html[dir="ltr"] .mobile-toggle { display: block; }
}

@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .chairman-card { grid-template-columns: 1fr; gap: 30px; }
  .vm-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-product { grid-template-columns: 1fr; }
  .capabilities-stats { grid-template-columns: 1fr; }
  .capabilities-showcase { grid-template-columns: 1fr; }
  .quality-showcase { grid-template-columns: 1fr; }
  .stages-grid { grid-template-columns: repeat(3, 1fr); }
  .stages-timeline::before { display: none; }
  .rd-focus-grid { grid-template-columns: repeat(2, 1fr); }
  .quality-steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
}

@media (max-width: 640px) {
  .hero { padding: 110px 0 60px; }
  .section { padding: 70px 0; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .stages-grid { grid-template-columns: repeat(2, 1fr); }
  .rd-focus-grid { grid-template-columns: 1fr; }
  .quality-steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .featured-product { padding: 30px; }
  .cap-stat-value { font-size: 2.2rem; }
  .chairman-card { padding: 25px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .header-top { display: block; }
  .header-top-content { flex-wrap: wrap; }
  .header-contact { display: flex; width: 100%; }
  .header-phone { min-width: 0; flex: 1; }
}

.nav-links.open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--primary);
  flex-direction: column;
  padding: 20px;
  gap: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

.nav-links.open a {
  width: 100%;
  text-align: center;
  padding: 12px;
}

.nav-links.open .lang-switcher {
  margin: 10px auto 0;
}

/* Language switcher shown only inside the mobile dropdown menu */
.mobile-lang { display: none; }
.nav-links.open .mobile-lang { display: flex; }

/* ===== WhatsApp floating button ===== */
.wa-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 1200;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: wa-pulse 2.4s infinite;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}
[dir="ltr"] .wa-float { left: auto; right: 24px; }
@keyframes wa-pulse {
  0% { box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== Product detail modal ===== */
.pd-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.pd-modal.open { display: flex; }
.pd-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 28, 0.72);
  backdrop-filter: blur(4px);
}
.pd-dialog {
  position: relative;
  background: #fff;
  border-radius: 20px;
  max-width: 760px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  animation: pd-in 0.25s ease;
}
@keyframes pd-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
.pd-close {
  position: absolute;
  top: 12px;
  inset-inline-end: 14px;
  background: rgba(0,0,0,0.06);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #0f172a;
  z-index: 2;
}
.pd-close:hover { background: rgba(220,38,38,0.15); color: #dc2626; }
.pd-image {
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.pd-image img { width: 100%; max-height: 340px; object-fit: contain; }
.pd-body { padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.pd-code { font-size: 12px; font-weight: 700; color: #dc2626; letter-spacing: 0.5px; }
.pd-cat {
  display: inline-block;
  width: fit-content;
  font-size: 12px;
  background: #f1f5f9;
  color: #475569;
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 600;
}
.pd-name { font-size: 1.6rem; font-weight: 800; color: #0f172a; line-height: 1.35; margin: 4px 0 8px; }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.pd-actions .pd-wa { border-color: #25d366; color: #128c3e; }
.pd-actions .pd-wa:hover { background: #25d366; color: #fff; }
@media (max-width: 640px) {
  .pd-dialog { grid-template-columns: 1fr; max-width: 420px; }
  .pd-image { padding: 24px; }
  .pd-image img { max-height: 220px; }
  .pd-body { padding: 22px; }
}
