/* NUTRA Food Products — Design System */

:root {
  --primary-green: #0F5B3B;
  --secondary-green: #2E8B57;
  --light-green: #EAF6EF;
  --scientific-teal: #0E7C86;
  --white: #FFFFFF;
  --dark-text: #1A1A1A;
  --muted-text: #5A5A5A;
  --border: #D4E8DC;
  --shadow: 0 4px 24px rgba(15, 91, 59, 0.08);
  --shadow-lg: 0 12px 48px rgba(15, 91, 59, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-en: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-ar: 'Tajawal', sans-serif;
  --header-height: 80px;
}

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

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

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

html[lang="ar"] body { font-family: var(--font-ar); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--secondary-green); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled { box-shadow: var(--shadow); }

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

.logo img { height: 52px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 4px; }

.main-nav a {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark-text);
  border-radius: 8px;
  transition: all var(--transition);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-green);
  background: var(--light-green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switcher {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.lang-switcher button {
  padding: 6px 12px;
  border: none;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--muted-text);
  transition: all var(--transition);
  font-family: inherit;
}

.lang-switcher button.active {
  background: var(--primary-green);
  color: var(--white);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark-text);
  margin: 5px 0;
  transition: var(--transition);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--secondary-green);
  border-color: var(--secondary-green);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

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

.btn-secondary {
  background: var(--light-green);
  color: var(--primary-green);
  border-color: var(--light-green);
}

.btn-secondary:hover {
  background: var(--primary-green);
  color: var(--white);
}

.btn-teal {
  background: var(--scientific-teal);
  color: var(--white);
  border-color: var(--scientific-teal);
}

.btn-teal:hover {
  background: #0a636b;
  color: var(--white);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: linear-gradient(135deg, var(--primary-green) 0%, #0a3d28 40%, var(--scientific-teal) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(46, 139, 87, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(14, 124, 134, 0.25) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  color: var(--white);
}

.hero-tagline {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 560px;
  opacity: 0.15;
  pointer-events: none;
}

html[dir="rtl"] .hero-visual {
  right: auto;
  left: -5%;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: calc(var(--header-height) + 64px) 0 64px;
  background: linear-gradient(135deg, var(--primary-green), var(--scientific-teal));
  color: var(--white);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.0625rem;
  opacity: 0.9;
  max-width: 640px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  margin-bottom: 20px;
  opacity: 0.8;
}

.breadcrumb a { color: var(--white); }
.breadcrumb span { opacity: 0.6; }

/* ── Sections ── */
.section {
  padding: 80px 0;
}

.section-alt { background: var(--light-green); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--scientific-teal);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--muted-text);
  font-size: 1.0625rem;
}

/* ── Cards Grid ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-green);
}

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--light-green);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-green);
}

.card-icon svg { width: 28px; height: 28px; }

.card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 10px;
}

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

/* ── Product Cards ── */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--light-green), #c8e6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-card-image .product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary-green);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

html[dir="rtl"] .product-card-image .product-badge {
  left: auto;
  right: 16px;
}

.product-card-body { padding: 24px; }

.product-card-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 8px;
}

.product-card-body p {
  font-size: 0.875rem;
  color: var(--muted-text);
  margin-bottom: 16px;
}

/* ── Pillars ── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar {
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.pillar:hover {
  border-color: var(--secondary-green);
  box-shadow: var(--shadow);
}

.pillar-number {
  width: 48px;
  height: 48px;
  background: var(--primary-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0 auto 20px;
}

.pillar h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 10px;
}

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

/* ── Stats ── */
.stats-bar {
  background: var(--primary-green);
  padding: 48px 0;
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.85;
}

/* ── Sustainability Visual ── */
.sustainability-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(180deg, var(--light-green) 0%, var(--white) 100%);
  overflow: hidden;
}

.sustainability-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.sustainability-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sustainability-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.sustainability-list .check-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--light-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
}

/* ── CTA Banner ── */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--scientific-teal), var(--primary-green));
  color: var(--white);
  text-align: center;
}

.cta-banner blockquote {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 500;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 32px;
  line-height: 1.5;
}

