/* RIZON - shared styles for header, navbar, footer and global elements */
:root {
  --navy: #101b30;
  --navy2: #172844;
  --orange: #f58220;
  --ink: #182235;
  --muted: #667085;
  --line: #e8edf3;
  --soft: #f5f7fa;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
}
h1, h2, h3, h4, .navbar-brand {
  font-family: 'Manrope', sans-serif;
  letter-spacing: -.035em;
}
a { text-decoration: none; }

.btn-rizon {
  background: var(--orange);
  color: #fff;
  border: 1px solid var(--orange);
  border-radius: 8px;
  padding: 13px 22px;
  font-weight: 700;
  transition: .2s;
}
.btn-rizon:hover {
  background: #df6e12;
  border-color: #df6e12;
  color: #fff;
  transform: translateY(-2px);
}

/* Shared logo */
.brand-logo {
  width: 28px;
  height: 28px;
  max-width: 28px;
  max-height: 28px;
  object-fit: contain;
  display: block;
  flex: 0 0 28px;
}
.brand-dot { color: var(--orange); }

/* Shared navigation */
.site-header { position: relative; z-index: 1000; }
.navbar {
  padding: 17px 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 3px 22px rgba(16,27,48,.05);
}
.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.65rem;
  color: var(--navy) !important;
  letter-spacing: -.07em;
}
.nav-link {
  font-weight: 600;
  color: #344054 !important;
  margin: 0 8px;
  font-size: .94rem;
}
.nav-link:hover, .nav-link.active { color: var(--orange) !important; }
.navbar-toggler { border: 0; box-shadow: none !important; }
.navbar-toggler:focus { box-shadow: none !important; }

/* Shared footer */
.site-footer {
  background: #0b1424;
  color: #aeb9c9;
  padding: 70px 0 24px;
}
.site-footer .footer-brand {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  color: #fff;
  letter-spacing: -.06em;
}
.site-footer h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  color: #fff;
  font-weight: 800;
  margin-bottom: 18px;
}
.site-footer a {
  display: block;
  color: #aeb9c9;
  margin: 10px 0;
  font-size: .9rem;
}
.site-footer a:hover { color: #ff9b45; }
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 45px;
  padding-top: 20px;
  font-size: .82rem;
}
.site-footer .footer-bottom a { display: inline; }
.site-footer .social-link {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  margin-right: 7px;
}

/* Shared back-to-top control */
.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 7px 20px #101b3030;
  opacity: 0;
  pointer-events: none;
  transition: .2s;
  z-index: 1100;
}
.back-top.show { opacity: 1; pointer-events: auto; }

@media (max-width: 991px) {
  .nav-link { padding: 10px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
