/* ═══ Nexaneon — Main Stylesheet ═══ */

:root {
  --bg-deep: #060714;
  --bg-dark: #0b0d1e;
  --bg-card: #0f1229;
  --bg-card-hover: #141738;
  --cyan: #00c8ff;
  --cyan-dim: rgba(0, 200, 255, 0.08);
  --cyan-glow: rgba(0, 200, 255, 0.35);
  --magenta: #c040e0;
  --magenta-dim: rgba(192, 64, 224, 0.1);
  --magenta-glow: rgba(192, 64, 224, 0.3);
  --text: #e4e8f1;
  --text-secondary: #8b93a8;
  --text-muted: #505872;
  --border: rgba(255,255,255,0.06);
  --border-cyan: rgba(0, 200, 255, 0.2);
}

/* ═══ Light Theme ═══ */
[data-theme="light"] {
  --bg-deep: #F7F7FA;
  --bg-dark: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #E9E5FF;
  --cyan: #6754E9;
  --cyan-dim: rgba(103, 84, 233, 0.08);
  --cyan-glow: rgba(103, 84, 233, 0.25);
  --magenta: #FFBE11;
  --magenta-dim: rgba(255, 190, 17, 0.1);
  --magenta-glow: rgba(255, 190, 17, 0.25);
  --text: #000000;
  --text-secondary: rgba(0, 0, 0, 0.7);
  --text-muted: #555555;
  --border: #E2E2E2;
  --border-cyan: rgba(103, 84, 233, 0.2);
}
[data-theme="light"] nav {
  background: rgba(255, 255, 255, 0.85);
}
[data-theme="light"] .nav-links.active {
  background: rgba(255, 255, 255, 0.95);
}
[data-theme="light"] .service-card:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 0 40px var(--cyan-dim);
}
[data-theme="light"] .form-group select option {
  background: #FFFFFF;
}
[data-theme="light"] .logo-dark {
  display: none;
}
[data-theme="light"] .logo-light {
  display: inline-block;
}