/* ── Two Column Layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.two-col.reverse { direction: ltr; }
html[dir="rtl"] .two-col.reverse { direction: rtl; }

.content-block h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 16px;
}

.content-block h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--scientific-teal);
  margin: 24px 0 12px;
}

.content-block p {
  color: var(--muted-text);
  margin-bottom: 16px;
}

.content-block ul {
  list-style: none;
  margin: 16px 0;
}

.content-block ul li {
  padding: 8px 0;
  padding-inline-start: 24px;
  position: relative;
  color: var(--muted-text);
}

.content-block ul li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--secondary-green);
  border-radius: 50%;
}

.visual-block {
  background: linear-gradient(135deg, var(--light-green), #d0edda);
  border-radius: var(--radius-lg);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* ── Timeline ── */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

html[dir="rtl"] .timeline::before { left: 50%; right: auto; }

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding: 20px 0;
  width: 50%;
  position: relative;
}

.timeline-item:nth-child(even) {
  align-self: flex-end;
  margin-left: 50%;
  justify-content: flex-start;
}

html[dir="rtl"] .timeline-item:nth-child(even) { margin-left: 0; margin-right: 50%; }

.timeline-content {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 340px;
  box-shadow: var(--shadow);
}

.timeline-year {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--scientific-teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.timeline-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 8px;
}

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

.timeline-dot {
  position: absolute;
  top: 28px;
  right: -6px;
  width: 12px;
  height: 12px;
  background: var(--primary-green);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary-green);
}

.timeline-item:nth-child(even) .timeline-dot {
  right: auto;
  left: -6px;
}

/* ── Process Steps ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.process-step {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
}

.process-step .step-num {
  width: 40px;
  height: 40px;
  background: var(--scientific-teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 16px;
}

.process-step h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary-green);
}

/* ── Tech Cards ── */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tech-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all var(--transition);
}

.tech-card:hover {
  border-color: var(--scientific-teal);
  box-shadow: var(--shadow);
}

.tech-card .tech-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--light-green);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--scientific-teal);
}

.tech-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 8px;
}

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

/* ── Certifications ── */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cert-card {
  background: var(--white);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  transition: all var(--transition);
}

.cert-card:hover {
  border-color: var(--secondary-green);
  border-style: solid;
}

.cert-card .cert-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  background: var(--light-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
}

.cert-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 8px;
}

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

/* ── Map ── */
.map-section {
  position: relative;
  background: var(--light-green);
  border-radius: var(--radius-lg);
  padding: 48px;
  min-height: 400px;
}

.world-map {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.map-markers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.map-marker {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--white);
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-green);
  cursor: default;
  transition: all var(--transition);
}

.map-marker:hover,
.map-marker.active {
  background: var(--primary-green);
  color: var(--white);
  border-color: var(--primary-green);
}

.map-marker .dot {
  width: 8px;
  height: 8px;
  background: var(--secondary-green);
  border-radius: 50%;
}

.map-marker.active .dot,
.map-marker:hover .dot {
  background: var(--white);
}

/* ── Forms ── */
.form-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9375rem;
  font-family: inherit;
  transition: border-color var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(15, 91, 59, 0.1);
}

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

/* ── Values List ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.value-item {
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius);
  border-inline-start: 4px solid var(--primary-green);
  box-shadow: var(--shadow);
}

.value-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 8px;
}

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

/* ── Product List ── */
.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.product-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--light-green);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--primary-green);
}

.product-list-item::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--secondary-green);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Footer ── */
.site-footer {
  background: #0a2e1e;
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img { height: 48px; margin-bottom: 16px; }

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--white); }

.footer-contact p {
  font-size: 0.875rem;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--secondary-green);
  color: var(--white);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ── Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Mobile Nav ── */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition);
}

html[dir="rtl"] .mobile-nav { transform: translateX(-100%); }

.mobile-nav.open {
  transform: translateX(0);
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark-text);
  border-bottom: 1px solid var(--border);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col, .sustainability-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .pillars-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .timeline::before { left: 20px; }
  html[dir="rtl"] .timeline::before { left: auto; right: 20px; }
  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 48px;
    justify-content: flex-start;
  }
  html[dir="rtl"] .timeline-item,
  html[dir="rtl"] .timeline-item:nth-child(even) {
    padding-left: 0;
    padding-right: 48px;
  }
  .timeline-dot { left: 14px !important; right: auto !important; }
  html[dir="rtl"] .timeline-dot { left: auto !important; right: 14px !important; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr; }
}
