/* ALUMITEC Corporate Website Styles */
:root {
  --primary: #0066cc;
  --primary-light: #00a8e8;
  --dark: #0f172a;
  --light: #f8fafc;
  --gray: #64748b;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --radius: 16px;
  --max-width: 1280px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section { padding: 80px 0; }
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--dark);
  letter-spacing: -0.5px;
}
.section-subtitle {
  text-align: center;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}
.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0, 102, 204, 0.35); }
.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: all 0.3s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo img { height: 46px; width: auto; }
.logo span {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}
.nav a:hover::after { width: 100%; }
.nav a.active { color: var(--primary); }
.nav a.active::after { width: 100%; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 24px;
  padding-left: 24px;
  border-left: 1px solid var(--border);
}
.lang-switch a {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  color: var(--gray);
  transition: all 0.2s ease;
}
.lang-switch a:hover { color: var(--primary); background: #f1f5f9; }
.lang-switch a.active { color: white; background: var(--primary); }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all 0.3s ease;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 76px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #0f172a;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url('images/factory.png');
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.7) 60%, rgba(15,23,42,0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  color: white;
  padding: 60px 0;
}
.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.hero-title {
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}
.hero-title span { color: var(--primary-light); }
.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat strong {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-light);
}
.hero-stat span { font-size: 0.9rem; color: rgba(255,255,255,0.7); }

/* Page Hero */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  text-align: center;
}
.page-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Home Intro */
.home-intro { background: white; }
.home-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.home-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.home-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.home-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.home-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--dark);
}
.home-card p {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.6;
}

/* About */
.about { background: white; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.about-image:hover img { transform: scale(1.03); }
.about-content h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
}
.about-content p {
  color: var(--gray);
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.about-feature .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.about-feature h4 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.about-feature p { font-size: 0.9rem; margin: 0; }

/* Values */
.values { background: var(--light); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  background: white;
  padding: 36px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}
.value-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.value-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.value-card p { color: var(--gray); font-size: 0.95rem; line-height: 1.7; }

/* Equipment */
.equipment { background: white; }
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.equipment-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.equipment-card-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}
.equipment-card-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.equipment-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.equipment-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.equipment-card .info { padding: 18px; }
.equipment-card h3, .equipment-card h4 { font-size: 1.05rem; margin: 0 0 6px; color: var(--primary-dark); }
.equipment-card p { font-size: 0.88rem; color: var(--gray); margin: 0 0 8px; }
.equipment-more {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
}

/*Equipment detail modal*/
.eq-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.eq-modal[hidden] { display: none; }
.eq-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
}
.eq-modal-dialog {
  position: relative;
  background: #fff;
  border-radius: 12px;
  max-width: 720px;
  width: calc(100% - 32px);
  max-height: 88vh;
  overflow: auto;
  padding: 32px 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: eq-modal-in 0.2s ease-out;
}
@keyframes eq-modal-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
.eq-modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: var(--gray);
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s;
}
.eq-modal-close:hover { background: var(--light); color: var(--primary); }
.eq-modal-body h3 { margin-top: 0; color: var(--primary-dark); }
.eq-modal-body h4 { margin-top: 1.4em; color: var(--primary); }
.eq-modal-body ul { padding-left: 1.2em; }
.eq-modal-body li { margin-bottom: 6px; line-height: 1.6; }
.eq-modal-body p { line-height: 1.7; }

/* Quality */
.quality { background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); }
.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.quality-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.quality-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.quality-item .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.quality-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Products */
.products { background: white; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(15,23,42,0.14); }
.product-card .image {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.product-card .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .image img { transform: scale(1.05); }
.product-card .content { padding: 24px; }
.product-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.product-card p { color: var(--gray); font-size: 0.92rem; margin-bottom: 18px; line-height: 1.6; }
.product-card .tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.product-card .tag {
  padding: 4px 10px;
  border-radius: 20px;
  background: #f1f5f9;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
}
a.product-card { display: block; }
a.product-card .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 8px;
  transition: gap 0.3s ease;
}
a.product-card:hover .link-arrow { gap: 12px; }

/* Home Sections */
.home-products { background: white; }
.home-products .products-grid { margin-top: 40px; }
.home-why { background: var(--light); }
.home-apps { background: var(--light); }
.home-apps .apps-grid { grid-template-columns: repeat(4, 1fr); }
.apps-grid-dense { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.source-note {
  margin-top: 28px;
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
}
.home-quality { background: white; }
.home-cta { background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%); }
.cta-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 64px;
  text-align: center;
  color: white;
}
.cta-box h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.cta-box p {
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Brochure Gallery */
.brochure { background: var(--light); }
.brochure-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.brochure-thumb {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.3s ease;
}
.brochure-thumb:hover { transform: scale(1.02); }
.brochure-thumb img { width: 100%; height: 160px; object-fit: cover; }

/* Product Details */
.product-details { background: var(--light); }
.detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 72px;
}
.detail-block.reverse { direction: rtl; }
.detail-block.reverse > * { direction: ltr; }
.detail-block:last-child { margin-bottom: 0; }
.detail-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: white;
}
.detail-image img { width: 100%; height: auto; display: block; }
.detail-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--dark);
}
.detail-content p {
  color: var(--gray);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 20px;
}
.detail-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-left: 20px;
}
.detail-list li {
  color: var(--dark);
  font-size: 0.95rem;
  line-height: 1.6;
  list-style: disc;
}

