/* === SANTURG Sub-page Nav & Footer v2 ===
   navy #0D1B2A + gold #C9A84C only.
   nav.snav uses class specificity to override legacy nav{} inline rules.
*/

/* ---- Nav ---- */
nav.snav {
  position: sticky !important;
  top: 0;
  left: auto;
  right: auto;
  z-index: 200;
  display: block !important;
  padding: 0 !important;
  background: #0D1B2A;
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
  backdrop-filter: none !important;
  transition: box-shadow 0.25s ease, background 0.25s ease;
  width: 100%;
}

nav.snav.snav--scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  background: rgba(13, 27, 42, 0.96) !important;
  backdrop-filter: blur(8px) !important;
}

.snav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.snav-logo {
  display: flex !important;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.snav-logo img {
  display: block;
  width: 32px;
  height: 17px;
  flex-shrink: 0;
}

.snav-wordmark {
  font-family: 'Inter', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #C9A84C;
  text-decoration: none;
}

.snav-links {
  display: flex;
  gap: 28px;
}

.snav-links a {
  font-family: 'Inter', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.15s ease;
  letter-spacing: 0.02em;
  padding: 0;
  border-radius: 0;
  background: none;
}

.snav-links a:hover {
  color: #ffffff;
  background: none;
}

.snav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

a.snav-signin {
  font-family: 'Inter', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.15s ease;
  padding: 0;
  border: none;
  background: none;
  border-radius: 0;
  letter-spacing: normal;
}

a.snav-signin:hover {
  color: #ffffff;
  background: none;
  border: none;
}

a.snav-cta {
  display: inline-flex !important;
  align-items: center;
  padding: 9px 18px !important;
  background: #C9A84C !important;
  color: #0D1B2A !important;
  font-family: 'Inter', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.15s ease, transform 0.15s ease;
  border: none;
}

a.snav-cta:hover {
  background: #d4b055 !important;
  transform: translateY(-1px);
  color: #0D1B2A !important;
}

.snav-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

@media (max-width: 768px) {
  .snav-links,
  a.snav-signin {
    display: none !important;
  }
  .snav-toggle {
    display: block;
  }
  nav.snav.snav--open .snav-links {
    display: flex !important;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #0D1B2A;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 24px 16px;
    z-index: 199;
  }
  nav.snav.snav--open .snav-links a {
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: none !important;
  }
  .snav-inner {
    padding: 0 20px;
  }
}

/* ---- Footer ---- */
footer.sfooter {
  background: #0D1B2A !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 48px 0 28px !important;
  display: block !important;
  position: relative !important;
  justify-content: unset !important;
  align-items: unset !important;
  flex-wrap: unset !important;
  flex-direction: unset !important;
  gap: unset !important;
}

.sfooter-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.sfooter-top {
  margin-bottom: 28px;
}

a.sfooter-logo {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 10px;
}

a.sfooter-logo img {
  display: block;
  width: 24px;
  height: 13px;
}

a.sfooter-logo span {
  font-family: 'Inter', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #C9A84C;
}

.sfooter-tagline {
  font-family: 'Inter', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.5;
}

.sfooter-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 28px;
}

.sfooter-links a {
  font-family: 'Inter', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.15s ease;
}

.sfooter-links a:hover {
  color: #ffffff;
}

.sfooter-copy {
  font-family: 'Inter', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {
  .sfooter-inner {
    padding: 0 20px;
  }
  .sfooter-links {
    gap: 8px 16px;
  }
}

/* ---- Language switcher ---- */
.snav-lang {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  letter-spacing: 0.05em;
}

.snav-lang a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.15s ease;
  padding: 0;
  border: none;
  background: none;
  font-size: 11px;
}

.snav-lang a:hover {
  color: rgba(255, 255, 255, 0.8);
  background: none;
}

.snav-lang-active {
  color: #C9A84C;
  font-weight: 600;
}

.snav-lang-sep {
  color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .snav-lang {
    display: none;
  }
}

/* ---- Hero padding fix ----
   Old nav was position:fixed and overlapped page content — hero sections needed
   ~140px top padding to clear it. Sticky nav is in document flow, so that
   extra padding now creates dead space. Reduce to a reasonable breathing room.
*/
.feat-hero,
.vs-hero {
  padding-top: 72px !important;
}

/* Generic .hero on mobile was padded to 100px for the same reason */
@media (max-width: 768px) {
  .hero {
    padding-top: 40px !important;
  }
}

/* ---- Secondary button: replace teal with gold-border ----
   Old pages defined .btn-secondary with teal (rgba(42,140,122,...)).
   Brand is navy + gold only.
*/
.btn-secondary {
  border-color: rgba(201, 168, 76, 0.4) !important;
  color: rgba(201, 168, 76, 0.85) !important;
}
.btn-secondary:hover {
  background: rgba(201, 168, 76, 0.08) !important;
  border-color: #C9A84C !important;
  color: #C9A84C !important;
}

/* ---- nav-demo button (teal CTA on old pages) ---- */
.nav-demo {
  display: none !important;
}
