/* ============================================================
   APS Computers — Design System v2
   ============================================================ */
:root {
  --navy: #070b17;
  --navy-2: #0b1122;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-2: rgba(255, 255, 255, 0.05);
  --border: rgba(148, 163, 184, 0.14);
  --border-blue: rgba(59, 130, 246, 0.35);
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --blue-soft: #93c5fd;
  --accent: #22d3ee;
  --white: #f8fafc;
  --text: #e2e8f0;
  --gray: #94a3b8;
  --gray-dark: #64748b;
  --green: #25d366;
  --gold: #fbbf24;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  --grad-blue: linear-gradient(135deg, #3b82f6, #22d3ee);
  --grad-btn: linear-gradient(135deg, #2563eb, #1d4ed8);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: 'Heebo', system-ui, sans-serif;
  background: var(--navy);
  color: var(--text);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* background texture */
.bg-fx {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(rgba(59, 130, 246, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 75%);
}
.bg-orb {
  position: absolute; border-radius: 50%; filter: blur(110px);
  pointer-events: none; z-index: 0; opacity: 0.5;
}

::selection { background: rgba(59, 130, 246, 0.4); }

img { max-width: 100%; height: auto; }
a { color: inherit; }

/* skip link */
.skip-link {
  position: absolute; top: -60px; right: 16px; z-index: 3000;
  background: var(--blue); color: #fff; padding: 10px 20px;
  border-radius: 8px; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ============ HEADER ============ */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(7, 11, 23, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
header.scrolled {
  background: rgba(7, 11, 23, 0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 40px; max-width: 1300px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { height: 46px; width: auto; transition: transform 0.3s; }
.logo:hover img { transform: scale(1.05); }
.nav-links { display: flex; list-style: none; gap: 4px; align-items: center; }
.nav-links a {
  color: var(--gray); text-decoration: none; font-size: 14.5px;
  font-weight: 500; padding: 8px 13px; border-radius: 8px;
  transition: color 0.25s, background 0.25s;
}
.nav-links a:hover { color: var(--white); background: var(--surface-2); }
.nav-links a.active { color: var(--white); background: rgba(59, 130, 246, 0.14); }
.nav-cta {
  background: var(--grad-btn); color: #fff !important;
  padding: 9px 22px !important; border-radius: 9px; font-weight: 600 !important;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35);
  transition: transform 0.25s, box-shadow 0.25s !important;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(37, 99, 235, 0.5); background: var(--grad-btn) !important; }

/* hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 10px; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 10px;
}
.hamburger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(7, 11, 23, 0.97);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 8px; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  color: var(--text); text-decoration: none; font-size: 22px; font-weight: 600;
  padding: 12px 32px; border-radius: 12px; transition: background 0.2s, color 0.2s;
  transform: translateY(14px); opacity: 0;
}
.mobile-menu.open a { transform: translateY(0); opacity: 1; transition: transform 0.4s ease, opacity 0.4s ease, background 0.2s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.05s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.1s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.2s; }
.mobile-menu.open a:nth-child(6) { transition-delay: 0.25s; }
.mobile-menu.open a:nth-child(7) { transition-delay: 0.3s; }
.mobile-menu.open a:nth-child(8) { transition-delay: 0.35s; }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--blue-soft); background: rgba(59, 130, 246, 0.1); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 11px; text-decoration: none;
  font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer;
  border: none; transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--grad-btn); color: #fff;
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37, 99, 235, 0.5); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-blue);
}
.btn-outline:hover { background: rgba(59, 130, 246, 0.1); border-color: var(--blue-light); transform: translateY(-2px); }
.btn-wa { background: #1faa53; color: #fff; box-shadow: 0 6px 22px rgba(37, 211, 102, 0.25); }
.btn-wa:hover { background: var(--green); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); }
.btn-lg { font-size: 17px; padding: 16px 34px; }

/* ============ FLOAT BUTTONS ============ */
.float-btns {
  position: fixed; left: 18px; bottom: 26px;
  display: flex; flex-direction: column; gap: 12px; z-index: 900;
}
.float-btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s, box-shadow 0.25s; position: relative;
}
.float-btn svg { width: 26px; height: 26px; fill: #fff; }
.float-btn:hover { transform: scale(1.12); }
.float-wa { background: var(--green); }
.float-wa::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5); animation: pulse-ring 2.2s ease-out infinite;
}
.float-phone { background: var(--grad-btn); }
@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* back to top */
#toTop {
  position: fixed; left: 18px; bottom: 96px; z-index: 899;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--gray); font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, color 0.2s;
  backdrop-filter: blur(8px);
}
#toTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#toTop:hover { color: #fff; border-color: var(--border-blue); }

/* mobile sticky action bar */
.mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 950;
  background: rgba(9, 13, 26, 0.94); backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 8px;
}
.mobile-bar a {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 12px 8px; border-radius: 10px; text-decoration: none;
  font-size: 14px; font-weight: 700; color: #fff;
}
.mbar-call { background: var(--grad-btn); }
.mbar-wa { background: #1faa53; }
.mbar-book { background: var(--surface-2); border: 1px solid var(--border-blue); }

/* ============ SECTIONS ============ */
section { position: relative; z-index: 1; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section-pad { padding: 96px 40px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(59, 130, 246, 0.12); border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--blue-soft); padding: 6px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600; margin-bottom: 18px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px); font-weight: 800; line-height: 1.2;
  margin-bottom: 14px; letter-spacing: -0.5px;
}
.section-title .grad {
  background: var(--grad-blue);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section-sub { font-size: 17px; color: var(--gray); max-width: 640px; margin: 0 auto; }

/* page hero (inner pages) */
.page-hero { padding: 150px 40px 60px; text-align: center; }

/* ============ HERO (home) ============ */
.hero {
  min-height: 100svh; display: flex; align-items: center;
  padding: 130px 40px 80px; position: relative; overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 70px;
  align-items: center; max-width: 1220px; margin: 0 auto; width: 100%;
  position: relative; z-index: 2;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(59, 130, 246, 0.12); border: 1px solid rgba(59, 130, 246, 0.35);
  color: var(--blue-soft); padding: 7px 18px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; margin-bottom: 24px;
  animation: fadeInUp 0.7s ease both;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6); animation: dot-pulse 2s infinite;
}
@keyframes dot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}
.hero h1 {
  font-size: clamp(36px, 5vw, 58px); font-weight: 900; line-height: 1.12;
  margin-bottom: 22px; letter-spacing: -1px;
  animation: fadeInUp 0.7s ease 0.1s both;
}
.hero h1 .grad {
  background: var(--grad-blue);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-sub {
  font-size: 18px; color: var(--gray); line-height: 1.75; margin-bottom: 34px;
  max-width: 520px; animation: fadeInUp 0.7s ease 0.2s both;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeInUp 0.7s ease 0.3s both; }
.hero-trust {
  display: flex; align-items: center; gap: 18px; margin-top: 34px;
  animation: fadeInUp 0.7s ease 0.4s both; flex-wrap: wrap;
}
.trust-pill {
  display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--gray);
}
.trust-pill b { color: var(--white); }
.trust-pill .star { color: var(--gold); }