/* Keep dark-mode gradient on buttons and titles in light mode */
[data-theme="light"] .nav-cta {
  background: linear-gradient(135deg, #00c8ff, #c040e0) !important;
}
[data-theme="light"] .nav-links a::after {
  background: linear-gradient(90deg, #00c8ff, #c040e0);
}
[data-theme="light"] .hero h1 em {
  background: linear-gradient(135deg, #00c8ff, #c040e0);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, #00c8ff, #c040e0);
}
[data-theme="light"] .btn-submit {
  background: linear-gradient(135deg, #00c8ff, #c040e0);
}
[data-theme="light"] .section-label {
  background: linear-gradient(90deg, #00c8ff, #c040e0);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
[data-theme="light"] .stat-card .num {
  background: linear-gradient(135deg, #00c8ff, #c040e0);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
[data-theme="light"] .service-card::before {
  background: linear-gradient(90deg, #00c8ff, #c040e0);
}
[data-theme="light"] .feature-dot {
  background: linear-gradient(135deg, #00c8ff, #c040e0);
}

/* Keep hero content readable over the workshop image in light mode. */
[data-theme="light"] .hero .logo-light {
  display: none;
}
[data-theme="light"] .hero .logo-dark {
  display: inline-block;
}
[data-theme="light"] .hero h1,
[data-theme="light"] .hero h1 em,
[data-theme="light"] .hero p,
[data-theme="light"] .hero .hero-tag {
  color: #fff;
}
[data-theme="light"] .hero h1 em {
  background: none;
  -webkit-text-fill-color: #fff;
}
[data-theme="light"] .hero .hero-tag {
  background: rgba(6, 7, 20, 0.35);
  border-color: rgba(255, 255, 255, 0.45);
}
[data-theme="light"] .hero .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}
[data-theme="light"] .hero .btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .social-links,
html[dir="rtl"] .story-chips,
html[dir="rtl"] .supply-chips,
html[dir="rtl"] .brands-strip-inner { direction: rtl; }
html[dir="rtl"] .mission-vision {
  padding: 8px 36px 8px 0;
  border-left: 0;
  border-right: 1px solid var(--border-cyan);
}
html[dir="rtl"] .service-list li,
html[dir="rtl"] .capabilities-card li,
html[dir="rtl"] .equipment-card li {
  padding-left: 0;
  padding-right: 22px;
}
html[dir="rtl"] .service-list li::before,
html[dir="rtl"] .capabilities-card li::before,
html[dir="rtl"] .equipment-card li::before {
  left: auto;
  right: 0;
}
html[dir="rtl"] .contact-detail { text-align: right; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* ═══ NAV ═══ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  background: rgba(6, 7, 20, 0.8);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}
nav.scrolled { padding: 10px 0; }
nav .container { display: flex; justify-content: space-between; align-items: center; }

.logo-link {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--text);
}
.logo-light {
  display: none;
}
.logo-dark {
  display: inline-block;
}
.logo-text {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600; font-size: 1.4rem; letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}
.nav-links .nav-emergency {
  display: inline-flex;
}
.nav-links a {
  text-decoration: none; color: var(--text-secondary);
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.3px;
  transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* ═══ Services Dropdown (hover, desktop) ═══ */
.nav-item-dropdown { position: relative; }
.nav-item-dropdown > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-chevron { width: 10px; height: 10px; opacity: 0.7; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 6px);
  min-width: 250px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--border-cyan);
  border-radius: 12px;
  background: var(--bg-card);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.nav-item-dropdown:hover .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav-dropdown a { display: block; padding: 9px 14px; font-size: 0.82rem; white-space: nowrap; }
.nav-dropdown a::after { display: none; }
.nav-dropdown a:hover { background: var(--cyan-dim); border-radius: 8px; }
.nav-cta {
  background: linear-gradient(135deg, var(--cyan), var(--magenta)) !important;
  color: #fff !important; padding: 9px 22px !important;
  border-radius: 6px; font-weight: 600 !important;
  transition: box-shadow 0.3s, transform 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  box-shadow: 0 4px 24px var(--cyan-glow), 0 4px 24px var(--magenta-glow);
  transform: translateY(-1px);
}
.nav-emergency {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--cyan);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  white-space: nowrap;
  padding: 7px 14px;
  border: 1px solid rgba(255, 94, 120, 0.45);
  border-radius: 999px;
  background: rgba(255, 94, 120, 0.08);
  transition: color 0.3s, background 0.3s, border-color 0.3s;
}
.nav-emergency::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5e78;
  box-shadow: 0 0 8px rgba(255, 94, 120, 0.8);
  animation: emergencyBlink 1.6s ease-in-out infinite;
}
.nav-emergency:hover {
  color: var(--text);
  background: rgba(255, 94, 120, 0.16);
  border-color: rgba(255, 94, 120, 0.7);
}
.nav-emergency::after { display: none !important; }
@keyframes emergencyBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  line-height: 0;
}
.hamburger:focus-visible,
.toggle-label:focus-visible,
.nav-links a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); margin: 5px 0; transition: 0.3s;
}

/* ═══ Nav Group (links + toggle + hamburger) ═══ */
.nav-group {
  display: flex; align-items: center; gap: 16px;
}

/* ═══ Language Switcher ═══ */
.language-switcher {
  position: relative;
}
.language-current {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border: 1px solid var(--border-cyan);
  border-radius: 999px;
  background: var(--bg-card);
  box-shadow: 0 0 12px var(--cyan-dim);
  color: var(--text);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}
.language-current:hover { background: var(--cyan-dim); }
.language-current:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.language-chevron { width: 12px; height: 12px; opacity: 0.7; }
.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 150px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--border-cyan);
  border-radius: 12px;
  background: var(--bg-card);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.language-menu[hidden] { display: none; }
.language-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.language-link:hover,
.language-link.active {
  background: var(--cyan-dim);
  border-color: var(--border-cyan);
  color: var(--text);
}
.language-link:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.language-name { white-space: nowrap; }

/* ═══ Theme Toggle Switch ═══ */
.toggle-wrapper {
  display: flex;
  align-items: center;
}
.toggle-input {
  display: none !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-label {
  position: relative;
  width: 52px;
  height: 28px;
  display: block;
  background: #1a1f36;
  border-radius: 100px;
  cursor: pointer;
  border: 1px solid rgba(0, 200, 255, 0.2);
  box-shadow: inset 0px 2px 6px rgba(0,0,0,0.3), inset 0px -2px 6px rgba(255,255,255,0.05);
  transition: background 0.4s, border-color 0.4s;
}
.toggle-ball {
  position: absolute;
  height: 22px;
  width: 22px;
  background: linear-gradient(135deg, #00c8ff, #c040e0);
  border-radius: 50%;
  top: 2px;
  left: 3px;
  transition: transform 0.4s ease, background 0.4s;
  box-shadow: 0 2px 8px rgba(0, 200, 255, 0.3);
}
.toggle-input:checked + .toggle-label {
  background: #e8edf3;
  border-color: rgba(103, 84, 233, 0.2);
}
.toggle-icon {
  position: absolute;
  z-index: 1;
  width: 13px;
  height: 13px;
  top: 6px;
  fill: none;
  stroke: rgba(255,255,255,0.75);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.toggle-sun { left: 7px; }
.toggle-moon { right: 7px; display: none; }
.toggle-input:checked + .toggle-label .toggle-sun { display: none; }
.toggle-input:checked + .toggle-label .toggle-moon {
  display: block;
  stroke: #6754e9;
}
.toggle-input:checked + .toggle-label .toggle-ball {
  transform: translateX(23px);
  background: linear-gradient(135deg, #6754e9, #c040e0);
  box-shadow: 0 2px 8px rgba(103, 84, 233, 0.4);
}

/* ═══ HERO ═══ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; padding-top: 80px; overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(6, 7, 20, 0.82), rgba(6, 7, 20, 0.72)),
    url("../images/Gemini_Generated_Image_4fm1mc4fm1mc4fm1(1).jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero::before {
  content: '';
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px; border-radius: 50%;
  background: conic-gradient(from 200deg, transparent 0%, var(--cyan) 15%, var(--magenta) 35%, transparent 50%);
  opacity: 0.18; filter: blur(80px); pointer-events: none;
  animation: heroGlow 12s ease-in-out infinite alternate;
}
.hero::after {
  content: '';
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px; border-radius: 50%;
  border: 1.5px solid transparent;
  background: conic-gradient(from 180deg, transparent 30%, var(--cyan) 45%, var(--magenta) 55%, transparent 70%) border-box;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude; -webkit-mask-composite: xor;
  opacity: 0.25; animation: spin 20s linear infinite; pointer-events: none;
}
@keyframes heroGlow {
  0% { opacity: 0.15; transform: translateX(-50%) scale(1); }
  100% { opacity: 0.22; transform: translateX(-50%) scale(1.05); }
}
@keyframes spin { to { transform: translateX(-50%) rotate(360deg); } }

.hero-content {
  text-align: center; position: relative; z-index: 2;
  max-width: 760px; margin: 0 auto;
}
.hero-logo {
  margin-bottom: 32px;
  animation: fadeInDown 0.8s ease both;
}
.hero-logo img {
  height: 120px;
  width: auto;
  filter: drop-shadow(0 0 30px var(--cyan-glow));
}

.hero-tag {
  display: inline-flex; align-items: center;
  background: linear-gradient(135deg, var(--cyan-dim), var(--magenta-dim));
  border: 1px solid var(--border-cyan);
  padding: 6px 18px; border-radius: 20px;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 28px;
  animation: fadeInUp 0.8s ease both;
}
.hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 3.8rem; font-weight: 700;
  line-height: 1.08; margin-bottom: 20px;
  animation: fadeInUp 0.8s 0.1s ease both;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 1.05rem; color: var(--text-secondary);
  max-width: 560px; margin: 0 auto 40px;
  animation: fadeInUp 0.8s 0.2s ease both;
}
.hero-actions {
  display: flex; gap: 16px; justify-content: center;
  animation: fadeInUp 0.8s 0.3s ease both;
}

/* ═══ Buttons ═══ */
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  color: #fff; padding: 14px 36px; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: none; cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: transform 0.2s, box-shadow 0.3s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--cyan-glow), 0 8px 32px var(--magenta-glow);
}
.btn-outline {
  background: transparent; color: var(--text);
  padding: 14px 36px; border-radius: 8px;
  font-weight: 500; font-size: 0.95rem; text-decoration: none;
  border: 1px solid var(--border-cyan);
  transition: border-color 0.3s, background 0.3s;
}
.btn-outline:hover {
  border-color: var(--cyan); background: var(--cyan-dim);
}

/* ═══ Sections ═══ */
section { padding: 110px 0; position: relative; }
.section-label {
  display: inline-block;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.5rem; font-weight: 700;
  line-height: 1.12; margin-bottom: 14px;
}
.section-sub {
  color: var(--text-secondary); font-size: 1rem;
  max-width: 520px; margin-bottom: 56px;
}

/* ═══ COMPANY STORY ═══ */
.story-section {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 56px;
  align-items: start;
}
.story-content .section-title { max-width: 560px; }
.mission-section {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.story-image {
  width: 100%;
  min-height: 420px;
  margin: 0;
  border: 1px solid var(--border-cyan);
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--bg-card);
  background-image: url("../images/story-engineers.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24), 0 0 36px var(--cyan-dim);
}

.story-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 600px;
}
.story-content .story-lead {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.story-content strong { color: var(--text); }
.mission-card {
  background: var(--bg-card);
  border: 1px solid var(--border-cyan);
  border-radius: 18px;
  padding: 42px 48px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28), 0 0 42px var(--cyan-dim);
  position: relative;
}
.mission-card > .section-label { margin-bottom: 24px; }
.mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 56px;
  align-items: start;
}
.mission-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.05;
  margin-bottom: 18px;
  max-width: 620px;
}
.mission-main > p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 680px;
}
.mission-vision {
  margin: 0;
  padding: 8px 0 8px 36px;
  border-top: 0;
  border-left: 1px solid var(--border-cyan);
}
.mission-vision h4,
.story-detail h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.mission-vision h4 {
  color: var(--cyan);
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.mission-vision p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.75;
}
.story-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}
.story-detail {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.story-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.story-chips li {
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  background: var(--cyan-dim);
  border: 1px solid var(--border-cyan);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.75rem;
  line-height: 1.4;
  white-space: nowrap;
}

/* ═══ SERVICES ═══ */
#services {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.services-heading {
  margin-bottom: 52px;
  text-align: center;
}
.services-heading .section-sub {
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
}
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 18px;
}
.service-card {
  flex: 0 0 260px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}
