/* ============================
   OP & ICU Medical
   Design system + animations
============================ */

:root {
  --bg-0: #060a14;
  --bg-1: #0b1220;
  --bg-2: #111a2e;
  --bg-3: #16223b;
  --surface: rgba(20, 30, 52, 0.65);
  --surface-2: rgba(28, 41, 70, 0.7);
  --border: rgba(148, 188, 230, 0.14);
  --border-strong: rgba(148, 188, 230, 0.28);

  --text: #e8eef9;
  --text-soft: #b6c1d6;
  --text-muted: #8794ad;

  --brand-1: #5cb6ff;   /* light blue from logo */
  --brand-2: #79d8ef;   /* cyan accent */
  --brand-3: #b8e0ff;   /* pale blue */
  --brand-4: #2a7fd8;   /* deep blue */
  --accent: #5cb6ff;
  --whatsapp: #25d366;
  --facebook: #1877f2;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-lg: 0 30px 60px -25px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px rgba(92, 182, 255, 0.25);

  --container: 1200px;
  --transition: 0.35s cubic-bezier(.2, .8, .2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Tajawal', 'Cairo', system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { padding-inline-start: 1.2em; margin: 0; }
code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  background: rgba(92, 182, 255, 0.12);
  color: var(--brand-3);
  padding: 0.1em 0.45em;
  border-radius: 6px;
  font-size: 0.9em;
  direction: ltr;
  display: inline-block;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: clamp(18px, 4vw, 36px);
}

/* ===== Animated background ===== */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(42, 127, 216, 0.25), transparent 50%),
    radial-gradient(ellipse at 20% 100%, rgba(121, 216, 239, 0.18), transparent 55%),
    linear-gradient(180deg, #060a14 0%, #0a1224 50%, #060a14 100%);
  overflow: hidden;
}
.grid-overlay {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(148, 188, 230, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 188, 230, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  animation: gridDrift 30s linear infinite;
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 60px 60px, 60px 60px; }
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
}
.glow-1 { width: 480px; height: 480px; background: #2a7fd8; top: -120px; right: -100px; animation: glowFloat 14s ease-in-out infinite; }
.glow-2 { width: 380px; height: 380px; background: #79d8ef; bottom: -120px; left: -80px; animation: glowFloat 18s ease-in-out infinite reverse; }
.glow-3 { width: 320px; height: 320px; background: #5cb6ff; top: 40%; left: 50%; transform: translate(-50%, -50%); opacity: 0.25; animation: glowFloat 22s ease-in-out infinite; }
@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.1); }
}
.ecg-line {
  position: absolute;
  bottom: 12%;
  left: 0;
  width: 100%;
  height: 80px;
  opacity: 0.18;
}
.ecg-line path {
  fill: none;
  stroke: var(--brand-2);
  stroke-width: 1.8;
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  animation: ecgDraw 6s linear infinite;
  filter: drop-shadow(0 0 6px var(--brand-2));
}
@keyframes ecgDraw {
  0% { stroke-dashoffset: 1500; }
  60% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -1500; }
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  padding: 14px 0;
  transition: var(--transition);
  backdrop-filter: blur(0);
}
.header.scrolled {
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(92, 182, 255, 0.35));
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-weight: 900;
  font-size: 1.15rem;
  background: linear-gradient(135deg, #fff 0%, var(--brand-1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.5px;
}
.brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
}
.nav {
  display: flex;
  gap: 6px;
  align-items: center;
}
.nav a {
  position: relative;
  padding: 8px 14px;
  font-size: 0.95rem;
  color: var(--text-soft);
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
}
.nav a::before {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav a:hover { color: var(--text); }
.nav a:hover::before { width: calc(100% - 28px); }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  position: relative;
}
.menu-btn span {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  background: var(--text);
  transform: translateX(-50%);
  border-radius: 2px;
  transition: var(--transition);
}
.menu-btn span:nth-child(1) { top: 14px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn span:nth-child(3) { top: 28px; }
.menu-btn.open span:nth-child(1) { top: 21px; transform: translateX(-50%) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { top: 21px; transform: translateX(-50%) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.97rem;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-4) 0%, var(--brand-1) 100%);
  box-shadow: 0 12px 30px -10px rgba(92, 182, 255, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(92, 182, 255, 0.75);
}
.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border-strong);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--brand-1);
  transform: translateY(-2px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 100px;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--brand-3);
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}
.pulse-dot {
  width: 9px;
  height: 9px;
  background: var(--brand-1);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(92, 182, 255, 0.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(92, 182, 255, 0.7); }
  70% { box-shadow: 0 0 0 14px rgba(92, 182, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(92, 182, 255, 0); }
}
.hero-title {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  font-size: clamp(1.9rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 22px;
  letter-spacing: -0.3px;
}
.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, var(--brand-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.gradient-blue {
  background: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-soft);
  margin: 0 0 32px;
  max-width: 620px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 560px;
}
.stat {
  text-align: center;
  padding: 18px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.stat:hover {
  border-color: var(--brand-1);
  transform: translateY(-3px);
}
.stat-num {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: 'Cairo', sans-serif;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hero visual */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.orbit {
  position: relative;
  width: min(440px, 90vw);
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.orbit-ring {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(148, 188, 230, 0.25);
  border-radius: 50%;
}
.ring-1 { animation: spin 30s linear infinite; }
.ring-2 { inset: 12%; border-style: solid; border-color: rgba(92, 182, 255, 0.15); animation: spin 22s linear infinite reverse; }
.ring-3 { inset: 26%; border-style: dotted; border-color: rgba(121, 216, 239, 0.3); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.logo-glow {
  position: absolute;
  inset: 25%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 182, 255, 0.4) 0%, transparent 70%);
  filter: blur(30px);
  animation: pulseGlow 4s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}
.hero-logo {
  position: relative;
  width: 65%;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 20px 40px rgba(92, 182, 255, 0.4));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.floater {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  color: var(--brand-1);
  box-shadow: var(--shadow-lg);
  animation: floatItem 8s ease-in-out infinite;
}
.floater svg { width: 26px; height: 26px; }
.f1 { top: 5%; right: 12%; animation-delay: 0s; color: var(--brand-2); }
.f2 { top: 18%; left: 5%; animation-delay: 1.5s; color: var(--brand-3); }
.f3 { bottom: 12%; right: 8%; animation-delay: 3s; color: #ff7e9b; }
.f4 { bottom: 8%; left: 14%; animation-delay: 4.5s; color: var(--brand-1); }
@keyframes floatItem {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-18px) rotate(6deg); }
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid var(--border-strong);
  border-radius: 999px;
  display: flex;
  justify-content: center;
}
.scroll-cue span {
  display: block;
  width: 4px;
  height: 8px;
  background: var(--brand-1);
  margin-top: 8px;
  border-radius: 4px;
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ===== Section base ===== */
.section {
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
}
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 70px);
}
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(92, 182, 255, 0.12);
  color: var(--brand-1);
  border: 1px solid rgba(92, 182, 255, 0.25);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Cairo', sans-serif;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 900;
  margin: 0 0 14px;
  line-height: 1.3;
  background: linear-gradient(135deg, #ffffff 30%, var(--brand-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-desc {
  color: var(--text-soft);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  margin: 0;
}

/* ===== Features ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.feature {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(92, 182, 255, 0), rgba(92, 182, 255, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: var(--transition);
}
.feature:hover {
  transform: translateY(-6px);
  background: var(--surface-2);
}
.feature:hover::before { opacity: 1; }
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(92, 182, 255, 0.2), rgba(92, 182, 255, 0.05));
  border: 1px solid rgba(92, 182, 255, 0.25);
  color: var(--brand-1);
}
.feature-icon svg { width: 28px; height: 28px; }
.icon-teal { color: var(--brand-2); background: linear-gradient(135deg, rgba(121, 216, 239, 0.2), rgba(121, 216, 239, 0.05)); border-color: rgba(121, 216, 239, 0.25); }
.icon-cyan { color: var(--brand-3); background: linear-gradient(135deg, rgba(184, 224, 255, 0.2), rgba(184, 224, 255, 0.05)); border-color: rgba(184, 224, 255, 0.3); }
.feature h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: var(--text);
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
}
.feature p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* ===== Services grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.service-card {
  position: relative;
  padding: 32px 26px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  transition: var(--transition);
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease;
}
.service-card:hover::after { transform: scaleX(1); transform-origin: left; }
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-1);
  box-shadow: 0 20px 50px -20px rgba(92, 182, 255, 0.4);
}
.service-num {
  position: absolute;
  top: 18px;
  inset-inline-end: 22px;
  font-family: 'Cairo', sans-serif;
  font-size: 2.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(92, 182, 255, 0.4), rgba(92, 182, 255, 0.05));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-4) 0%, var(--brand-1) 100%);
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 10px 24px -8px rgba(92, 182, 255, 0.55);
}
.service-icon svg { width: 30px; height: 30px; }
.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
}
.service-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* ===== Equipment ===== */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.equip-card {
  padding: 28px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative;
}
.equip-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-1);
  background: var(--surface-2);
}
.equip-tag {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(121, 216, 239, 0.12);
  color: var(--brand-2);
  border: 1px solid rgba(121, 216, 239, 0.25);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.equip-card h3 {
  margin: 0 0 14px;
  font-size: 1.18rem;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  color: var(--text);
}
.equip-card ul {
  margin: 0;
  padding-inline-start: 1.1em;
  color: var(--text-soft);
  font-size: 0.95rem;
}
.equip-card li {
  margin-bottom: 6px;
}
.equip-card li::marker {
  color: var(--brand-1);
}

/* ===== Timeline / Works ===== */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}
.t-item {
  position: relative;
}
.t-dot {
  position: absolute;
  top: -10px;
  inset-inline-start: 22px;
  width: 22px;
  height: 22px;
  background: var(--brand-1);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(92, 182, 255, 0.15), 0 0 20px var(--brand-1);
  z-index: 2;
}
.t-dot::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: #fff;
  border-radius: 50%;
}
.t-card {
  padding: 30px 24px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.t-card::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--brand-1), transparent);
}
.t-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.t-card h4 {
  margin: 0 0 12px;
  font-size: 1.08rem;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  color: var(--text);
}
.t-card ul { margin: 0; padding-inline-start: 1.2em; }
.t-card li { color: var(--text-soft); font-size: 0.92rem; margin-bottom: 4px; }
.t-card li::marker { color: var(--brand-2); }