/* hero card */
.hero-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border);
  border-radius: 24px; padding: 34px; position: relative; overflow: hidden;
  backdrop-filter: blur(10px); box-shadow: var(--shadow);
  animation: fadeIn 0.9s ease 0.3s both;
}
.hero-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-light), var(--accent), transparent);
}
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.stat {
  background: rgba(59, 130, 246, 0.07); border: 1px solid rgba(59, 130, 246, 0.16);
  border-radius: 14px; padding: 20px 14px; text-align: center;
  transition: transform 0.25s, border-color 0.25s;
}
.stat:hover { transform: translateY(-3px); border-color: var(--border-blue); }
.stat-num {
  font-size: 34px; font-weight: 800; display: block; line-height: 1.1;
  background: var(--grad-blue);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.stat-label { font-size: 13px; color: var(--gray); margin-top: 6px; }
.hero-call {
  display: flex; align-items: center; gap: 16px; text-decoration: none;
  background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 16px; padding: 18px 22px; transition: background 0.25s, transform 0.25s;
}
.hero-call:hover { background: rgba(59, 130, 246, 0.16); transform: translateY(-2px); }
.call-icon {
  width: 50px; height: 50px; border-radius: 14px; background: var(--grad-btn);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
}
.call-icon svg { width: 24px; height: 24px; fill: #fff; }
.call-sub { font-size: 13px; color: var(--gray); }
.call-num { font-size: 22px; font-weight: 800; color: var(--white); direction: ltr; }

/* ============ CARDS ============ */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 22px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s, background 0.3s;
  position: relative;
}
.card:hover {
  transform: translateY(-6px); border-color: var(--border-blue);
  background: var(--surface-2); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center;
}
.svc-icon {
  width: 62px; height: 62px; margin: 0 auto 16px; border-radius: 16px;
  background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex; align-items: center; justify-content: center; font-size: 28px;
  transition: transform 0.3s, background 0.3s;
}
.card:hover .svc-icon { transform: scale(1.1) rotate(-4deg); background: rgba(59, 130, 246, 0.18); }
.card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; color: var(--white); }
.card p { font-size: 13.5px; color: var(--gray); line-height: 1.55; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  color: var(--blue-soft); font-size: 13.5px; font-weight: 600; text-decoration: none;
  transition: gap 0.2s, color 0.2s;
}
.card-link:hover { gap: 10px; color: var(--accent); }