/* Fixed-width cards wrap into centered rows automatically. */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  opacity: 0;
  transition: opacity 0.35s;
}
.service-card::after {
  content: '';
  position: absolute;
  width: 150px; height: 150px;
  right: -90px; bottom: -90px;
  border-radius: 50%;
  background: var(--cyan-dim);
  filter: blur(4px);
  pointer-events: none;
  transition: transform 0.45s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 200, 255, 0.22);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px var(--cyan-dim);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { transform: scale(2.2); }
.service-card-top {
  display: flex;
  align-items: flex-start;
  margin-bottom: 22px;
}
.service-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan-dim), var(--magenta-dim));
  border: 1px solid var(--border-cyan);
  display: flex; align-items: center; justify-content: center;
}
.service-icon svg { width: 23px; height: 23px; }
.service-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem; font-weight: 600;
  line-height: 1.15;
  margin-bottom: 10px;
}
.service-card > p {
  color: var(--text-secondary);
  font-size: 0.84rem;
  line-height: 1.7;
  margin-bottom: 18px;
}
.service-list {
  list-style: none;
  margin-bottom: 18px;
}
.service-list li {
  color: var(--text-muted);
  font-size: 0.79rem;
  padding: 5px 0 5px 18px;
  position: relative;
  line-height: 1.45;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.72em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.6;
}
.btn-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: auto;
  padding-top: 15px;
  color: var(--cyan);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  transition: color 0.3s, gap 0.3s;
}
.btn-learn-more span { font-size: 1.05rem; line-height: 0; }
#services .service-card {
  height: 100%;
}
#services .btn-learn-more {
  margin-top: auto;
}
#services .btn-learn-more:hover { color: var(--text); gap: 12px; }


