/* =============================================
   NAV — Navbar principal e Mini-nav interna
   ============================================= */

/* ---- Navbar principal (Home) ---- */
nav.main-nav {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 56px;
  border-bottom: 1px solid rgba(120, 160, 190, 0.14);
  background: rgba(193, 224, 240, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #1c2430;
  letter-spacing: -0.3px;
  text-decoration: none;
  line-height: 1.05;
}

.logo span {
  color: #58b8cf;
}

.logo small {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 600;
  color: #7a94a3;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}

.nav-links a {
  color: #39424e;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #58b8cf;
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: #2f89a3;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links .nav-login {
  color: #41606d;
  border: 1px solid rgba(88, 184, 207, 0.35);
  padding: 8px 18px;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.28);
}

.nav-links .nav-login:hover {
  background: rgba(88, 184, 207, 0.08);
  border-color: rgba(88, 184, 207, 0.55);
  color: #2f89a3;
}

.nav-links .nav-login::after {
  display: none;
}

.btn-nav-cta {
  background: linear-gradient(180deg, #2d78dc 0%, #1e63c3 100%);
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  letter-spacing: 0;
  transition: all 0.25s ease;
  box-shadow: 0 6px 16px rgba(33, 96, 190, 0.22);
  text-decoration: none;
}

.btn-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(33, 96, 190, 0.28);
}

/* ---- Mini-nav (páginas internas) ---- */
nav.mini-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 56px;
  background: rgba(60, 140, 231, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(61, 164, 243, 0.14);
}

.logo-sm {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: #e3e7ec;
  text-decoration: none;
}

.logo-sm span {
  color: #58b8cf;
}

.steps {
  display: flex;
  align-items: center;
  gap: 7px;
}

.step {
  height: 7px;
  background: rgba(60, 85, 105, 0.16);
  border-radius: 4px;
  transition: all 0.35s;
  width: 7px;
}

.step.done {
  background: #58b8cf;
}

.step.active {
  background: #2d78dc;
  width: 22px;
}

.btn-back {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.btn-back:hover {
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* ---- Responsivo ---- */
@media (max-width: 768px) {
  nav.main-nav {
    padding: 16px 24px;
  }

  nav.mini-nav {
    padding: 14px 24px;
  }

  .nav-links {
    display: none;
  }

  .logo {
    font-size: 19px;
  }

  .btn-nav-cta {
    font-size: 14px;
    padding: 10px 18px;
  }
}