/* ============ PROCESS ============ */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 54px; }
.process-step { text-align: center; position: relative; padding: 0 10px; }
.process-num {
  width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--grad-btn); color: #fff; font-size: 22px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4); position: relative; z-index: 1;
}
.process-step::before {
  content: ''; position: absolute; top: 29px; right: calc(-50% + 40px); left: calc(50% + 40px);
  height: 2px; background: linear-gradient(90deg, rgba(59, 130, 246, 0.4), rgba(59, 130, 246, 0.1));
}
.process-step:first-child::before { display: none; }
.process-step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: 13.5px; color: var(--gray); }

/* ============ WHY US ============ */
.why-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px;
  max-width: 1200px; margin: 50px auto 0; align-items: center; text-align: right;
}
.why-features { display: flex; flex-direction: column; gap: 20px; }
.why-feature {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 20px; transition: border-color 0.25s, transform 0.25s;
}
.why-feature:hover { border-color: var(--border-blue); transform: translateX(-4px); }
.why-dot {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
  background: rgba(59, 130, 246, 0.12); border: 1px solid rgba(59, 130, 246, 0.25);
  display: flex; align-items: center; justify-content: center; font-size: 21px;
}
.why-feature h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; color: var(--white); }
.why-feature p { font-size: 13.5px; color: var(--gray); }
.why-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-num-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 20px; text-align: center;
  transition: transform 0.25s, border-color 0.25s;
}
.why-num-card:hover { transform: translateY(-4px); border-color: var(--border-blue); }
.why-big {
  font-size: 42px; font-weight: 900; display: block; line-height: 1.1;
  background: var(--grad-blue);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.why-num-label { font-size: 13px; color: var(--gray); margin-top: 8px; }

/* ============ MIDRAG BAND ============ */
.midrag-section {
  padding: 70px 40px;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.05), transparent);
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}
.midrag-inner {
  max-width: 1000px; margin: 0 auto; display: flex;
  align-items: center; justify-content: space-between; gap: 40px;
}
.midrag-stat { text-align: center; }
.midrag-stat .num {
  font-size: 44px; font-weight: 900; display: block;
  background: var(--grad-blue);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.midrag-stat .lbl { font-size: 13.5px; color: var(--gray); margin-top: 4px; }
.midrag-badge {
  display: flex; align-items: center; gap: 20px; text-decoration: none;
  background: var(--surface-2); border: 1px solid var(--border-blue);
  border-radius: 20px; padding: 22px 32px; color: var(--text);
  transition: transform 0.25s, box-shadow 0.25s;
}
.midrag-badge:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(37, 99, 235, 0.25); }
.midrag-score {
  font-size: 40px; font-weight: 900; color: var(--gold);
  text-shadow: 0 2px 18px rgba(251, 191, 36, 0.4);
}