/* ═══ SUPPLY ═══ */
.supply-section {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
}
.supply-band {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
.supply-visual {
  flex: 0 0 240px;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.supply-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.supply-content {
  flex: 1;
  min-width: 0;
}
.supply-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.6rem; font-weight: 700;
  line-height: 1.15;
  margin: 8px 0 10px;
}
.supply-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 14px;
  max-width: 640px;
}
.supply-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.supply-chips li {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--text-muted);
  background: var(--cyan-dim);
  border: 1px solid var(--border-cyan);
  border-radius: 999px;
  padding: 5px 12px;
  white-space: nowrap;
}
.supply-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  flex-shrink: 0;
}

/* ═══ CLIENTS ═══ */
.clients-section {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
}
.clients-heading {
  text-align: center;
}
.clients-heading .section-sub {
  margin-left: auto;
  margin-right: auto;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.client-logo {
  min-height: 116px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.client-logo:hover {
  border-color: var(--border-cyan);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--cyan-dim);
}
.client-logo img {
  display: block;
  width: min(100%, 180px);
  height: 64px;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1) opacity(0.86);
  transition: filter 0.3s;
}
[data-theme="light"] .client-logo img {
  filter: grayscale(1) brightness(0) opacity(0.68);
}
[data-theme="light"] .client-logo:hover img {
  filter: grayscale(1) brightness(0) opacity(0.86);
}
.client-logo-image-agc {
  width: min(100%, 160px) !important;
}


