/* =========================================================
   MOUNIR DIGITAL — Premium Digital Agency Stylesheet
   Palette : OneBase  #0B1220 | Navy #051E46 | Blue #052D64
             Gold #D38D1F | White #FFFFFF | Light #F5F7FA
   ========================================================= */

:root {
  --night: #051E46;
  --night-2: #0A2C63;
  --royal: #052D64;
  --royal-soft: #3770AD;
  --gold: #D38D1F;
  --gold-soft: #E6B453;
  --white: #FFFFFF;
  --light: #F5F7FA;
  --ink: #0B1220;
  --muted: #5b6578;
  --border: rgba(11, 18, 32, 0.08);

  --grad-blue: linear-gradient(135deg, var(--royal) 0%, #0d4289 100%);
  --grad-gold: linear-gradient(135deg, var(--gold) 0%, #8a5a14 100%);
  --grad-hero: linear-gradient(120deg, var(--royal) 0%, #0d4289 45%, var(--gold) 120%);

  --font-head: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-sm: 0 6px 24px rgba(5, 30, 70, 0.07);
  --shadow-md: 0 16px 44px rgba(5, 30, 70, 0.12);
  --shadow-lg: 0 30px 70px rgba(5, 30, 70, 0.18);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 80px;
  --topbar-h: 48px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--topbar-h)); }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--night); line-height: 1.15; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img, svg { display: block; }

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

::selection { background: var(--royal); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease),
    background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  white-space: nowrap;
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-lg { padding: 16px 34px; font-size: 16px; }

.btn-primary { background: var(--grad-blue); color: #fff; box-shadow: 0 10px 26px rgba(5, 45, 100, 0.35); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(5, 45, 100, 0.45); }

.btn-gold { background: var(--grad-gold); color: #fff; box-shadow: 0 10px 26px rgba(211, 141, 31, 0.35); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(211, 141, 31, 0.5); }

.btn-ghost { background: transparent; color: var(--night); border-color: rgba(5, 30, 70, 0.18); }
.btn-ghost:hover { border-color: var(--royal); color: var(--royal); transform: translateY(-3px); }

.btn-ghost-light { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.25); }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }

.btn-full { width: 100%; }

/* ---------- Section headings ---------- */
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-size: 12px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--royal);
  padding: 7px 16px; border: 1px solid rgba(5, 45, 100, 0.25); border-radius: 100px;
  background: rgba(5, 45, 100, 0.06); margin-bottom: 18px;
}
.section-title { font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; letter-spacing: -0.5px; }
.section-lead { color: var(--muted); font-size: 17px; max-width: 620px; margin-top: 16px; }
.section-head { max-width: 760px; margin-bottom: 60px; }