/* ============ FAQ ============ */
.faq-list { max-width: 780px; margin: 50px auto 0; text-align: right; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; margin-bottom: 12px; overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item.open { border-color: var(--border-blue); background: var(--surface-2); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 20px 24px; background: none; border: none;
  color: var(--white); font-size: 16px; font-weight: 600; font-family: inherit;
  cursor: pointer; text-align: right;
}
.faq-q .chev { transition: transform 0.3s; color: var(--blue-soft); flex-shrink: 0; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
}
.faq-a-inner { padding: 0 24px 20px; color: var(--gray); font-size: 14.5px; line-height: 1.75; }

/* ============ CTA SECTION ============ */
.cta-section {
  padding: 96px 40px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.07));
  border-top: 1px solid rgba(59, 130, 246, 0.1);
}
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============ FOOTER ============ */
footer {
  background: #060a14; border-top: 1px solid var(--border);
  padding: 64px 40px 0; position: relative; z-index: 1;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto; display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px;
}
.footer-logo { height: 54px; width: auto; margin-bottom: 16px; }
.footer-desc { font-size: 13.5px; color: var(--gray); line-height: 1.7; margin-bottom: 14px; max-width: 300px; }
.footer-phone {
  color: var(--blue-soft); font-size: 18px; font-weight: 700;
  text-decoration: none; direction: ltr; display: inline-block;
}
.footer-col h4 { font-size: 15px; font-weight: 700; margin-bottom: 16px; color: var(--white); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--gray); text-decoration: none; font-size: 13.5px; transition: color 0.2s; }
.footer-col a:hover { color: var(--blue-soft); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--border);
  padding: 20px 0; display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--gray-dark); flex-wrap: wrap; gap: 10px;
}
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: var(--blue-soft); }

/* ============ REVEAL ANIMATIONS ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============ FORMS ============ */
.form-group { margin-bottom: 18px; text-align: right; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border);
  border-radius: 10px; padding: 13px 16px; color: var(--white);
  font-size: 14.5px; font-family: inherit; transition: border-color 0.2s, background 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue-light); background: rgba(59, 130, 246, 0.06);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--gray-dark); }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: #131c31; color: #e2e8f0; }