/* ═══ WHY US ═══ */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 64px;
}
.stat-card {
  text-align: center; padding: 36px 16px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; transition: border-color 0.3s;
}
.stat-card:hover { border-color: var(--border-cyan); }
.stat-card .num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.8rem; font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-card .desc { font-size: 0.82rem; color: var(--text-muted); margin-top: 6px; }

.features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.feature-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 24px; border-radius: 12px;
  background: var(--bg-card); border: 1px solid var(--border);
  transition: border-color 0.3s;
}
.feature-item:hover { border-color: var(--border-cyan); }
.feature-dot {
  width: 10px; height: 10px; min-width: 10px;
  border-radius: 50%; margin-top: 5px;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  box-shadow: 0 0 10px var(--cyan-glow);
}
.feature-item h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.08rem; font-weight: 600; margin-bottom: 4px;
}
.feature-item p { color: var(--text-secondary); font-size: 0.85rem; }

/* ═══ PROCESS ═══ */
#process {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--cyan) 0 7px,
    transparent 7px 14px
  );
  opacity: 0.45;
  z-index: 0;
}
.step { text-align: center; position: relative; min-width: 0; z-index: 1; }
.step-image {
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: var(--bg-dark);
}
.step-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.45s ease;
}
.step:hover .step-image img { transform: scale(1.04); }
.step h4 {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.step-index {
  flex: 0 0 auto;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  color: var(--cyan);
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.step p {
  color: var(--text-secondary);
  font-size: 0.82rem;
}

/* ═══ CONTACT ═══ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem; font-weight: 600; margin-bottom: 16px;
}
.contact-info > p { color: var(--text-secondary); margin-bottom: 32px; font-size: 0.95rem; }
.contact-detail { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan-dim), var(--magenta-dim));
  border: 1px solid var(--border-cyan);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; stroke: var(--cyan); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-detail .label {
  font-size: 0.72rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px;
}
.contact-detail .value { font-weight: 500; font-size: 0.92rem; }

.social-links { display: flex; gap: 12px; margin-top: 32px; }
.social-link {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s, background 0.3s, transform 0.2s;
  text-decoration: none;
}
.social-link:hover {
  border-color: var(--border-cyan); background: var(--cyan-dim); transform: translateY(-2px);
}
.social-link svg { width: 18px; height: 18px; fill: var(--text-secondary); }
.social-link:hover svg { fill: var(--cyan); }
.social-link.whatsapp-link svg {
  fill: var(--text-secondary);
}
.social-link.whatsapp-link:hover svg {
  fill: var(--cyan);
}
.social-link.instagram-link svg {
  fill: none;
  stroke: var(--text-secondary);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.social-link.instagram-link:hover svg {
  fill: none;
  stroke: var(--cyan);
}
.morocco-flag {
  display: inline-block;
  width: auto;
  height: auto;
  font-size: 1rem;
  line-height: 1;
  margin-left: 4px;
  vertical-align: -2px;
}

.contact-form {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 0.75rem; font-weight: 500;
  color: var(--text-muted); margin-bottom: 7px;
  text-transform: uppercase; letter-spacing: 0.8px;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px;
  background: var(--bg-deep); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text);
  font-family: 'Poppins', sans-serif; font-size: 0.9rem;
  transition: border-color 0.3s; outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-dim);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select option { background: var(--bg-card); }
.btn-submit {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  color: #fff; border: none; border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--cyan-glow), 0 8px 32px var(--magenta-glow);
}

/* ═══ FOOTER ═══ */
footer {
  background: var(--bg-dark); border-top: 1px solid var(--border);
  padding: 50px 0 24px;
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 36px; flex-wrap: wrap; gap: 36px;
}
.footer-brand p {
  color: var(--text-muted); font-size: 0.85rem;
  max-width: 300px; margin-top: 10px;
}
.footer-col h5 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--text-muted); margin-bottom: 14px;
}
.footer-col a {
  display: block; color: var(--text-secondary);
  text-decoration: none; font-size: 0.88rem;
  padding: 3px 0; transition: color 0.3s;
}
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  text-align: center; padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem; color: var(--text-muted);
}

