/* ============================================================
   Relocate Group v6 — Wio-style clean white
   Font: Manrope. Colors: #0A1628 text, #2563EB accent
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --ink: #12102A;
  --ink-mid: #1E1B45;
  --accent: #5B21E8;
  --accent-hover: #4C18CC;
  --accent-bg: rgba(91,33,232,0.07);
  --muted: #64748B;
  --light: #94A3B8;
  --bg: #ffffff;
  --bg-soft: #F7F7FC;
  --border: #E4E3F0;
  --nav-h: 68px;
  --max-w: 1160px;
  --r: 12px;
  --sh: 0 1px 3px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.07);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ═══════════════════ NAVBAR ═══════════════════ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s;
}
.site-nav.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,.06); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-logo {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  flex-shrink: 0;
  margin-right: 40px;
}
.nav-logo .logo-accent { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  flex: 1;
}
.nav-links > li > a {
  display: block;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s, background 0.15s;
}
.nav-links > li > a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-links > li > a.active { color: var(--ink); font-weight: 600; }

.nav-social-group {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  margin-right: 10px;
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.15s;
}
.nav-phone svg { color: var(--accent); flex-shrink: 0; }
.nav-phone:hover { color: var(--accent); }

.nav-icon-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px;
  border-radius: 50% !important;
  background: rgba(91,33,232,0.08) !important;
  color: var(--accent) !important;
  transition: background 0.15s, transform 0.15s;
  flex-shrink: 0;
  padding: 0 !important;
}
.nav-icon-btn:hover { background: rgba(91,33,232,0.16) !important; transform: scale(1.08); }

.nav-callback {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  font-size: 0.84rem;
  font-weight: 700;
  transition: background 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.nav-callback:hover { background: var(--accent-hover); box-shadow: 0 4px 14px rgba(91,33,232,0.3); }

.nav-lang { flex-shrink: 0; margin-left: 8px; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--muted);
  border: 1.5px solid var(--border);
  transition: all 0.15s;
}
.lang-btn:hover { color: var(--accent); border-color: var(--accent); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

@media (max-width: 900px) {
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 2px;
    box-shadow: 0 16px 40px rgba(0,0,0,.1);
  }
  .site-nav.open .nav-links { display: flex; }
  .nav-social-group { margin-left: 0; margin-right: 0; flex-wrap: wrap; }
  .nav-callback { justify-content: center; margin-top: 6px; width: 100%; padding: 12px; }
  .nav-lang { margin-left: 0; }
  .nav-inner { padding: 0 20px; }
}

/* ═══════════════════ HERO ═══════════════════ */
.hero {
  position: relative;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, #fff 0%, #fff 8%, rgba(247,245,255,0.92) 30%, rgba(237,232,255,0.4) 55%, rgba(255,255,255,0) 100%),
    linear-gradient(to top, rgba(237,232,255,0.8) 0%, rgba(247,245,255,0.3) 20%, rgba(255,255,255,0) 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 20px) 40px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 560px;
  margin-bottom: 24px;
}
.hero-content h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 40px;
  font-weight: 400;
}

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

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
  border: none;
  cursor: pointer;
}
.btn-cta:hover { background: var(--accent-hover); box-shadow: 0 6px 24px rgba(91,33,232,0.3); transform: translateY(-1px); }
.btn-cta:active { transform: scale(0.97); }

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 22px;
  background: transparent;
  color: var(--ink);
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1.5px solid var(--ink);
  transition: all 0.15s;
  cursor: pointer;
}
.btn-cta-outline:hover { background: var(--ink); color: #fff; }

@media (max-width: 768px) {
  .hero-content { padding: calc(var(--nav-h) + 40px) 24px 0; }
  .hero-content h1 { font-size: 2.4rem; max-width: 100%; }
  .hero-sub { max-width: 100%; }
}

/* Emirates list — right side of hero */
.hero-emirates {
  position: absolute;
  right: 120px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero-emir-item {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  padding: 10px 0 10px 16px;
  border-left: 2px solid var(--accent);
  transition: opacity 0.15s;
  cursor: default;
  letter-spacing: 0.01em;
  opacity: 0.75;
}
.hero-emir-item:hover { opacity: 1; }

/* Strip pinned to hero bottom */
.hero-strip {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}
.hero-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-strip-item {
  padding: 24px 20px;
  border-right: 1px solid var(--border);
  transition: background 0.15s;
  cursor: pointer;
}
.hero-strip-item:last-child { border-right: none; }
.hero-strip-item:hover { background: #fff; }

/* ═══════════════════ SERVICES STRIP (legacy, kept for service pages) ═══════════════════ */
.services-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.services-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.strip-item {
  padding: 28px 20px;
  border-right: 1px solid var(--border);
  transition: background 0.15s;
  cursor: default;
}
.strip-item:last-child { border-right: none; }
.strip-item:hover { background: #fff; }
.strip-num {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 6px;
  display: block;
}
.strip-title { font-size: 0.9rem; font-weight: 700; color: var(--ink); display: block; margin-bottom: 3px; }
.strip-sub { font-size: 0.75rem; color: var(--muted); display: block; }

/* Hero strip — same as light strip */
.hero-strip .strip-num { color: var(--accent); }
.hero-strip .strip-title { color: var(--ink); }
.hero-strip .strip-sub { color: var(--muted); }

@media (max-width: 640px) {
  .services-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(2) { border-right: none; }
  .hero-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .hero-emirates { display: none; }
}

/* ═══════════════════ SECTIONS ═══════════════════ */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 96px 40px;
}
.section-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 52px;
}
@media (max-width: 600px) { .section { padding: 64px 24px; } }

/* ═══════════════════ SERVICES GRID ═══════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.service-card {
  background: #fff;
  padding: 32px 28px;
  transition: background 0.15s;
}
.service-card:hover { background: var(--bg-soft); }
.service-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-bg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
}
.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}
.service-card p { font-size: 0.84rem; color: var(--muted); line-height: 1.65; }
.service-card-link {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 16px; font-size: 0.8rem; font-weight: 700;
  color: var(--accent); transition: gap 0.15s;
}
.service-card:hover .service-card-link { gap: 7px; }
@media (max-width: 820px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .services-grid { grid-template-columns: 1fr; } }

/* ═══════════════════ WHY ═══════════════════ */
.why-section { background: var(--ink); }
.why-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 96px 40px;
}
.why-inner .section-label { color: rgba(255,255,255,0.35); }
.why-inner .section-title { color: #fff; }
.why-inner .section-sub { color: rgba(255,255,255,0.55); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r);
  overflow: hidden;
}
.why-card {
  padding: 40px 36px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.why-card:last-child { border-right: none; }
.why-num {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
  margin-bottom: 12px;
}
.why-num span { color: var(--accent); }
.why-card h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.why-card p { font-size: 0.84rem; color: rgba(255,255,255,0.5); line-height: 1.65; }
@media (max-width: 640px) {
  .why-grid { border: none; gap: 1px; background: rgba(255,255,255,0.1); }
  .why-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .why-inner { padding: 64px 24px; }
}

/* ═══════════════════ GEO ═══════════════════ */
.geo-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 96px 40px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}
.geo-cities { display: flex; flex-direction: column; margin-top: 32px; }
.geo-city {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.geo-city:last-child { border-bottom: none; }
.geo-city-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-top: 7px; flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--accent-bg);
}
.geo-city-name { font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.geo-city-sub { font-size: 0.75rem; color: var(--muted); margin-top: 2px; }
.geo-visual { border-radius: 16px; overflow: hidden; position: relative; aspect-ratio: 4/3; }
.geo-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.geo-visual:hover img { transform: scale(1.02); }
.geo-badge {
  position: absolute; bottom: 16px; left: 16px;
  background: rgba(255,255,255,0.95);
  border-radius: 10px; padding: 10px 14px;
  font-size: 0.78rem; line-height: 1.45;
  box-shadow: var(--sh);
}
.geo-badge strong { display: block; font-weight: 700; color: var(--ink); }
.geo-badge span { color: var(--muted); }
@media (max-width: 820px) { .geo-inner { grid-template-columns: 1fr; gap: 40px; padding: 64px 24px; } }

/* ═══════════════════ CONTACT ═══════════════════ */
.form-section { background: var(--bg-soft); border-top: 1px solid var(--border); }
.form-wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 72px;
  align-items: start;
}
.form-info p { font-size: 0.92rem; color: var(--muted); line-height: 1.65; margin-bottom: 24px; }
.form-contact-links { display: flex; flex-direction: column; gap: 10px; }
.form-contact-link {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.85rem; font-weight: 500; color: var(--muted);
  transition: color 0.15s;
}
.form-contact-link:hover { color: var(--ink); }

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--sh);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.form-group:last-of-type { margin-bottom: 0; }
.form-group label { font-size: 0.78rem; font-weight: 700; color: var(--ink); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 10px 13px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 0.88rem; font-family: inherit;
  color: var(--ink); background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-group textarea { resize: vertical; min-height: 96px; }
.form-group select {
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.form-submit { margin-top: 18px; }
.form-success {
  display: none; margin-top: 14px; padding: 12px 16px;
  background: #EFF6FF; border: 1px solid #BFDBFE;
  border-radius: 8px; font-size: 0.84rem; font-weight: 600;
  color: var(--accent); text-align: center;
}
@media (max-width: 760px) {
  .form-wrap { grid-template-columns: 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
}

/* ═══════════════════ BUTTONS ═══════════════════ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 22px;
  background: var(--ink); color: #fff;
  border-radius: 9px; font-size: 0.9rem; font-weight: 700;
  border: none; cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
}
.btn-primary:hover { background: var(--ink-mid); box-shadow: 0 4px 16px rgba(10,22,40,0.2); }
.btn-primary:active { transform: scale(0.97); }

/* ═══════════════════ FOOTER ═══════════════════ */
footer { background: var(--bg-soft); border-top: 1px solid var(--border); }
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 40px;
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 0.8rem; color: var(--muted); }
.footer-copy a { color: var(--muted); transition: color 0.15s; }
.footer-copy a:hover { color: var(--ink); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.8rem; color: var(--muted); transition: color 0.15s; }
.footer-links a:hover { color: var(--ink); }
@media (max-width: 540px) { .footer-inner { flex-direction: column; align-items: flex-start; padding: 28px 24px; } }

/* ═══════════════════ CALLBACK MODAL ═══════════════════ */
.callback-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10,22,40,0.55);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.callback-overlay.open { display: flex; }
.callback-modal {
  background: #fff; border-radius: 16px;
  padding: 36px; width: 100%; max-width: 400px;
  position: relative; box-shadow: 0 24px 64px rgba(0,0,0,0.18);
  animation: modal-in 0.2s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
.callback-modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg-soft); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: background 0.15s;
}
.callback-modal-close:hover { background: var(--border); }
.callback-modal h3 { font-size: 1.25rem; font-weight: 800; color: var(--ink); margin-bottom: 5px; }
.callback-modal p { font-size: 0.85rem; color: var(--muted); margin-bottom: 20px; }
.callback-form { display: flex; flex-direction: column; gap: 10px; }
.callback-form input {
  width: 100%; padding: 11px 13px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 0.88rem; font-family: inherit; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.callback-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.callback-form .btn-primary { justify-content: center; margin-top: 4px; width: 100%; padding: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