.form-group select option:disabled { color: #64748b; }
/* native time input — dark theme, readable picker */
input[type="time"] {
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border);
  border-radius: 10px; padding: 11px 14px; color: var(--white);
  font-size: 14.5px; font-family: inherit; color-scheme: dark;
}
input[type="time"]:focus { outline: none; border-color: var(--blue-light); background: rgba(59, 130, 246, 0.06); }
input[type="time"]::-webkit-calendar-picker-indicator { filter: invert(0.75); cursor: pointer; opacity: 0.8; }
input[type="time"]::-webkit-calendar-picker-indicator:hover { opacity: 1; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ============ POPUP ============ */
.popup-overlay {
  position: fixed; inset: 0; z-index: 2000; background: rgba(4, 6, 14, 0.75);
  backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.popup-overlay.active { opacity: 1; visibility: visible; }
.popup-box {
  background: linear-gradient(160deg, #101a30, #0b1122);
  border: 1px solid var(--border-blue); border-radius: 22px;
  padding: 36px 32px; max-width: 430px; width: 100%; text-align: center;
  position: relative; box-shadow: var(--shadow);
  transform: translateY(18px) scale(0.97); transition: transform 0.35s ease;
  max-height: 90vh; overflow-y: auto;
}
.popup-overlay.active .popup-box { transform: none; }
.popup-close {
  position: absolute; top: 14px; left: 14px; background: var(--surface-2);
  border: 1px solid var(--border); color: var(--gray); width: 36px; height: 36px;
  border-radius: 50%; font-size: 15px; cursor: pointer; transition: color 0.2s, border-color 0.2s;
}
.popup-close:hover { color: #fff; border-color: var(--gray); }
.promo-code {
  background: rgba(59, 130, 246, 0.12); border: 1.5px dashed var(--blue-light);
  color: var(--blue-soft); border-radius: 12px; padding: 13px;
  font-size: 26px; font-weight: 900; letter-spacing: 5px; margin-bottom: 18px;
}

/* ============ ACCESSIBILITY WIDGET ============ */
#access-btn {
  position: fixed; right: 16px; bottom: 24px; z-index: 940;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--blue); border: none; cursor: pointer;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.5);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s; filter: none !important; isolation: isolate;
}
#access-btn:hover { transform: scale(1.1); }
#access-btn svg { width: 27px; height: 27px; fill: #fff; }
#access-panel {
  position: fixed; right: 16px; bottom: 84px; z-index: 941;
  background: #131c31; border: 1px solid #334155; border-radius: 16px;
  padding: 20px; width: 262px; display: none; direction: rtl;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5); filter: none !important;
}
#access-panel h3 { color: var(--blue-soft); margin: 0 0 14px; font-size: 15px; text-align: center; }
.ac-btn {
  display: flex; align-items: center; gap: 10px; width: 100%;
  background: #0d1424; border: 1px solid #334155; border-radius: 10px;
  color: var(--text); padding: 10px 14px; margin-bottom: 8px; cursor: pointer;
  font-size: 13px; font-family: inherit; transition: background 0.2s; text-align: right;
}
.ac-btn:hover { background: #1e3a5f; }
.ac-btn svg { width: 18px; height: 18px; fill: #60a5fa; flex-shrink: 0; }
.ac-btn.active { background: #1d4ed8; border-color: var(--blue-light); }
#access-reset {
  width: 100%; background: transparent; border: 1px solid #475569;
  color: var(--gray); border-radius: 8px; padding: 8px; cursor: pointer;
  font-size: 12px; margin-top: 4px; font-family: inherit;
}
#access-reset:hover { border-color: var(--gray); color: var(--text); }
body.large-text { font-size: 120% !important; }
body.large-text p, body.large-text li, body.large-text span, body.large-text div { font-size: inherit; }
/* apply visual filters to content only — NOT body — so fixed buttons stay pinned */
body.high-contrast > header, body.high-contrast > main, body.high-contrast > footer, body.high-contrast > .mobile-menu { filter: contrast(1.6) !important; }
body.grayscale > header, body.grayscale > main, body.grayscale > footer, body.grayscale > .mobile-menu { filter: grayscale(1) !important; }
body.highlight-links a { outline: 3px solid #facc15 !important; text-decoration: underline !important; }
body.readable-font, body.readable-font * { font-family: Arial, Helvetica, sans-serif !important; }

/* ============ SERVICES PAGE ============ */
.services-wrap { padding: 0 40px 60px; }
.services-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.service-row {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden; transition: border-color 0.25s;
}
.service-row.open { border-color: var(--border-blue); background: var(--surface-2); }
.service-header {
  display: flex; align-items: center; gap: 18px; padding: 22px 26px;
  cursor: pointer; user-select: none;
}
.svc-icon-big {
  width: 56px; height: 56px; border-radius: 15px; flex-shrink: 0;
  background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.svc-title { flex: 1; }
.svc-title h2 { font-size: 19px; font-weight: 700; margin-bottom: 3px; }
.svc-title p { font-size: 13.5px; color: var(--gray); }
.svc-price-tag {
  background: rgba(34, 211, 238, 0.1); border: 1px solid rgba(34, 211, 238, 0.3);
  color: var(--accent); padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700; white-space: nowrap;
}
.svc-toggle { color: var(--blue-soft); transition: transform 0.3s; flex-shrink: 0; }
.service-row.open .svc-toggle { transform: rotate(180deg); }
.service-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.service-body-inner {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 26px;
  padding: 4px 26px 26px; align-items: center;
}
.svc-features { display: flex; flex-direction: column; gap: 10px; }
.svc-feature { display: flex; gap: 10px; font-size: 14px; color: var(--text); }
.svc-feature span { color: var(--accent); font-weight: 700; }
.svc-actions { display: flex; flex-direction: column; gap: 10px; }

.pricing-section { padding: 40px 40px 90px; }
.pricing-note {
  max-width: 760px; margin: 0 auto; text-align: center;
  background: var(--surface); border: 1px solid var(--border-blue);
  border-radius: 22px; padding: 44px 32px;
}

/* ============ AREAS PAGE ============ */
.search-section { padding: 0 40px 50px; }
.search-box { max-width: 560px; margin: 0 auto; text-align: center; }
.search-input {
  width: 100%; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 22px; color: var(--white);
  font-size: 16px; font-family: inherit; text-align: center;
  transition: border-color 0.2s;
}
.search-input:focus { outline: none; border-color: var(--blue-light); }
.search-result { margin-top: 14px; font-size: 15px; min-height: 24px; }
.areas-wrap { padding: 0 40px 60px; }
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1200px; margin: 0 auto; }
.area-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 26px; transition: transform 0.25s, border-color 0.25s;
}
.area-card:hover { transform: translateY(-4px); border-color: var(--border-blue); }
.area-header { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.area-icon {
  width: 50px; height: 50px; border-radius: 14px;
  background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.2);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.area-name { font-size: 18px; font-weight: 700; }
.area-sub { font-size: 12.5px; color: var(--gray); }
.cities-list { display: flex; flex-wrap: wrap; gap: 8px; }
.city-tag {
  background: rgba(148, 163, 184, 0.08); border: 1px solid var(--border);
  border-radius: 999px; padding: 5px 13px; font-size: 12.5px; color: var(--gray);
  transition: color 0.2s, border-color 0.2s;
}
.city-tag:hover { color: var(--white); border-color: var(--border-blue); }
.area-divider { border: none; border-top: 1px solid var(--border); margin: 18px 0 12px; }
.areas-grid-3 { grid-template-columns: repeat(3, 1fr); }
.map-section { padding: 20px 40px 70px; }
.map-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 520px;
  border-radius: 20px; overflow: hidden; border: 1px solid var(--border-blue);
  box-shadow: var(--shadow); background: var(--surface);
}
.map-frame iframe { filter: grayscale(0.2) contrast(1.05); }
.remote-section { padding: 20px 40px 80px; }
.remote-box {
  max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 0.7fr;
  gap: 40px; align-items: center;
  background: linear-gradient(150deg, rgba(37, 99, 235, 0.1), rgba(34, 211, 238, 0.04));
  border: 1px solid var(--border-blue); border-radius: 24px; padding: 44px;
}
.remote-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.remote-feat { display: flex; gap: 9px; font-size: 14px; }
.remote-feat span { color: var(--accent); font-weight: 700; }

/* ============ GALLERY PAGE ============ */
.filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 0 40px 40px; }
.filter-btn {
  background: var(--surface); border: 1px solid var(--border); color: var(--gray);
  padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  font-family: inherit; cursor: pointer; transition: all 0.2s;
}
.filter-btn:hover { color: var(--white); border-color: var(--border-blue); }
.filter-btn.active { background: var(--grad-btn); color: #fff; border-color: transparent; }
.gallery-wrap { padding: 0 40px 80px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1200px; margin: 0 auto; }
.gallery-item {
  aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; position: relative;
  cursor: pointer; border: 1px solid var(--border); background: var(--surface);
  transition: transform 0.3s, border-color 0.3s;
}
.gallery-item:hover { transform: translateY(-4px); border-color: var(--border-blue); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  background: linear-gradient(180deg, transparent 45%, rgba(4, 7, 15, 0.92));
  padding: 18px; opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-label { font-size: 15px; font-weight: 700; }
.gallery-tag { font-size: 12px; color: var(--blue-soft); margin-top: 3px; }
.gallery-ph {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  background: rgba(59, 130, 246, 0.06); font-size: 44px;
}
.gallery-ph small { font-size: 13px; color: var(--gray); }

/* ============ REVIEWS PAGE ============ */
.midrag-hero { padding: 0 40px 50px; }
.midrag-box {
  max-width: 860px; margin: 0 auto; display: flex; align-items: center; gap: 40px;
  background: linear-gradient(150deg, rgba(251, 191, 36, 0.06), rgba(59, 130, 246, 0.06));
  border: 1px solid rgba(251, 191, 36, 0.25); border-radius: 24px; padding: 40px 46px;
}
.midrag-score-big {
  font-size: 84px; font-weight: 900; line-height: 1; color: var(--gold);
  text-shadow: 0 4px 30px rgba(251, 191, 36, 0.35);
}
.review-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1200px; margin: 0 auto; }
.review-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 26px; transition: transform 0.25s, border-color 0.25s;
}
.review-card:hover { transform: translateY(-4px); border-color: var(--border-blue); }
.review-stars { color: var(--gold); font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.review-text { font-size: 14.5px; color: var(--text); line-height: 1.7; margin-bottom: 16px; }
.review-author { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--gray); }
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--grad-btn);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: 15px;
}
/* WhatsApp screenshots ("what they write to us") */
.wa-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 940px; margin: 46px auto 0; }
.wa-shot {
  aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden;
  border: 1px dashed var(--border-blue); background: var(--surface);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--gray); text-align: center; padding: 16px;
  transition: transform 0.25s, border-color 0.25s;
}
.wa-shot:hover { transform: translateY(-4px); border-color: var(--blue-light); }
.wa-shot img { width: 100%; height: 100%; object-fit: cover; }
.wa-shot .ph-ic { font-size: 42px; opacity: 0.7; }
.wa-shot small { font-size: 12.5px; line-height: 1.5; }
@media (max-width: 640px) { .wa-shots { grid-template-columns: 1fr 1fr; gap: 12px; } }