/* ═══ SERVICE DETAIL PAGES ═══ */

/* Hero */
.service-hero {
  padding-top: 120px; padding-bottom: 70px;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.service-hero::before {
  content: '';
  position: absolute; top: -60%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: conic-gradient(from 200deg, transparent 0%, var(--cyan) 15%, var(--magenta) 35%, transparent 50%);
  opacity: 0.1; filter: blur(80px); pointer-events: none;
}
.service-hero-content { max-width: 700px; position: relative; z-index: 1; }
.service-hero.has-bg {
  background-size: cover; background-position: center 60%;
  border-bottom: none;
}
.service-hero.has-bg::before { display: none; }
.service-hero.has-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5,10,20,0.88) 0%, rgba(5,10,20,0.65) 55%, rgba(5,10,20,0.35) 100%);
  pointer-events: none;
}
.service-hero.has-bg .container { position: relative; z-index: 1; }
.service-hero.has-bg .service-hero-title { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
.service-hero.has-bg .service-hero-sub { color: rgba(255,255,255,0.85); }
.service-hero.has-bg .back-link { color: #fff; background: rgba(0,0,0,0.35); padding: 6px 12px; border-radius: 8px; }
.service-hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.8rem; font-weight: 700; line-height: 1.1; margin-bottom: 14px;
}
.service-hero-sub {
  color: var(--text-secondary); font-size: 1.05rem; line-height: 1.6;
}
.back-link {
  display: inline-block; color: var(--cyan); text-decoration: none;
  font-size: 0.85rem; font-weight: 500; margin-bottom: 28px;
  transition: color 0.3s;
}
.back-link:hover { color: var(--text); }

/* Learn More on homepage cards */
.btn-learn-more {
  display: inline-block; margin-top: 18px;
  color: var(--cyan); text-decoration: none;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.3px; transition: color 0.3s;
}
.btn-learn-more:hover { color: var(--text); }

/* Overview + Capabilities */
.service-overview { background: var(--bg-deep); }
.overview-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
}
.overview-text p {
  color: var(--text-secondary); font-size: 0.95rem; line-height: 1.75; margin-top: 12px;
}
.capabilities-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 32px 28px;
}
.capabilities-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.15rem; font-weight: 600; margin-bottom: 18px; color: var(--cyan);
}
.capabilities-card ul { list-style: none; }
.capabilities-card li {
  color: var(--text-secondary); font-size: 0.85rem;
  padding: 6px 0 6px 22px; position: relative; line-height: 1.5;
}
.capabilities-card li::before {
  content: '✓'; position: absolute; left: 0; color: var(--cyan);
  font-size: 0.8rem; font-weight: 700;
}