/* ===== Coverage ===== */
.cov-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 30px;
}
.cov-chip {
  padding: 11px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-soft);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  cursor: default;
}
.cov-chip:hover {
  background: linear-gradient(135deg, var(--brand-4), var(--brand-1));
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 24px -10px rgba(92, 182, 255, 0.6);
}
.cov-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  padding: 16px 24px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  max-width: 460px;
  margin-inline: auto;
  color: var(--text-soft);
}
.cov-note svg { width: 22px; height: 22px; color: var(--brand-1); flex-shrink: 0; }
.cov-note strong { color: var(--text); }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.contact-card {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  transition: var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(92, 182, 255, 0.08), transparent);
  opacity: 0;
  transition: var(--transition);
}
.contact-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-1);
  box-shadow: 0 20px 40px -20px rgba(92, 182, 255, 0.5);
}
.contact-card:hover::before { opacity: 1; }
.contact-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-4) 0%, var(--brand-1) 100%);
  color: #fff;
  margin-bottom: 18px;
  box-shadow: 0 10px 24px -8px rgba(92, 182, 255, 0.55);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}
.contact-card:hover .contact-icon { transform: scale(1.1) rotate(-5deg); }
.contact-icon svg { width: 30px; height: 30px; }
.icon-wa { background: linear-gradient(135deg, #20c25c, var(--whatsapp)); box-shadow: 0 10px 24px -8px rgba(37, 211, 102, 0.55); }
.icon-fb { background: linear-gradient(135deg, #0e62cf, var(--facebook)); box-shadow: 0 10px 24px -8px rgba(24, 119, 242, 0.55); }
.contact-card h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.contact-card p {
  margin: 0 0 14px;
  color: var(--text-soft);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}
.contact-cta {
  font-size: 0.85rem;
  color: var(--brand-1);
  font-weight: 700;
  position: relative;
  z-index: 1;
}

/* ===== Footer ===== */
.footer {
  background: linear-gradient(180deg, transparent 0%, rgba(6, 10, 20, 0.9) 30%);
  border-top: 1px solid var(--border);
  padding: 60px 0 22px;
  margin-top: 60px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-1), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col .brand { margin-bottom: 16px; }
.footer-about { color: var(--text-muted); font-size: 0.95rem; margin: 0; }
.footer-col h4 {
  margin: 0 0 16px;
  font-size: 1.05rem;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  color: var(--text);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.94rem;
}
.footer-links a {
  color: var(--text-muted);
  transition: var(--transition);
  display: inline-block;
}
.footer-links a:hover {
  color: var(--brand-1);
  transform: translateX(-4px);
}
[dir="rtl"] .footer-links a:hover { transform: translateX(4px); }

.footer-bottom {
  padding-top: 22px;
  padding-bottom: 4px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer-bottom p { margin: 0; }
.made-by { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ejada-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: linear-gradient(135deg, rgba(92, 182, 255, 0.15), rgba(121, 216, 239, 0.15));
  border: 1px solid rgba(92, 182, 255, 0.3);
  border-radius: 999px;
  color: var(--brand-1);
  font-weight: 700;
  transition: var(--transition);
}
.ejada-link svg { width: 14px; height: 14px; }
.ejada-link:hover {
  background: linear-gradient(135deg, var(--brand-4), var(--brand-1));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px rgba(92, 182, 255, 0.6);
}

/* ===== Floating WhatsApp ===== */
.float-wa {
  position: fixed;
  bottom: 24px;
  inset-inline-start: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #20c25c, var(--whatsapp));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, 0.65);
  z-index: 90;
  transition: var(--transition);
  animation: pulseWa 2.5s infinite;
}
.float-wa svg { width: 28px; height: 28px; }
.float-wa:hover { transform: scale(1.1); }
@keyframes pulseWa {
  0%, 100% { box-shadow: 0 14px 34px -10px rgba(37, 211, 102, 0.65), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 14px 34px -10px rgba(37, 211, 102, 0.65), 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* ===== Reveal animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(.2, .8, .2, 1), transform 0.7s cubic-bezier(.2, .8, .2, 1);
}
.reveal[data-reveal="left"] { transform: translateX(40px); }
.reveal[data-reveal="right"] { transform: translateX(-40px); }
.reveal.in {
  opacity: 1;
  transform: translate(0, 0);
}

/* Stagger children */
.features .reveal:nth-child(2) { transition-delay: 0.1s; }
.features .reveal:nth-child(3) { transition-delay: 0.2s; }
.features .reveal:nth-child(4) { transition-delay: 0.3s; }
.services-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.services-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.services-grid .reveal:nth-child(6) { transition-delay: 0.4s; }
.equipment-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.equipment-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.equipment-grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.timeline .reveal:nth-child(2) { transition-delay: 0.08s; }
.timeline .reveal:nth-child(3) { transition-delay: 0.16s; }
.timeline .reveal:nth-child(4) { transition-delay: 0.24s; }
.timeline .reveal:nth-child(5) { transition-delay: 0.32s; }
.timeline .reveal:nth-child(6) { transition-delay: 0.4s; }
.timeline .reveal:nth-child(7) { transition-delay: 0.48s; }
.cov-grid .reveal:nth-child(n+2) { transition-delay: calc(var(--i, 0) * 40ms); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero { padding-top: 110px; padding-bottom: 70px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .orbit { width: min(360px, 80vw); }
  .scroll-cue { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed;
    top: 76px;
    inset-inline-end: 12px;
    inset-inline-start: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px;
    background: rgba(11, 18, 32, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transform: translateY(-20px) scaleY(0.95);
    transform-origin: top;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  .nav.open {
    transform: translateY(0) scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }
  .nav a {
    padding: 12px 16px;
    text-align: start;
    border-radius: 10px;
  }
  .nav a:hover { background: var(--surface); }
  .nav a::before { display: none; }

  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1; justify-content: center; padding: 12px 18px; font-size: 0.92rem; }

  .footer { padding-bottom: 96px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; padding-bottom: 0; }

  .float-wa { width: 50px; height: 50px; bottom: 18px; inset-inline-start: 18px; }
  .float-wa svg { width: 24px; height: 24px; }

  .floater { width: 44px; height: 44px; border-radius: 12px; }
  .floater svg { width: 20px; height: 20px; }
}

@media (max-width: 640px) {
  .brand-text { display: none; }
  .brand-logo { width: 46px; height: 46px; }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .stat { padding: 14px 8px; }
  .stat-num { font-size: 1.4rem; }
  .stat-label { font-size: 0.75rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }

  .service-num { font-size: 2rem; }
}

@media (max-width: 420px) {
  .hero-title { font-size: 1.7rem; }
  .hero-desc { font-size: 0.95rem; }
  .hero-badge { font-size: 0.78rem; padding: 6px 12px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats .stat:last-child { grid-column: 1 / -1; }
  .section { padding: 56px 0; }
  .brand-name { font-size: 1rem; }
  .brand-logo { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