/* ============ BOOKING PAGE ============ */
.booking-wrap { padding: 0 40px 80px; }
.booking-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 26px; max-width: 1100px; margin: 0 auto; align-items: start; }
.info-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 26px; margin-bottom: 16px;
}
.info-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.hours-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.hours-row:last-child { border-bottom: none; }
.hours-row .day { color: var(--gray); }
.hours-row .time { font-weight: 600; direction: ltr; }
.calendar-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 30px;
}
.calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.cal-month { font-size: 18px; font-weight: 700; }
.cal-nav {
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  width: 38px; height: 38px; border-radius: 10px; font-size: 16px; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.cal-nav:hover { border-color: var(--border-blue); background: rgba(59, 130, 246, 0.1); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-day-name { text-align: center; font-size: 12px; color: var(--gray); padding: 6px 0; font-weight: 600; }
.cal-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; font-size: 14px; cursor: pointer; border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.cal-day:not(.empty):not(.disabled):hover { background: rgba(59, 130, 246, 0.14); border-color: var(--border-blue); }
.cal-day.disabled { color: var(--gray-dark); cursor: default; opacity: 0.4; }
.cal-day.today { border-color: var(--border-blue); color: var(--blue-soft); font-weight: 700; }
.cal-day.selected { background: var(--grad-btn); color: #fff; font-weight: 700; }
.time-section { margin-top: 22px; display: none; }
.time-section.show { display: block; animation: fadeIn 0.3s ease; }
.time-section h4 { font-size: 15px; margin-bottom: 14px; color: var(--blue-soft); }
.slots-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot {
  padding: 10px 4px; text-align: center; border-radius: 9px; font-size: 13.5px;
  background: var(--surface-2); border: 1px solid var(--border); cursor: pointer;
  transition: background 0.15s, border-color 0.15s; direction: ltr;
}
.slot:hover { border-color: var(--border-blue); }
.slot.selected { background: var(--grad-btn); border-color: transparent; color: #fff; font-weight: 700; }
.booking-form { display: none; margin-top: 24px; }
.booking-form.show { display: block; animation: fadeIn 0.3s ease; }
.selected-summary {
  background: rgba(34, 211, 238, 0.07); border: 1px solid rgba(34, 211, 238, 0.25);
  color: var(--accent); border-radius: 12px; padding: 14px 18px;
  font-size: 14.5px; font-weight: 600; margin-bottom: 20px; text-align: center;
}
.success-box { display: none; text-align: center; padding: 30px 10px; }
.success-box.show { display: block; animation: fadeIn 0.4s ease; }

/* ============ CONTACT PAGE ============ */
.contact-wrap { padding: 0 40px 80px; }
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 26px; max-width: 1100px; margin: 0 auto; align-items: start; }
.contact-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 26px; margin-bottom: 16px;
  display: flex; gap: 16px; align-items: center; text-decoration: none;
  transition: transform 0.25s, border-color 0.25s;
}
.contact-card:hover { transform: translateY(-3px); border-color: var(--border-blue); }
.contact-card .icon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.2);
}
.contact-card h3 { font-size: 15px; font-weight: 700; color: var(--white); }
.contact-card p { font-size: 13.5px; color: var(--gray); direction: ltr; text-align: right; }
.contact-form-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 34px;
}

