/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #06132A; }
::-webkit-scrollbar-thumb { background: #0F2750; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #143262; }

/* ── Selection ── */
::selection { background: rgba(16, 185, 129, 0.3); color: #F0FDF7; }

/* ── Focus ── */
:focus-visible { outline: 2px solid #34D399; outline-offset: 2px; border-radius: 4px; }

/* ── Nav Scrolled ── */
#site-header.scrolled {
  background: rgba(6, 19, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ── Gold accent line ── */
.gold-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, #FBBF24, transparent);
}

/* ── Card hover glow ── */
.service-card:hover {
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.08), 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ── Input autofill ── */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px #0A1D3C inset !important;
  -webkit-text-fill-color: #F0FDF7 !important;
}

/* ── Mobile menu animation ── */
#mobile-menu {
  animation: slideDown 0.3s ease forwards;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Button shimmer ── */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}
.btn-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s ease;
}
.btn-shimmer:hover::after {
  left: 100%;
}

/* ── Image lazy load placeholder ── */
img {
  background: linear-gradient(135deg, #0A1D3C 0%, #06132A 100%);
}