/* Equipment Grid */
.equipment-section {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-bottom: 70px;
}
.equipment-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.equipment-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px 24px;
  transition: border-color 0.3s;
}
.equipment-card:hover { border-color: var(--border-cyan); }
.equipment-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.15rem; font-weight: 600; margin-bottom: 4px;
}
.equipment-desc {
  color: var(--text-muted); font-size: 0.78rem; margin-bottom: 14px;
}
.equipment-card ul { list-style: none; }
.equipment-card li {
  color: var(--text-secondary); font-size: 0.84rem;
  padding: 4px 0 4px 16px; position: relative; line-height: 1.55;
}
.equipment-card li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--cyan); opacity: 0.5;
}

/* Brands Strip */
.brands-strip {
  background: var(--bg-deep); padding: 30px 0 70px;
}
.brands-header { text-align: center; margin-bottom: 22px; }
.brands-header .section-label { margin-bottom: 0; }
.brands-strip-inner {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
}
.brand-tag {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 6px; padding: 8px 18px;
  font-family: 'Rajdhani', sans-serif; font-weight: 600;
  font-size: 0.85rem; color: var(--text-secondary);
  letter-spacing: 0.3px;
}

/* Service Gallery */
.service-gallery {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
button.gallery-item {
  padding: 0; background: none; font: inherit; color: inherit;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3; cursor: zoom-in;
  position: relative; display: block; width: 100%;
}
button.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s;
}
button.gallery-item:hover img,
button.gallery-item:focus-visible img {
  transform: scale(1.05);
}
button.gallery-item:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.gallery-zoom {
  position: absolute; right: 10px; bottom: 10px;
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.55); color: #fff; font-size: 1rem;
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
button.gallery-item:hover .gallery-zoom,
button.gallery-item:focus-visible .gallery-zoom { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: rgba(3,5,12,0.92);
  opacity: 0; visibility: hidden; transition: opacity 0.3s;
  padding: 40px 60px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-img {
  max-width: min(1100px, 88vw); max-height: 85vh;
  border-radius: 12px; border: 1px solid var(--border);
  object-fit: contain;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,0.08); color: #fff;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 50%;
  width: 44px; height: 44px; font-size: 1.4rem; line-height: 1;
  cursor: pointer; transition: background 0.3s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.2); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 960px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .lightbox { padding: 20px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* CTA Section */
.cta-section {
  background: var(--bg-dark); border-top: 1px solid var(--border);
}
.cta-content {
  text-align: center; max-width: 560px; margin: 0 auto;
}
.cta-content .section-sub { margin: 0 auto 36px; }

/* ═══ Animations ═══ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══ Responsive ═══ */
@media (max-width: 960px) {
  .language-switcher { position: relative; }
  .hero h1 { font-size: 2.8rem; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .overview-grid { grid-template-columns: 1fr; }
  .equipment-grid { grid-template-columns: 1fr; }
  .service-hero-title { font-size: 2.4rem; }
  .supply-band { flex-direction: column; align-items: flex-start; }
  .supply-visual { width: 210px; height: 210px; flex-basis: 210px; align-self: center; }
  .supply-cta { flex-direction: row; align-items: center; }
  .services-grid { gap: 16px; }
}
@media (max-width: 767px) {
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .supply-visual { width: 175px; height: 175px; flex-basis: 175px; }
  .story-image { min-height: 260px; }
  .mission-card { padding: 30px 24px; }
  .mission-card > .section-label { margin-bottom: 18px; }
  .mission-grid { grid-template-columns: 1fr; gap: 28px; }
  .mission-vision { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--border-cyan); }
}

@media (max-width: 1024px) {
  nav { padding: 14px 0; }
  nav.scrolled { padding: 9px 0; }
  nav .container { padding-left: 20px; padding-right: 20px; }
  .logo-link img { height: 29px; width: auto; }
  .nav-group { gap: 12px; }
  .nav-links { gap: 17px; }
  .nav-links a { font-size: 0.78rem; }
  .nav-cta { padding: 8px 16px !important; }
  .toggle-label { transform: scale(0.9); transform-origin: right center; }
}

@media (max-width: 860px) {
  nav .container { position: relative; }
  .nav-group { gap: 14px; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: calc(100% + 14px);
    left: 20px;
    right: 20px;
    padding: 10px;
    background: rgba(6, 7, 20, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  }
  .nav-links.active { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 11px 12px;
    font-size: 0.86rem;
  }
  .nav-links a::after { display: none; }
  .nav-item-dropdown > a { display: block; }
  .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 2px 14px;
    min-width: 0;
  }
  .nav-dropdown a { font-size: 0.8rem; padding: 8px 12px; }
  .nav-links .nav-cta {
    margin-top: 4px;
    text-align: center;
  }
  .nav-links .nav-emergency {
    display: inline-flex;
    padding-left: 12px;
    color: var(--cyan);
  }
  .nav-emergency::before { flex-shrink: 0; }
  .hamburger { display: block; }
}

@media (max-width: 640px) {
  .step-image { width: 88px; height: 88px; }
  .step h4 { gap: 6px; }
  .step-index { font-size: 1.05rem; }
  .hero h1 { font-size: 2.2rem; }
  .section-title { font-size: 2rem; }
  .process-steps { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: 1fr; }
  nav { padding: 12px 0; }
  nav.scrolled { padding: 8px 0; }
  nav .container { padding-left: 16px; padding-right: 16px; }
  .logo-link img { height: 25px; }
  .nav-group { gap: 8px; }
  .toggle-label { transform: scale(0.82); }
  .nav-links {
    top: calc(100% + 12px);
    left: 16px;
    right: 16px;
  }
  .form-row { grid-template-columns: 1fr; }
  .story-details { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .service-hero { padding-top: 100px; padding-bottom: 50px; }
  .service-hero-title { font-size: 2rem; }
  .services-heading { margin-bottom: 36px; }
  .services-heading .section-sub { margin-top: 20px; margin-bottom: 0; }
  .services-grid { gap: 16px; }
  .service-card { flex: 1 1 100%; max-width: 100%; }
}