/* ============ 404 ============ */
.err-wrap { min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 120px 24px 60px; }
.err-code {
  font-size: clamp(90px, 18vw, 160px); font-weight: 900; line-height: 1;
  background: var(--grad-blue);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 18px; }
  .process-step::before { display: none; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .review-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 110px 22px 60px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-sub { font-size: 16px; }
  .hero-btns .btn { flex: 1 1 auto; }
  .why-grid { grid-template-columns: 1fr; gap: 34px; }
  .booking-grid, .contact-grid { grid-template-columns: 1fr; }
  .midrag-inner { flex-direction: column; gap: 26px; }
  .midrag-box { flex-direction: column; text-align: center; gap: 20px; padding: 32px 22px; }
  .remote-box { grid-template-columns: 1fr; padding: 32px 24px; text-align: center; }
  .remote-features { text-align: right; }
  .service-body-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .section-pad { padding: 70px 22px; }
  .page-hero { padding: 130px 22px 44px; }
  .services-wrap, .areas-wrap, .gallery-wrap, .booking-wrap, .contact-wrap, .midrag-hero, .remote-section, .search-section, .pricing-section { padding-left: 22px; padding-right: 22px; }
  .cta-section { padding: 70px 22px; }
  nav { padding: 10px 18px; }
  .logo img { height: 40px; }
  .mobile-bar { display: flex; }
  .float-btns { display: none; }
  #access-btn { bottom: calc(84px + env(safe-area-inset-bottom)); }
  #access-panel { bottom: calc(144px + env(safe-area-inset-bottom)); }
  #toTop { display: none; }
  body { padding-bottom: 74px; }
  footer { padding: 50px 22px 0; }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card { padding: 20px 14px; }
  .stats-grid { gap: 10px; }
  .hero-card { padding: 24px 18px; }
  .areas-grid, .gallery-grid, .review-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .slots-grid { grid-template-columns: repeat(3, 1fr); }
  .service-header { flex-wrap: wrap; padding: 18px; gap: 12px; }
  .service-body-inner { padding: 4px 18px 20px; }
  .svc-price-tag { order: 5; }
  .calendar-card { padding: 20px 14px; }
  .contact-form-card { padding: 24px 18px; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

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