.grad-text {
  background: linear-gradient(120deg, #052D64 0%, #0d4289 50%, #052D64 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.grad-text.gold {
  background: linear-gradient(120deg, #D38D1F 0%, #E6B453 50%, #D38D1F 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; height: auto;
  z-index: 100; background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.scrolled { background: rgba(255,255,255,0.96); box-shadow: 0 8px 30px rgba(5,30,70,0.08); border-bottom-color: var(--border); }

.site-topbar {
  height: var(--topbar-h);
  background: linear-gradient(180deg, #07264F 0%, #051E46 100%);
  color: rgba(255,255,255,0.82);
  border-bottom: 1px solid rgba(211,141,31,0.38);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.topbar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-contacts { display: flex; align-items: center; gap: 20px; font-size: 13px; font-weight: 500; letter-spacing: 0.2px; }
.topbar-contacts a { display: inline-flex; align-items: center; gap: 8px; transition: color .3s var(--ease), transform .3s var(--ease); }
.topbar-contacts a:hover { color: var(--gold-soft); transform: translateY(-1px); }
.topbar-contacts svg { color: var(--gold-soft); }
.topbar-sep { width: 1px; height: 14px; background: rgba(230,180,83,0.3); }
.topbar-socials { display: flex; align-items: center; gap: 8px; }
.topbar-socials a {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  color: var(--gold-soft); background: rgba(211,141,31,0.13);
  border: 1px solid rgba(211,141,31,0.35); transition: all .3s var(--ease);
}
.topbar-socials a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 6px 16px rgba(211,141,31,0.35); }

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

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo-img { height: 60px; width: auto; display: block; object-fit: contain; }
.footer-logo-img { height: 170px; width: auto; display: block; background: #fff; border-radius: 12px; padding: 6px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0;
  background: linear-gradient(145deg, var(--night) 0%, #0A2C63 100%);
  display: grid; place-items: center; color: var(--gold);
  font-family: var(--font-head); font-weight: 800; font-size: 17px; letter-spacing: 0.5px;
  box-shadow: 0 6px 18px rgba(5, 30, 70, 0.25);
  border: 1px solid rgba(211,141,31,0.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 17px; letter-spacing: 0.5px; color: var(--night); }
.brand-tag { font-size: 10.5px; font-weight: 600; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 24px; }
.nav-list { display: flex; align-items: center; gap: 24px; }
.nav-link {
  font-weight: 600; font-size: 14.5px; color: #45506a; position: relative; padding: 4px 0;
  transition: color .3s var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--grad-blue); border-radius: 2px; transition: width .35s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--royal); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.btn-cta-header { padding: 10px 20px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + var(--topbar-h) + 60px) 0 80px; overflow: hidden; background: var(--white); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.glow-blue { width: 520px; height: 520px; background: rgba(5,45,100,0.18); top: -120px; left: -140px; }
.glow-gold { width: 420px; height: 420px; background: rgba(211,141,31,0.14); bottom: -140px; right: -120px; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(5,30,70,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(5,30,70,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 70%);
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 70%);
}

.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }

.hero-label {
  display: inline-block; font-family: var(--font-head); font-size: 11.5px; font-weight: 700;
  letter-spacing: 2.5px; color: var(--royal); padding: 8px 16px;
  border: 1px solid rgba(5,45,100,0.22); border-radius: 100px; background: rgba(5,45,100,0.05);
  margin-bottom: 24px;
}
.hero-title { font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -1px; margin-bottom: 22px; }
.hero-subtitle { font-size: 17.5px; color: var(--muted); max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats { display: flex; gap: 44px; flex-wrap: wrap; }
.stat-mini { display: flex; flex-direction: column; }
.stat-mini strong { font-family: var(--font-head); font-size: 26px; font-weight: 800; color: var(--night); }
.stat-mini span { font-size: 13.5px; color: var(--muted); }

/* Hero visual */
.hero-visual { position: relative; min-height: 520px; }
.float-card {
  position: absolute; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(5,30,70,0.06);
  animation: floaty 6s ease-in-out infinite;
}
.card-dashboard { width: 340px; top: 40px; left: 8px; padding: 18px; z-index: 2; animation-delay: 0s; }
.card-phone { width: 150px; right: 30px; top: 6px; padding: 14px; z-index: 3; animation-delay: 1.2s; }
.card-grow { left: 0; bottom: 40px; padding: 14px 18px; display: flex; align-items: center; gap: 12px; z-index: 3; animation-delay: 2s; color: var(--royal); }
.card-mark { right: 120px; bottom: 10px; padding: 12px 18px; display: flex; align-items: center; gap: 10px; z-index: 3; animation-delay: 0.6s; color: var(--gold); font-weight: 600; font-size: 14px; }

.card-grow strong { font-family: var(--font-head); font-size: 19px; color: var(--night); }
.card-grow span, .card-dashboard .dash-body span { color: var(--muted); font-size: 13px; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.dash-head { display: flex; align-items: center; gap: 5px; margin-bottom: 14px; }
.dash-head .dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-red { background: #f87171; } .dot-yellow { background: #fbbf24; } .dot-green { background: #34d399; }
.dash-url { margin-left: 8px; font-size: 10.5px; color: var(--muted); background: var(--light); padding: 3px 10px; border-radius: 6px; }

.dash-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin-bottom: 14px; }
.dash-bars span {
  flex: 1; background: var(--grad-blue); border-radius: 6px 6px 3px 3px; opacity: 0.85;
  animation: growbar 1.4s var(--ease) both;
}
@keyframes growbar { from { transform: scaleY(0); transform-origin: bottom; } }
.dash-line span { display: block; height: 8px; background: var(--light); border-radius: 6px; margin-bottom: 8px; }
.dash-line span:last-child { margin-bottom: 0; }

.phone-notch { width: 44%; height: 5px; background: var(--night); border-radius: 6px; margin: 0 auto 12px; opacity: 0.9; }
.phone-top span, .phone-line span, .mp-grid span { display: block; background: var(--light); border-radius: 6px; }
.phone-top { margin-bottom: 14px; }
.phone-top span { height: 10px; }
.phone-ico { display: flex; gap: 8px; margin-bottom: 14px; }
.iphone-circle { width: 34px; height: 34px; border-radius: 11px; display: block; }
.phone-line { margin-bottom: 10px; }
.phone-line span, .phone-top span { height: 9px; }
.phone-btn { height: 30px; background: var(--grad-gold); border-radius: 8px; margin-top: 16px; opacity: 0.9; }

.orb { position: absolute; border-radius: 50%; z-index: 1; }
.orb-blue { width: 90px; height: 90px; background: radial-gradient(circle, rgba(5,45,100,0.25), transparent 70%); right: 250px; top: 210px; }
.orb-gold { width: 70px; height: 70px; background: radial-gradient(circle, rgba(211,141,31,0.3), transparent 70%); left: 120px; bottom: 150px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--night); padding: 20px 0; }
.marquee-track { display: flex; gap: 34px; width: max-content; animation: scroll 30s linear infinite; }
.marquee-track span { font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: 3px; color: #fff; text-transform: uppercase; }
.marquee-track span:nth-child(odd) { color: var(--gold); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Partenaires ---------- */
.partners { background: var(--white); overflow: hidden; }
.partners .section-head { text-align: center; margin-left: auto; margin-right: auto; }
.partners .section-title { margin-bottom: 14px; }
.partners .section-lead { margin-left: auto; margin-right: auto; }

.partners-marquee {
  position: relative;
  padding: 34px 0;
  border-block: 1px solid var(--border);
  background: linear-gradient(180deg, #fff 0%, var(--light) 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.partners-track { display: flex; gap: 72px; width: max-content; align-items: center; animation: partnersScroll 32s linear infinite; }
.partners-track:hover { animation-play-state: paused; }
.partners-group { display: flex; gap: 72px; align-items: center; flex-shrink: 0; }

.partners-track img {
  max-height: 56px; width: auto; object-fit: contain;
}

@keyframes partnersScroll { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.services { position: relative; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 34px 30px; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: var(--grad-blue); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(5,45,100,0.2); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  color: var(--royal); background: rgba(5,45,100,0.08); margin-bottom: 22px;
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.service-card:hover .service-icon { background: var(--grad-blue); color: #fff; transform: rotate(-6deg) scale(1.05); }
.service-icon svg { width: 26px; height: 26px; }

.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.card-link {
  display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14.5px;
  color: var(--royal); transition: gap .3s var(--ease);
}
.card-link:hover { gap: 11px; }

/* ---------- Expertise ---------- */
.expertise { background: linear-gradient(180deg, #fff 0%, var(--light) 100%); }
.expertise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }

.expertise-visual { position: relative; min-height: 460px; }
.mock-desktop {
  background: var(--night); border-radius: var(--radius-lg); padding: 16px; width: 430px;
  box-shadow: var(--shadow-lg); position: relative; z-index: 2;
}
.mock-top { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.mock-top span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.25); }
.mock-address { flex: 1; height: 12px; background: rgba(255,255,255,0.12); border-radius: 6px; margin-left: 8px; }
.mock-screen { background: #fff; border-radius: 12px; padding: 22px; }
.mock-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.mock-avatar { width: 42px; height: 42px; border-radius: 12px; background: var(--grad-blue); }
.mock-title { display: flex; flex-direction: column; gap: 7px; flex: 1; }
.mock-title span, .mock-lines span { display: block; height: 9px; background: var(--light); border-radius: 6px; }
.mock-charts { display: flex; align-items: center; gap: 30px; }
.ring {
  width: 110px; height: 110px; border-radius: 50%; flex-shrink: 0;
  background: conic-gradient(var(--royal) calc(var(--p) * 1%), var(--light) 0);
  display: grid; place-items: center; position: relative;
}
.ring::before { content: ""; position: absolute; inset: 12px; background: #fff; border-radius: 50%; }
.ring span { position: relative; z-index: 1; font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--night); }
.mock-lines { flex: 1; display: flex; flex-direction: column; gap: 12px; }

.mock-phone {
  position: absolute; right: -10px; bottom: 0; width: 120px; background: var(--night);
  border-radius: 20px; padding: 14px; z-index: 3; box-shadow: var(--shadow-lg); border: 2px solid #fff;
}
.mp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mp-grid span { height: 34px; border-radius: 8px; background: var(--royal); }
.mp-grid span:nth-child(2) { background: var(--gold); }
.mp-grid span:nth-child(4) { background: var(--gold); }
.mp-grid .mp-wide { grid-column: span 2; background: var(--royal); }

.expertise-content .section-title { margin-bottom: 20px; }
.expertise-content p { color: var(--muted); font-size: 17px; margin-bottom: 40px; }
.expertise-content strong { color: var(--night); }

.expertise-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 22px; text-align: center; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stat-num { display: block; font-family: var(--font-head); font-size: 34px; font-weight: 800; color: var(--night); margin-bottom: 6px; }
.stat-label { color: var(--muted); font-size: 14px; }

/* ---------- Team ---------- */
.team { background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; align-items: stretch; }
.team-card {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 40px 28px 34px; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.team-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-gold); transform: scaleX(0); transform-origin: center;
  transition: transform .45s var(--ease);
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(211,141,31,0.25); }
.team-card:hover::before { transform: scaleX(1); }
.team-avatar {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 20px;
  background: linear-gradient(145deg, var(--night) 0%, #0A2C63 100%);
  display: grid; place-items: center; border: 3px solid rgba(211,141,31,0.45);
  box-shadow: var(--shadow-sm); position: relative;
}
.team-avatar::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1.5px dashed rgba(5,45,100,0.4); animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.team-initials { font-family: var(--font-head); font-weight: 800; font-size: 26px; color: var(--gold); }
.team-avatar.team-photo { background: #fff; padding: 0; overflow: hidden; }
.team-avatar.team-photo img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  display: block;
}
.team-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 4px; min-height: 44px; display: grid; place-items: center; line-height: 1.2; }
.team-role {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 11.5px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--royal);
  background: rgba(5,45,100,0.07); padding: 5px 14px; border-radius: 100px; margin-bottom: 14px;
}
.team-card p { color: var(--muted); font-size: 14.5px; max-width: 260px; }

/* ---------- Portfolio ---------- */
.portfolio { background: var(--white); }
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }
.filter-btn {
  font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--muted);
  background: var(--light); border: 1px solid transparent; padding: 10px 20px; border-radius: 100px;
  cursor: pointer; transition: all .3s var(--ease);
}
.filter-btn:hover { color: var(--royal); }
.filter-btn.active { background: var(--grad-blue); color: #fff; box-shadow: 0 8px 22px rgba(5,45,100,0.3); }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; }
.portfolio-grid.portfolio-single { grid-template-columns: 1fr; max-width: 430px; margin: 0 auto; }
.project-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.project-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.project-card.hide { display: none; }
@keyframes cardIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.project-media {
  position: relative; height: 200px; overflow: hidden; flex-shrink: 0;
  background: radial-gradient(circle at 50% 20%, #0E3A7A 0%, #0A2C63 55%, #051E46 100%);
}
.project-map-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.project-card:hover .project-map-img { transform: scale(1.06); }
.project-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,30,70,0.38) 0%, transparent 46%); pointer-events: none; }
.project-cat {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--gold); background: rgba(5,30,70,0.55);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 8px 14px; border-radius: 100px; border: 1px solid rgba(211,141,31,0.35);
}
.project-cat svg { width: 13px; height: 13px; flex-shrink: 0; }

.project-info { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.project-meta { display: flex; align-items: center; gap: 10px; padding-bottom: 15px; margin-bottom: 2px; border-bottom: 1px solid var(--border); }
.pm-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--royal); background: rgba(5,45,100,0.08); border: 1px solid rgba(5,45,100,0.18);
  padding: 6px 13px; border-radius: 100px;
}
.pm-chip svg { width: 13px; height: 13px; flex-shrink: 0; }
.pm-divider { width: 1px; height: 18px; background: var(--border); }
.pm-tag { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0.2px; }

.project-info h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.4px; }
.project-info p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; }
.project-feats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.project-feats li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; color: var(--night);
  background: var(--light); border: 1px solid var(--border); border-radius: 100px; padding: 6px 13px;
}
.project-feats li svg { width: 13px; height: 13px; flex-shrink: 0; color: var(--royal); }

.project-cta { margin-top: auto; align-self: center; padding: 12px 24px; font-size: 14px; width: 100%; }

/* mockups */
.proj-mock { width: 100%; background: #fff; border-radius: var(--radius); padding: 14px; box-shadow: 0 20px 40px rgba(0,0,0,0.25); }
.pm-top { display: flex; align-items: center; gap: 5px; margin-bottom: 12px; }
.pm-top span { width: 8px; height: 8px; border-radius: 50%; background: #e2e8f0; }
.pm-addr { flex: 1; height: 9px; background: #eef2f7; border-radius: 5px; margin-left: 6px; }
.pm-cart { margin-left: auto; width: 14px; height: 14px; }
.pm-hero { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.pm-hero span { background: var(--royal); border-radius: 5px; height: 22px; width: 80%; }
.pm-hero span:nth-child(2) { height: 12px; width: 55%; background: #dbe6ff; }
.pm-cols { display: flex; gap: 8px; }
.pm-cols span { flex: 1; background: var(--light); height: 46px; border-radius: 6px; }
.pm-prod { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.pm-prod span { height: 54px; border-radius: 6px; background: var(--light); }
.pm-prod span:last-child { display: none; }
.proj-mock.mobile { background: var(--night); max-width: 96px; margin: 0 auto; }
.proj-mock.brand { background: var(--light); display: flex; flex-direction: column; gap: 8px; max-width: 240px; }
.brand-logo { width: 48px; height: 48px; border-radius: 12px; background: var(--grad-blue); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 22px; margin-bottom: 4px; }
.brand-item { height: 14px; border-radius: 5px; }
.b1 { background: var(--royal); width: 70%; } .b2 { background: var(--gold); width: 55%; } .b3 { background: var(--night); width: 85%; }
.proj-mock.market { background: var(--night); display: flex; gap: 14px; align-items: stretch; }
.mk-bar { display: flex; align-items: flex-end; gap: 6px; width: 45%; }
.mk-bar span { flex: 1; background: var(--grad-gold); border-radius: 4px 4px 2px 2px; }
.mk-big { flex: 1; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.mk-big span { display: block; height: 10px; background: rgba(255,255,255,0.25); border-radius: 5px; }
.app-icon { width: 40px; height: 40px; border-radius: 11px; background: var(--grad-gold); margin: 0 auto 12px; }
.pm-app { display: flex; flex-direction: column; gap: 9px; }
.pm-app span { background: rgba(255,255,255,0.22); border-radius: 5px; height: 9px; margin: 0 auto; }
.app-btn { height: 30px; background: var(--grad-gold); border-radius: 8px; margin-top: 6px; }
.pm-hero.center span { margin: 0 auto; }

/* Ndiouroul Voyages travel mockup */
.proj-mock.travel { background: #fff; color: #1e3a5f; display: flex; flex-direction: column; gap: 8px; border-radius: 10px; }
.pm-bar { display: flex; align-items: center; gap: 5px; padding-bottom: 4px; border-bottom: 1px solid #eef1f6; }
.pm-bar span { width: 7px; height: 7px; border-radius: 50%; background: #e2e8f0; }
.pm-url { flex: 1; margin-left: 6px; background: #eef2f7; border-radius: 4px; height: 8px; }

.travel-navbar {
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #1e3a5f 0%, #264e7e 100%);
  border-radius: 8px; padding: 7px 9px;
}
.tn-logo { display: flex; align-items: center; gap: 5px; flex: 1; }
.tn-plane {
  width: 18px; height: 18px; border-radius: 50%; background: #f59e0b; flex-shrink: 0;
  clip-path: polygon(50% 0, 80% 100%, 50% 78%, 20% 100%);
}
.tn-name { font-size: 8.5px; font-weight: 700; letter-spacing: 0.3px; color: #fff; }
.tn-links { display: flex; gap: 5px; }
.tn-links i { width: 14px; height: 5px; border-radius: 4px; background: rgba(255,255,255,0.55); }
.tn-book { width: 30px; height: 13px; border-radius: 7px; background: #f59e0b; }

.travel-hero {
  position: relative; border-radius: 8px; overflow: hidden;
  background: linear-gradient(180deg, #1e3a5f 0%, #0f6bb0 60%, #1e8790 130%);
  padding: 12px; min-height: 108px;
}
.th-sun {
  position: absolute; right: 12px; top: 10px; width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle, #fcd34d 0%, #f59e0b 70%);
}
.th-sun::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: inherit; opacity: 0.55; }
.th-mountain { position: absolute; bottom: 0; }
.th-mountain.m1 {
  left: -10px; width: 70px; height: 42px;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
  background: rgba(21, 48, 84, 0.85);
}
.th-mountain.m2 {
  right: -14px; width: 88px; height: 56px;
  clip-path: polygon(0 100%, 55% 0, 100% 100%);
  background: rgba(10, 34, 66, 0.9);
}
.th-content { position: relative; z-index: 2; }
.th-badge {
  display: inline-block; font-size: 6.5px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;
  color: #fff; background: rgba(245,158,11,0.9); border-radius: 6px; padding: 2px 6px; margin-bottom: 6px;
}
.th-title { display: flex; flex-direction: column; gap: 4px; margin-bottom: 7px; }
.th-title span { display: block; border-radius: 4px; background: rgba(255,255,255,0.95); height: 8px; width: 62%; }
.th-title span:nth-child(2) { width: 44%; opacity: 0.85; }
.th-title span:nth-child(3) { width: 52%; background: rgba(255,255,255,0.4); }
.th-search { display: flex; gap: 5px; margin-bottom: 7px; }
.th-search .ts-field { flex: 1; height: 16px; border-radius: 8px; background: rgba(255,255,255,0.92); }
.th-search .ts-go { width: 24px; height: 16px; border-radius: 8px; background: #f59e0b; }
.th-btns { display: flex; gap: 5px; }
.th-btns span { height: 11px; border-radius: 6px; }
.th-btns .btn-solid { width: 40px; background: #f59e0b; }
.th-btns .btn-ghost { width: 46px; border: 1px solid rgba(255,255,255,0.7); }

.travel-services { display: flex; gap: 6px; }
.ts-card {
  flex: 1; background: #f4f7fb; border: 1px solid #e6ecf4; border-radius: 8px;
  padding: 7px 6px; display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.ts-ico { width: 20px; height: 20px; border-radius: 6px; background: #dbeafe; margin-bottom: 1px; position: relative; }
.ts-ico.plane { clip-path: polygon(10% 45%, 45% 40%, 60% 0, 72% 30%, 95% 38%, 100% 50%, 72% 62%, 60% 100%, 45% 60%, 10% 55%); background: #2563eb; }
.ts-ico.hotel { border-radius: 4px; background: #2563eb; }
.ts-ico.hotel::after { content: ""; display: block; width: 56%; height: 56%; margin: 22%; border-radius: 2px; background: #dbeafe; }
.ts-ico.oumra { border-radius: 50% 0 50% 50%; background: #2563eb; }
.ts-ico.oumra::after { content: ""; display: block; width: 45%; height: 45%; margin: 28%; border-radius: 50%; background: #dbeafe; }
.ts-ico.tour { border-radius: 50%; background: #2563eb; }
.ts-ico.tour::after { content: ""; display: block; width: 40%; height: 40%; margin: 30%; border-radius: 50%; background: #dbeafe; }
.ts-ico.car { background: #2563eb; }
.ts-ico.car::after { content: ""; display: block; width: 55%; height: 30%; margin: 35% 22%; background: #dbeafe; border-radius: 2px; }
.ts-card span { display: block; width: 90%; height: 4px; background: #dbe3ee; border-radius: 4px; }
.ts-card span:last-child { width: 60%; opacity: 0.6; }

/* ---------- Process ---------- */
.process { background: linear-gradient(180deg, var(--light) 0%, #fff 100%); }
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 40px; }
.timeline-line {
  position: absolute; left: 19px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--royal), var(--gold) 70%, transparent);
}
.timeline-item { position: relative; padding-bottom: 54px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-num {
  position: absolute; left: -40px; top: 0; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 2px solid var(--royal); color: var(--royal);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 13px;
  box-shadow: 0 0 0 5px rgba(5,45,100,0.1);
}
.timeline-body { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 32px; max-width: 560px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.timeline-body:hover { transform: translateX(8px); box-shadow: var(--shadow-md); }
.timeline-label { font-family: var(--font-head); font-size: 11.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.timeline-body h3 { font-size: 22px; margin: 6px 0 8px; }
.timeline-body p { color: var(--muted); font-size: 15.5px; }

/* ---------- Why ---------- */
.why { background: var(--night); position: relative; overflow: hidden; }
.why::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
}
.why .section-head { position: relative; }
.why .section-title, .why .why-card h3 { color: #fff; }
.why .section-lead { color: rgba(255,255,255,0.6); }
.why .eyebrow { border-color: rgba(211,141,31,0.4); color: var(--gold-soft); background: rgba(211,141,31,0.08); }

.why-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg); padding: 34px 26px; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.why-card:hover { transform: translateY(-8px); border-color: rgba(211,141,31,0.45); background: rgba(255,255,255,0.07); }
.why-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  color: var(--gold); background: rgba(211,141,31,0.12); margin-bottom: 20px;
  transition: transform .4s var(--ease);
}
.why-card:hover .why-icon { transform: scale(1.1); }
.why-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.why-card p { color: rgba(255,255,255,0.62); font-size: 14.5px; }

/* ---------- CTA ---------- */
.cta { position: relative; background: var(--night); text-align: center; overflow: hidden; padding: 110px 0; }
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-inner { position: relative; max-width: 800px; }
.cta h2 { color: #fff; font-size: clamp(30px, 4.6vw, 48px); font-weight: 800; margin-bottom: 22px; }
.cta p { color: rgba(255,255,255,0.7); font-size: 18px; max-width: 640px; margin: 0 auto 40px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact { background: var(--light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-info .section-title { margin-bottom: 18px; }
.contact-info > p { color: var(--muted); font-size: 16.5px; margin-bottom: 40px; max-width: 430px; }

.contact-details { display: flex; flex-direction: column; gap: 24px; }
.cd-item { display: flex; align-items: center; gap: 16px; }
.cd-icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
  color: var(--royal); background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.cd-icon svg { width: 20px; height: 20px; }
.cd-item .cd-label { display: block; font-family: var(--font-head); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 2px; }
.cd-item p { font-weight: 600; font-size: 16px; color: var(--night); }

.contact-form {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 40px; box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--night); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--ink);
  padding: 13px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--light); outline: none; transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--royal); box-shadow: 0 0 0 4px rgba(5,45,100,0.1); background: #fff;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-success {
  display: none; margin-top: 16px; padding: 14px 18px; border-radius: var(--radius-sm);
  background: rgba(52,211,153,0.12); color: #0f7d5a; font-weight: 600; font-size: 14.5px;
  border: 1px solid rgba(52,211,153,0.35);
}
.form-success.show { display: block; animation: fadeUp .5s var(--ease); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 50px; }
.site-footer .brand-name { color: #fff; }
.footer-logo { gap: 14px; }
.footer-mark {
  width: 56px; height: 56px; border-radius: 16px; font-size: 22px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
}
.footer-name { font-size: 21px; }
.footer-tagline { margin: 20px 0 26px; font-size: 15px; max-width: 280px; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8); transition: all .3s var(--ease);
}
.socials a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: translateY(-4px); }

.footer-col h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14.5px; transition: color .3s var(--ease); }
.footer-col a:hover { color: var(--gold); }
.footer-col li { font-size: 14.5px; }
.footer-cta { color: var(--gold-soft) !important; font-weight: 600; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 26px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px;
}
.footer-legal { display: flex; gap: 22px; }
.footer-legal span { cursor: pointer; transition: color .3s var(--ease); }
.footer-legal span:hover { color: var(--gold); }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-btn {
  position: fixed; right: 26px; bottom: 26px; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; z-index: 90;
  display: grid; place-items: center; box-shadow: 0 6px 24px rgba(37, 211, 102, .45);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  animation: waPulse 2.4s infinite;
}
.whatsapp-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 30px rgba(37, 211, 102, .55);
}
@keyframes waPulse {
  0% { box-shadow: 0 6px 24px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .5); }
  70% { box-shadow: 0 6px 24px rgba(37, 211, 102, .45), 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 6px 24px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { min-height: 480px; max-width: 560px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 68px; --topbar-h: 80px; }
  .site-topbar {
    height: auto; margin: 0; padding: 10px 0;
    border-bottom: 1px solid rgba(211,141,31,0.38);
    background: linear-gradient(160deg, rgba(9,33,68,0.97) 0%, rgba(5,24,54,0.95) 100%);
    box-shadow: 0 10px 26px rgba(5, 30, 70, 0.3);
  }
  .topbar-inner { height: auto; flex-direction: column; gap: 6px; }
  .topbar-contacts { font-size: 11.5px; gap: 10px; flex-wrap: wrap; justify-content: center; }
  .topbar-socials { gap: 5px; }
  .topbar-socials a { width: 27px; height: 27px; }
  .section-pad { padding: 64px 0; }

  .brand-logo-img { height: 54px; }
  .footer-logo-img { height: 120px; }

  .hero { padding: calc(var(--header-h) + var(--topbar-h) + 40px) 0 60px; }
  .hero-title { font-size: clamp(30px, 8vw, 42px); }
  .hero-subtitle { font-size: 16px; margin-bottom: 28px; }
  .services-grid, .portfolio-grid, .why-grid, .team-grid { grid-template-columns: 1fr; }

  .main-nav { display: none; }

  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 30px; }

  .card-dashboard { width: 260px; left: 4%; }
  .card-phone { width: 110px; right: 2%; }
  .card-grow { left: 0; bottom: 30px; }
  .card-mark { right: 90px; bottom: 8px; }
  .orb-blue { right: 180px; }
  .orb-gold { left: 60px; }
  .mock-desktop { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .timeline { padding-left: 34px; }
  .timeline-num { left: -34px; width: 36px; height: 36px; }
  .expertise-stats { grid-template-columns: 1fr 1fr; }
  .partners .section-title { font-size: 30px; }
  .partners-track, .partners-group { gap: 44px; }
  .partners-track img { max-height: 42px; }
  .partners-marquee { -webkit-mask-image: none; mask-image: none; }
}

@media (max-width: 640px) {
  .expertise-content .section-title { font-size: 28px; }
  .timeline { padding-left: 28px; }
  .timeline-num { left: -28px; }
}

@media (max-width: 480px) {
  :root { --header-h: 60px; }
  .container { padding: 0 18px; }
  .section-pad { padding: 54px 0; }

  .brand-logo-img { height: 48px; }
  .section-lead { font-size: 15.5px; }

  .hero { padding: calc(var(--header-h) + var(--topbar-h) + 30px) 0 50px; }
  .hero-title { font-size: 29px; letter-spacing: -0.5px; }
  .hero-subtitle { font-size: 15.5px; }
  .hero-label { font-size: 10px; letter-spacing: 1.5px; padding: 7px 13px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; margin: 0; }
  .hero-stats { gap: 26px; }

  .hero-visual { min-height: 360px; margin-top: 10px; }
  .card-dashboard { width: 72%; padding: 14px; top: 30px; left: 2%; }
  .card-phone { width: 92px; right: 2%; top: 4px; padding: 10px; }
  .phone-ico { gap: 5px; }
  .iphone-circle { width: 24px; height: 24px; border-radius: 8px; }
  .card-grow { left: 0; bottom: 20px; padding: 10px 14px; }
  .card-mark { right: 70px; bottom: 2px; padding: 9px 14px; font-size: 12.5px; }
  .card-grow strong { font-size: 16px; }
  .orb-blue { width: 60px; height: 60px; right: 130px; top: 170px; }
  .orb-gold { width: 50px; height: 50px; left: 80px; bottom: 120px; }

  .why-grid { grid-template-columns: 1fr; }
  .expertise-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 18px 12px; }
  .stat-num { font-size: 26px; }

  .expertise-visual { min-height: 320px; }
  .mock-phone { width: 96px; padding: 10px; }
  .ring { width: 90px; height: 90px; }
  .ring::before { inset: 9px; }

  .contact-form { padding: 26px 18px; }
  .contact-info > p { font-size: 15.5px; }
  .cd-item { gap: 12px; }

  .timeline-body { padding: 22px 20px; }
  .timeline-line { left: 17px; }
  .timeline-num { left: -34px; width: 34px; height: 34px; font-size: 12px; }

  .footer-grid { row-gap: 30px; }
  .socials a { width: 38px; height: 38px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { gap: 14px; }

  .cta { padding: 70px 0; }
  .cta h2 { font-size: 28px; }
  .cta p { font-size: 16px; }

  .back-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
  .brand-tag { display: none; }
}

/* ---------- Mobile bottom navigation ---------- */
.mobile-bottom-nav { display: none; }

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    left: 50%;
    bottom: calc(16px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    width: 91%;
    max-width: 460px;
    height: 78px;
    padding: 8px 10px;
    z-index: 104;
    border-radius: 999px;
    background: linear-gradient(160deg, rgba(10, 35, 71, 0.96) 0%, rgba(5, 30, 70, 0.94) 100%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(5, 45, 100, 0.28);
    box-shadow: 0 18px 44px rgba(5, 30, 70, 0.5), 0 4px 14px rgba(5, 30, 70, 0.45);
  }

  .mbn-link {
    position: relative;
    display: grid;
    place-items: center;
    flex: 1;
    min-width: 0;
    height: 60px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.72);
    cursor: pointer;
    border-radius: 999px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: color .22s var(--ease), transform .18s var(--ease);
  }

  .mbn-link::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: var(--grad-blue);
    box-shadow: 0 6px 18px rgba(5, 45, 100, 0.4);
    opacity: 0;
    transform: scale(0.55);
    transition: opacity .24s var(--ease), transform .24s var(--ease);
  }

  .mbn-link.active { color: #fff; }
  .mbn-link.active::before { opacity: 1; transform: scale(1); }

  .mbn-link:active { transform: scale(0.95); }

  .mbn-link svg { position: relative; width: 23px; height: 23px; }

  .mbn-badge {
    position: absolute;
    right: -1px;
    bottom: 1px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ef4444;
    border: 2.5px solid #0A2C63;
  }

  /* Keep WhatsApp button clear of the floating nav */
  .whatsapp-btn {
    right: 18px;
    bottom: calc(116px + env(safe-area-inset-bottom));
    width: 54px;
    height: 54px;
  }

  /* Ensure footer content is never hidden behind the nav */
  .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}

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