/* Applications */
.applications { background: white; }
.apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.app-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.app-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.app-card:hover img { transform: scale(1.08); }
.app-card span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(15,23,42,0.8));
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Specs */
.specs { background: var(--light); }
.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.spec-card {
  background: white;
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.3s ease;
}
.spec-card:hover { transform: translateY(-4px); }
.spec-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}
.spec-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Contact */
.contact { background: var(--dark); color: white; padding: 80px 0; }
.contact-hero { padding-bottom: 60px; }
.page-hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(30,136,229,0.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: start;
}

/* Left: contact info */
.contact-info h2 { font-size: 1.9rem; margin: 0 0 8px; color: white; }
.contact-info p { color: rgba(255,255,255,0.78); margin: 0; }
.contact-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-brand-logo {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: white;
  padding: 8px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.contact-brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.contact-intro {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
}
.contact-items {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s, transform 0.2s;
}
.contact-item:hover { background: rgba(255,255,255,0.08); transform: translateX(2px); }
.contact-item strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-item span {
  font-size: 1rem;
  color: white;
  word-break: break-word;
}
.contact-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex; align-items: center; justify-content: center;
  color: white;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.contact-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-meta-label {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.contact-meta-value {
  font-size: 0.95rem;
  color: white;
  font-weight: 500;
}

/* Right: form card */
.contact-form-card {
  background: white;
  color: #1e293b;
  border-radius: 18px;
  padding: 36px 36px 32px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  position: relative;
}
.contact-form-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.contact-form-header h3 {
  font-size: 1.5rem;
  margin: 0 0 8px;
  color: #0f172a;
}
.contact-form-header p {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0 0 24px;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form .form-group {
  margin-bottom: 18px;
}
.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #f8fafc;
  color: #0f172a;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}
.contact-form input:hover,
.contact-form textarea:hover {
  border-color: #cbd5e1;
  background: white;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(30,136,229,0.12);
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #94a3b8;
}
.contact-submit {
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  color: white;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 6px 16px rgba(30,136,229,0.35);
}
.contact-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(30,136,229,0.45);
}
.contact-submit:active { transform: translateY(0); }
.contact-form-foot {
  font-size: 0.78rem;
  color: #94a3b8;
  text-align: center;
  margin: 16px 0 0;
}

[dir="rtl"] .contact-info { direction: rtl; }
[dir="rtl"] .contact-item:hover { transform: translateX(-2px); }
/* Footer */
.footer {
  background: #0b1120;
  color: rgba(255,255,255,0.7);
  padding: 40px 0;
  text-align: center;
  font-size: 0.9rem;
}
.footer strong { color: white; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.98);
  z-index: 1500;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-nav.active { display: flex; }
.mobile-nav a { color: white; font-size: 1.5rem; font-weight: 600; }
.mobile-close { position: absolute; top: 24px; right: 24px; color: white; font-size: 2rem; cursor: pointer; }

/* Responsive */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .equipment-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .brochure-grid { grid-template-columns: repeat(3, 1fr); }
  .home-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-block { grid-template-columns: 1fr; gap: 32px; }
  .detail-block.reverse { direction: ltr; }
  .apps-grid,
  .apps-grid-dense { grid-template-columns: repeat(2, 1fr); }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero-title { font-size: 2.4rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .about-grid,
  .quality-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-features,
  .quality-list { grid-template-columns: 1fr; }
  .products-grid,
  .equipment-grid,
  .values-grid,
  .brochure-grid,
  .home-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-card { padding: 28px 22px; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .contact-meta { grid-template-columns: 1fr; }
  .apps-grid,
  .specs-grid { grid-template-columns: 1fr; }
  .detail-content h3 { font-size: 1.3rem; }
  .cta-box { padding: 40px 24px; }
  .cta-box h2 { font-size: 1.6rem; }
  .section { padding: 60px 0; }
  .section-title { font-size: 1.8rem; }
  .page-hero { padding: 130px 0 60px; }
  .page-hero h1 { font-size: 2rem; }
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.8s ease forwards; opacity: 0; }

/* RTL Arabic */
[dir="rtl"] body { font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Microsoft YaHei", "Noto Sans Arabic", sans-serif; }
[dir="rtl"] .logo { flex-direction: row-reverse; }
[dir="rtl"] .header-inner { flex-direction: row-reverse; }
[dir="rtl"] .nav { flex-direction: row-reverse; }
[dir="rtl"] .lang-switch { margin-left: 0; margin-right: 24px; padding-left: 0; padding-right: 24px; border-left: none; border-right: 1px solid var(--border); }
[dir="rtl"] .about-feature,
[dir="rtl"] .contact-item,
[dir="rtl"] .quality-item { flex-direction: row-reverse; }
[dir="rtl"] .hero-stats { flex-direction: row-reverse; }
[dir="rtl"] .hero-actions { flex-direction: row-reverse; }
[dir="rtl"] .quality-content .section-title,
[dir="rtl"] .quality-content > p { text-align: right !important; }
[dir="rtl"] .page-hero h1,
[dir="rtl"] .page-hero p { direction: rtl; }
[dir="rtl"] .section-title,
[dir="rtl"] .section-subtitle { direction: rtl; }
[dir="rtl"] .home-card { direction: rtl; }
[dir="rtl"] .about-content { direction: rtl; }
[dir="rtl"] .value-card { direction: rtl; }
[dir="rtl"] .product-card { direction: rtl; }
[dir="rtl"] .equipment-card { direction: rtl; }
[dir="rtl"] .contact-info { direction: rtl; }
[dir="rtl"] .contact-map { direction: rtl; }
[dir="rtl"] .footer p { direction: rtl; }

@media (max-width: 768px) {
  [dir="rtl"] .header-inner { flex-direction: row; }
}
